Skip to Content
Author's profile photo Pooja Bhalla

Create SAP Analytics Cloud Story URL for Mash-up in C4C

An SAP Analytics Cloud (SAC) story URL is comprised of the following parts:

  • https://<a>/sap/fpa/ui/tenants/<b>/bo/story/<c>?<d>

Each of the component is described below :

  • a – SAC tenant URL
  • b – Tenant name in lower case
  • c – Unique story ID
  • d – Story parameters

Let us see how we can get details for each component of this URL.

a, b – SAC tenant URL and Name

When you launch SAC, the information of the tenant can be found as highlighted in the screenshot below:

c – Story ID:

Follow the steps showed below to get the Story ID:


c –  Story parameters

The story parameters are divided into UI URL Parameters and Filter parameters. UI Parameters define how the report will be shown in mash-up while the Filter Parameters filters the report.

UI URL Parameters

Parameters can be appended after the ? sign in the URL. The parameters will come after the Story ID in the URL.


Parameter Value Description



Indicates what mode the story will open in.


edit sets the story into edit mode. In edit mode, you can see the mainbar, toolbar, and the pagebar.

·      The user can switch to present mode via the UI by clicking the present button.

·      If the user doesn’t have edit rights then they will have a read-only view.

·      If the user does not provide a <story_id> then the mode must be edit.  If a story id is not passed in the url, this can be used for creating a new story.


Syntax: https://<public url>/sap/fpa/ui/tenants/<tenant name>/bo/story/<story_id>?mode= edit


Example display


present sets the story into presentation mode. In present mode, you can see the pagebar, but the mainbar is removed and the toolbar is hidden. The toolbar will show if you hover the mouse over the top of the pagebar.

The user can switch to edit mode via the UI by clicking the present button.



https://<public url>/sap/fpa/ui/tenants/<tenant name>/bo/story/<story_id>?mode= present


Example display


embed sets the story into embed mode. In embed mode, you can see the pagebar with a filter button, but the mainbar and toolbar are removed.

If the pageBar is set to ‘disable’, then the pagebar will not show.

Syntax: https://<public url>/sap/fpa/ui/tenants/<tenant name>/bo/story/<story_id>?mode= embed


Example display



Show or disable the pagebar in embed mode only. Will be ignored in other modes.



show makes the pagebar visible. There should be a filter button on the right side of the pagebar.


https://<public url>/sap/fpa/ui/tenants/<tenant name>/bo/story/<story_id>?mode= embed&pageBar=show


Example display


disable makes the entire page bar go away – also prevents the user from opening the filter bar (since the buttons no longer appear).

If there are filters pre-defined then the filter bar will be shown.


https://<public url>/sap/fpa/ui/tenants/<tenant name>/bo/story/<story_id>?mode= embed&pageBar=disable


Example display



Launches the story with the given page open. Page referenced by index (1,2,3,…) or by UUID.

Default value=1


<page index>

using page_index for a reference: (page=n) directs to the nth visible page.

If there are 4 pages in total and the first page is hidden, page=2 will direct to the third page

note that page_index when entered in the URL will be automatically converted to id in the URL fragment.



https://<public url>/sap/fpa/ui/tenants/<tenant name>/bo/story/<story_id>?page= <page_index>


Example display with page=2

<page_uu id>

using page_id for a reference

every page has its own unique id, so having the page_uuid will direct to that specific page with the uuid.

To Access the page unique id, first use the relative page url pointing to the page whose uuid you need. In the url that gets generated, you will be able to retrieve the page uuid as shown in image below.



https://<public url>/sap/fpa/ui/tenants/<tenant name>/bo/story/<story_id>?page= <page_uuid>




Filter Parameters

If your SAC story has filters then you can pass these filters though the URL. This is very useful when you are adding a SAC story as a mash-up in C4C. You can pass C4C fields as value for these parameters. e.g You can add mashup in Account TI and pass Account ID as a filter to the story.

The following behavior occurs:

  • If filters already exist for the specified story the filters specified in the URL will replace the filters of the same dimension.
  • Any additional filters for dimensions not already present will be added to the story level filters.
  • Any existing filters that are not replaced using the URL will continue to be applied in addition to the URL specified updates and additions.

To pass filters, you need to provide the Model ID, Dimension ID, Dimension value and Operator i.e. include, exclude etc.

The table below explains how to get these details from your story.

