Symptom
- When using a button with API code "ExportToCSV_1.exportReport();" and set "All" as the scope (instead of "Point of View")
If we use the button to export to Excel with "ALL" scope, an error raises :
"Exporting tables to CSV or XLSX with "All" as scope isn't supported in optimized view mode" - The error happens in a story with Optimized Design Experience option ("Story 2.0"), and not in classic story.
- No error occurs when selecting "Point of View" in scope
Environment
- SAP Analytics Cloud (Enterprise) 2023.x
Resolution
As the online help states: https://help.sap.com/docs/SAP_ANALYTICS_CLOUD/00f68c2e08b941f081002fd3691d86a7/2d00f5ff0c9245a99a9df96cb83236a9.html?locale=en-US
under the "Partially Supported Features" section: Exporting widgets to CSV or tables to XLSX only supports Point of View as scope, while All isn't supported.
This is also included the use of API when exporting to EXCEL tables in Story 2.0.
In a nutshell, exporting tables to CSV or XLSX with "All" as scope using API is currently not supported in optimized design mode. But we are working on both of these features for the future soon.
See Also
- 2569847 - Where can you find SAC user assistance (help) to use, configure, and operate it more effectively?
- Have a question? Ask it here and let our amazing SAP community help! Or reply and share your knowledge!
- 2487011 - What information do I need to provide when opening a case for SAP Analytics Cloud?
- 2511489 - Troubleshooting performance issues in SAP Analytics Cloud
- Search for SAP Analytics Cloud content using SAP for Me, Google or Bing:
- https://me.sap.com/servicessupport/search#?q=SAP%20Analytics%20Cloud%20OR%20SAC&tab=All
- https://www.google.com/search?q=site%3Ahttps%3A%2F%2Fuserapps.support.sap.com+SAP+Analytics+Cloud
- https://www.bing.com/search?q=site%3Ahttps%3A%2F%2Fuserapps.support.sap.com+SAP+Analytics+Cloud
- Note: Add relevant text or warning/error messages to the text search field to filter results.
- SAP Analytics Cloud Connection Guide
- Getting Started with SAP Analytics Cloud Expert Community page
- SAP Analytics Cloud Get More Help and SAP Support
- Need More Help? Contact Support or visit the solution finder today!
Your feedback is important to help us improve our knowledge base.
Keywords
Export Excel, CSV, XLSX, exportReport(), ExportToCSV, Point of View, All scope, optimized design mode, ODE, Optimized Design Experience , KBA , LOD-ANA-AD , Analytics Designer , LOD-ANA-TAB , Table , Problem