Symptom
- When opening a planning story, it would occasionally freeze when the second variable prompt appears for a BW-Live model.
- The issue occurs during the execution of the Page.onInitialization() script.
- No error message is displayed in SAC, but browser console errors are logged.
- Closing and reopening the story temporarily resolves the issue.
- The issue does not occur strangely when the Developer tools are opened or during screen sharing sessions (via Teams).
Environment
- SAP Analytics Cloud 2025.14.24
Cause
There would be some timing problem during issue happens.
Resolution
Here are some workarounds :
- Turn off "Viewport loading" to use "None" for "Loading Optimization Settings" if possible
- If you need to use openPromptDialog() script API to prompt variable second time, then try either
- Always use openPromptDialog() script API to prompt both
- Or check "Automatically open prompt when story opens" option in prompt settings to let UI prompt both (or follow the way to prompt your first model by not using API)
- If you are using Pause Refresh feature, try to set tables to "Always Refresh"
Application.setRefreshPaused([Table_1.getDataSource(), Table_2.getDataSource()],false); - Try also to change to call widget level API instead of Application.setRefreshPaused :
Table_1.getDataSource().setRefreshPaused(false)
Table_2.getDataSource().setRefreshPaused(false) -
See Also
- KBA 2569847 - Where can you find SAC user assistance (help) to use, configure, and operate it more effectively?
- KBA 2487011 - What information do I need to provide when opening a case for SAP Analytics Cloud?
- KBA 2511489 - Troubleshooting performance issues in SAP Analytics Cloud
- SAP Analytics Cloud Connection Guide
- SAP Analytics Cloud Get More Help and SAP Support
- Need More Help? Contact Support
Your feedback is important to help us improve our knowledge base.
Keywords
KBA , LOD-ANA-UNS-SCR , Unified Story Scripting related Issues , Problem
Product
SAP Analytics Cloud all versions
SAP Knowledge Base Article - Public