Symptom
The setDimensionFilter function is used to set filter values for a measure-based dimension within a table.
During execution, filter values are passed correctly to the table. However, the script execution breaks with a error; Script execution failed for event "xxxxxx".
In the Console log, the following error is recorded:
- Script execution failed for event "xxxxxx"
[FailedAction - Action: FETCH_MEMBERS@[{"app":"MAIN_APPLICATION"},{"story":"storyID"},{"table":"yyy"}] - Error: Store.UnhandledError/Unhandled failure during logical store adapter dispatch.]
code: Store.UnhandledError
action: {type: 'FETCH_MEMBERS', storeEntityType: 'table', instanceId: e, dimensionId: {…}, hierarchyId: {…}, …}
devMessage: Unhandled failure during logical store adapter dispatch.
sourceFailure: undefined
otherInfo: {"code":"UNCATEGORIZED_SERVER_ERROR","message":"ReadMode settings are inconsistent : Dimension 'zzz' is requested with read mode 'BookedAndSpaceAndState' but at least one previous dimension on axis 'Rows' is requested with read mode 'Master'. Dimension 'zzz' will also be returned with read mode 'Master'.","details":null}
translatedMessage: undefined
actionId: -1
Error: [FailedAction - Action: FETCH_MEMBERS@[{"app":"MAIN_APPLICATION"},{"story":"storyID"},{"table":"yyy"}] - Error: Store.UnhandledError/Unhandled failure during logical store adapter dispatch.]
at new t (122.main.c29b15bfc78dfed1a7e9.js:31:389434)
at t.failedEx (122.main.c29b15bfc78dfed1a7e9.js:1:293096)
at 122.main.c29b15bfc78dfed1a7e9.js:31:400453
at app.main.d85d50b1c2a56c9fffac.js:101:107199
at Object.throw (app.main.d85d50b1c2a56c9fffac.js:101:107304)
at n (app.main.d85d50b1c2a56c9fffac.js:101:106081)
Environment
SAP Analytics Cloud (Enterprise)
Cause
The issue happens when the setDimensionFilter API tries to fetch the member description.
Resolution
Please add member description for each filter member. It can improve the performance and reduce the addition request to request the filter member description. For example, setDimensionFilter("Department", {id: memberId, description: memberDescription});
More detail can be found on SAC Online Help Use MemberInfo Object in setDimensionFilter() API.
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, Sac, Acquisition, Model, Connect, Story, Tenant, Import, Failed, Using, Working, 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.sap, https://hanacloudservices.cloud.sap, https://cloudanalytics.accounts.ondemand.com, https://hanacloudservices-us.accounts.ondemand.com, https://www.sap.com, https://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, dashboard, Unhandled failure during logical store adapter dispatch, Store.UnhandledError, FETCH_MEMBERS, Store.UnhandledError/Unhandled failure during logical store adapter dispatch , KBA , LOD-ANA-AD-INF , Analytics Designer Infrastructure , Problem