Symptom
- When an user is alone to create a request in the application, it is completed successfully.
- But when there are at least up to 3 users who are trying to send to create the same request in parallel from Application, some requests could be completed, but for some others, the window is freezing and the application is never back alive.
- No error raised in Console.
Environment
SAP Analytics Cloud (Enterprise) 2023.21.16
Cause
The Custom script Catalogue.getAutoDemandeId() caused an exception : when numplus >= 1000, it will return undefined, which cause exception.
Resolution
To fix the script issue, the following line had been added to the end of the source script:
//
{ // return "Demande-" + Dropdown_2.getSelectedKey() + //PlanningModel_1.getMembers("Demande").length.toString(); //}
ListePMDemandeMember = PlanningModel_DemandeBudgetaire.getMembers("NUM_DEMANDE",{limit:10000});
var max = 0;
for(var i =0; i< ListePMDemandeMember.length; i++){
if(ListePMDemandeMember[i].id.substr(1,4) === AnneeBudget)
{ max = Math.max(ConvertUtils.stringToInteger(ListePMDemandeMember[i].id.substring(6)),max); }
}
var numplus1 = max +1;
if( numplus1 < 10){
{ return "B" + AnneeBudget + "-00" + numplus1.toString();; }
}
if( numplus1 < 100){
{ return "B" + AnneeBudget + "-0" + numplus1.toString();; }
}
if( numplus1 < 1000){
{ return "B" + AnneeBudget + "-" + numplus1.toString();; }
}
return "B" + AnneeBudget + "--" + numplus1.toString();
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
Request, parallel, multiple users, Analytics Designer, , KBA , LOD-ANA-DES-SMQ , SAP Analytics Cloud Story Metadata and Queries , LOD-ANA-AD , Analytics Designer , Problem