Symptom
Short dump GEN_TOO_MANY_CBS happens, the "Short text" section of the dump is:
Too many "DATA" control blocks generated
Environment
-
SAP Cloud for Customer.
-
SAP Business ByDesign.
-
SAP Cloud Application Studio
Reproducing the Issue
This dump can be thrown in any transaction which can be seen in SDK Dump analysis tool as below.
Too many "DATA" control blocks generated.
Cause
A program may contain a maximum of 16383 global variables and constants.
If the number of data control blocks exceeds the allowed maximum value of 16383 , the system can no longer generate the program.
When you have a large amount of data decleration in your ABSL, the control blocks converts ABSL to ABAP , the cardinality for varibale conversion will be 1: n meaning one variable can be considered as 2 or 3 or any ,in the ABAP varibale count.
The ABAP has technical limitaion to hold upto 16383 global variables and constants.
Resolution
It is advised to split your ABSL program into smaller generation units as not to exceed the threshold limit.
Keywords
Too many "DATA" dump ,ABAP ,ABSL Memory dump , KBA , AP-RC-BDS-SCR , ByDesign Studio Scripting (ABSL) , Problem