SAP Knowledge Base Article - Public

3757008 - Error ""Your story includes scripts. Re-saving it may enable the Lite Viewer and improve loading performance."

Symptom

Popup message appears in stories: "Your story includes scripts. Re-saving it may enable the Lite Viewer and improve loading performance."

Environment

  • Product: SAP Analytics Cloud
  • Unified Story Scripting related Issues

Reproducing the Issue

  1. Open a unified story that contains scripting in view mode.
  2. Observe the pop-up message: "Your story includes scripts. Re-saving it may enable the Lite Viewer and improve loading performance."

Cause

This is caused by a technical limitation for Stories created before 2025.13.

  When you open a story in view mode, the system checks whether the story is compatible with Lite Viewer. For stories that contain scripts, this check relies on a record of which script APIs the story uses. Stories
  created before version 2025.13 do not have this record, so the system cannot confirm compatibility. As a result, the story falls back to the full viewer and displays the pop-up message to notify you.

Resolution

  1. Open the affected story in Edit mode.
  2. Save the story to generate the scripting API usage metadata (“usedAPI”).
  3. Open the story again in View mode and verify the message no longer appears.
  4. Repeat steps 1–3 for other affected stories. This is a one-time action per story to complete the metadata migration for Lite Viewer compatibility.

This behavior is also documented in our official help documentation https://help.sap.com/docs/SAP_ANALYTICS_CLOUD/00f68c2e08b941f081002fd3691d86a7/192bc3aba1d447c28e7e722877b5f646.html?q=Used+API+for+the+story+is+not+yet+generated&locale=en-US&version=LATEST&state=PRODUCTION.  

See Also

Keywords

lite viewer, lwv, story includes scripts, re-saving, message strip, pop-up, unified story, scripting, usedAPI, view mode, full viewer, performance, banner, story scripting, metadata generation , KBA , LOD-ANA-UNS-SCR , Unified Story Scripting related Issues , Problem

Product

SAP Analytics Cloud all versions