Symptom
While editing an ABSL script in the Cloud Application Studio, you notice that there is latency when typing.
Environment
- SAP Cloud Application Studio
- SAP Business ByDesign
- SAP Cloud Application Studio
Reproducing the Issue
Prerequisites:
- You have a Custom BO or XBO in your Solution.
- You have an Action or Event on a node for the BO or XBO.
Cause
This issue could be caused due to a huge number of lines of code in the script. To provide code-completion and appropriate error/warning messages, the code analyzer has to run for every edit (typing a single character) on the script.
Resolution
Consider making the custom code more modular. Instead of having all code in a single script, move snippets of code to separate actions that can be called from the original script.
Keywords
SDK, PDI, .absl, Event, Action, BeforeSave, AfterModify, Before Save, After Modify, BO, Business Object, lag, solution, add-on , KBA , AP-RC-BDS-SCR , ByDesign Studio Scripting (ABSL) , AP-RC-BDS-SOL , ByDesign Studio Solution Explorer , Problem