Parameter Value Description
fxxModel <model_id>

Identifies the model to filter. This is the technical name of the model. In a story, you can find the model used in a chart as shown in the image below by selecting a chart and seeing it’s context in the Designer Builder Tab.

The syntax for building the parameter is fxxModel=modelname:modelname  where xx is a number between 0 and 01 and 99. If there are several model passed for filtering then assign a unique value of xx to each model.

Example, if we use the model shown in the screenshot as the only model for filters, the construction would be

f01Model=zSAP_C4C_LeadsByStatus: zSAP_C4C_LeadsByStatus


fXXDim <dimension_id>

Identifies the dimension on which to apply the filter. This is the technical name of the dimension.

Technical  name of a dimension can be found as shown in the image below:


Note that a dimension can only be filtered once. If a dimension is repeated, the dimension with the highest index (fxx) will be applied.

Syntax fxxDim=<dimension_id>


Example, if we use the dimension shown in the screenshot

f01Model=zSAP_C4C_LeadsByStatus: zSAP_C4C_LeadsByStatus&f01Dim=SourceID

fXXVal <values_to_filter_for>

These are the filter values for a dimension. They are ids of the dimension members you want to filter on. The IDs can be found as shown in the image below. These IDs should be same as the ID from C4C.

Syntax fxxVal=<member id>

If you want to pass more than 1 value then syntax is

fxVal=[“<member_id1>”, “<member_id2>”]


Example based on screenshot

Eg for single value

f01Model=zSAP_C4C_LeadsByStatus: zSAP_C4C_LeadsByStatus&f01Dim=SourceID&f01Val=02

Eg for multiple values

f01Model=zSAP_C4C_LeadsByStatus: zSAP_C4C_LeadsByStatus&f01Dim=SourceID&f01Val=[“02”,”03”]



Indicates which operator to use to filter with.


Use in if you want to include the filter values in the selection

Syntax  fxxOp=in


f01Model=zSAP_C4C_LeadsByStatus: zSAP_C4C_LeadsByStatus&f01Dim=SourceID&f01Val=[“02”,”03”]&f01Op=in


Use in if you want to exclude the filter values in the selection

Syntax  fxxOp=notIn


f01Model=zSAP_C4C_LeadsByStatus: zSAP_C4C_LeadsByStatus&f01Dim=SourceID&f01Val=[“02”,”03”]&f01Op=notIn


Once you have the URL ready, you can create a Mashup in C4C to view the SAC report within C4C. The details for that can be found at the blog below:

See Also:

Assigned Tags

      You must be Logged on to comment or reply to a post.
      Author's profile photo Former Member
      Former Member

      Hi Pooja,

      great article, thank you ?

      Embedding does not seam to work due to the x-frame-options, but even if i try to add this URL to a Mashup and wrap the URL via HTML, there is an Authorization missing.

      see also this article:

      Can you please provide some info about the configuration?


      Author's profile photo Pooja Bhalla
      Pooja Bhalla
      Blog Post Author


      This should be a HTML mash up. For authorization SSO should work. Else you will have to open an SAC session in the other window.



      Author's profile photo Former Member
      Former Member


      i saw your second article.

      Thank you 🙂

      Author's profile photo Radoslaw Stefaniak
      Radoslaw Stefaniak

      Hi Pooja,

      regarding embedding stroy in C4C and SSO there is a problem here as using SAP Cloud ID for both C4C and SAC will not help.

      as per this KB 2597946 - How to enable Iframe embedding of SAP Analytics Cloud?

      this should be customer ID provider (next identity provider for SAC only).

      Can you comment? Is there no way to use SAP Cloud ID only that will make landscape clear?




      Author's profile photo Maxban Coutinho
      Maxban Coutinho

      Hello Pooja,

      Below is the link from your post above.

      https://<public url>/sap/fpa/ui/tenants/<tenant name>/bo/story/<story_id>?mode= present


      We have to pass Parameter in URL and below  is the design link based on your guide lines



      Do we place it as mentioned in below link

      https://<public url>/sap/fpa/ui/tenants/<tenant name>/bo/story/<story_id>?f01model=QMNT001_Q0001:QMNT001_Q0001&F01DIM=0PLANT&F01VAL=XXXX


      Is this correct or do I need to do something else.

      Please help here.


      Thank you in advance.

      Maxban Coutinho