SAP Knowledge Base Article - Public

3614740 - API URL filter and value parameter is not working for Lite Viewer story mode in SAP Analytics Cloud (SAC)

Symptom

 

  • API URL filter and value parameter is not working for Lite Viewer story mode in SAP Analytics Cloud (SAC).
  • The passed value is shown as inactive value in the filter and no data is shown in the chart/table, although the selected filter member is initially a booked value.
  • Selected parameter format e.g.:
    • f<XX>Dim=/ABC/XYZ
    • f<XX>Val=1234567
  • The same is working in Full Viewer or Edit story mode.
  • The same parameter settings are working in another story for the customer.

Environment

  • SAP Analytics Cloud 2025.8.6 
  • SAP BW/4HANA 2021
 

Reproducing the Issue

  1. Login to SAC.
  2. Open story with URL parameter e.g.: https://<TENANT>/sap/fpa/ui/tenants/<TENANT_ID>/app.html#/story&/s/<STORY_ID>?url_api=true&f<XX>Model=<MODEL_ID>&f01Dim=/ABC/XYZ&f01Val=1234567&f01Op=in
  3. Notice, that the story filter will show the value ID, and not the description.
  4. While opening the filter "No values" will be selected.
  5. Open the filter and select Show inactive values => the selected value will be shown as inactive.
  6. Now switch to Edit mode and check the same filter again => data load will work and selected value will be active.

 

Cause

  • The filter dimension value is encoded.
  • The dimension IDs are containing special characters.

Resolution

  • Do not encode the dimension ID i.e. value passed to f01Dim
  • Workaround:
    • Append the useExternalId parameter. The URL should be appended with the "useExternalId=true" parameter, see for more the KBA: 0003520897 - URL API Filters having external id as value are not working in SAP Analytics Cloud (SAC) Lite Viewer
      • E.g: <Tenanturl>/sap/fpa/ui/tenants/<tenantID>/app.html#/story2&/s2/<StoryID>/?mode=view&f01Model=<ModelID>&f01Dim=0BC_CUST&f01Val=%5B%221%22%5D&useExternalId=true
    • Resolving the issue without passing useExternalId parameter by passing the internal value i.e f01Val=00000000000001234567. Please refer the SAP URL Filter parameter Note section of the URL-API documentation where this is mentioned.

See Also

Your feedback is important to help us improve our knowledge base.

Keywords

SAP Cloud for Planning, sc4p, c4p, cforp, cloudforplanning, Cloud for Analytics, Cloud4Analytics, CloudforAnalytics, Cloud 4 Planning, BOC, SAPBusinessObjectsCloud, BusinessObjectsCloud, BOBJcloud, BOCloud., SAC, SAP AC, Cloud-Analytics, CloudAnalytics, SAPCloudAnalytics,Error, Issue, System, Data, User, Unable, Access, Connection, Sac, Connector, Live, Acquisition, Up, Set, setup, Model, BW, Connect, Story, Tenant, Import, Failed, Using, Working, SAML, SSO, sapanalyticscloud, sap analytical cloud, sap analytical cloud, SAC, sap analyst cloud, connected, failure, stopped, sap analyst cloud, https://hcs.cloud.saphttps://hanacloudservices.cloud.saphttps://cloudanalytics.accounts.ondemand.comhttps://hanacloudservices-us.accounts.ondemand.comhttps://www.sap.comhttps://help.sap.com, predictive analytics (analysis), data analysis (analytics) tools, analytics tools, sap analytics cloud, data literacy, advanced analytics, data democratization, analytics software, real time analytics, self service analytics, advanced data analytics, analytics as a service, analytics cloud / cloud analytics, saas analytics, cloud bi, enterprise planning, cloud data analytics, cloud based analytics, analytics cloud platform, modern analytics, real time analysis, cloud analytics solution(s), what is sap analytics cloud, cloud analytics tools, analytics in the cloud, cloud analytics software epm, business intelligence , KBA , LOD-ANA-DES-URLAPI , SAP Analytics Cloud Story related URL parameters API , Problem

Product

SAP Analytics Cloud 1.0