SAP Knowledge Base Article - Public

2973779 - TypeError: Cannot read property 'asStructure' of null in SAP Analytics Cloud (SAC) when opening a story - 2020.19.2

Symptom

Stories and analytic applications do not open in SAC neither in view mode nor in edit mode.
Error message: Uncaught (in promise) TypeError: Cannot read property 'asStructure' of null
TypeError: Cannot read property 'get' of undefined

Environment

  • SAP Analytics Cloud (Enterprise) 2020.19.2

Reproducing the Issue

Open a story

Cause

  • Issue occurs due to an error in the account (measure) dimension
  • If a user enters a hard return in the formula column for a measure the system attempts to validate the formula on story opening and fails due to null value

Resolution

This issue is fixed in version 2020.20.5

To resolve this problem for any existing model prior the the fix version the problem measure needs to be identified and the hard return removed from the formula column.

One way to do this is to copy all members to Excel. the measures with the hard returns will show as double height compared to the other members and can be easily identified.

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 , KBA , LOD-ANA-DES , Model, Story Design & Visualizations , Bug Filed

Product

SAP Analytics Cloud 1.0