Symptom
The function `Table_1.getPlanning().getDataLocking().setState(sel, DataLockingState.Open)` in SAP Analytics Cloud Planning is not working as expected and it displays below error message:
"the object type ('sap.ui.unified.Menu') via its string name is deprecated, since it leads to accesses to the global namespace.
The object type either stems from an explicitly given 'Type' value or was inferred from the default aggregation type.
Please require the respective object type module beforehand. For control development, please also refer to the runtime metadata property 'defaultClass', which allows you to specify a default aggregation class type via constructor reference. "
Environment
SAP ANALYTICS CLOUD
Cause
This is a product limitation
Resolution
The problem is caused by calling `TABLE.getDataLocking().setState(SELECTED_CELL)` before making a `TABLE.getDataLocking().getState(SELECTED_CELL)` call.
To ensure proper initialization of the underlying components and their dependencies, you must first make at least one call to `getState` before calling `setState`
Please note that we are aware that this is a limitation of our application and addressing it would require a feature enhancement. This feature enhancement is currently in our backlog, and we plan to work on it - however, we cannot provide a timeline for it at this moment. Please follow this Knowledge Base Article to create/upvote an enhancement request: https://launchpad.support.sap.com/#/notes/2424376 - this would greatly help us to better prioritize our work.
See Also
- https://launchpad.support.sap.com/#/notes/2424376
- 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 an incident for SAP Analytics Cloud?
- 2511489 - Troubleshooting performance issues in SAP Analytics Cloud
- Search for SAP Analytics Cloud content using Google or Bing:
- https://www.google.ca/search?q=site%3Ahttps%3A%2F%2Fapps.support.sap.com+SAP+Analytics+Cloud
- https://www.bing.com/search?q=site%3Ahttps%3A%2F%2Fapps.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!
Keywords