Symptom
- You install a "Intelligent Content and Data Packages" from BDC Cockpit, such as "Employee Availability Insights".
- You try to open a SAC Story of the installed Content from BDC.
- The Story opens and the error "Script execution failed for event "Page_X.onInitialization". Correlation ID: XXXXXXX" is displayed.
Environment
SAP Analytics Cloud 1.0;
Reproducing the Issue
- Try to open a SAC Story from BDC ->"Intelligent Content and Data Packages".
- The Story is opened from SAC.
- The error displays "Script execution failed for event 'Page_X.onInitialization'. Correlation ID: XXXXXXX".
Cause
- The SAC Story contains some scripts which refer to hierarchies of some dimensions in DataSphere model.
- The DataSphere user associated is not added to the corresponding Space in DataSphere so it failed to access the DataSphere model. For example, for "Employee Availability Insights" package, the user should be added to the Datasphere Space "HCM Employee Availability Report (BDC)".
Resolution
Grant the affected user appropriate authorizations in Datasphere by adding the user to the Space and ensure relevant model/space access.
Keywords
KBA , LOD-ANA-UNS-SCR , Unified Story Scripting related Issues , BDC-CPT , BDC Cockpit , DS-SM , Space Management , Problem
Product
SAP Analytics Cloud all versions
SAP Knowledge Base Article - Public