Avoid potential performance issue in passing parameter
[Access] [ADDTL_ATTRIBUTES] [and] [bad parameter] [error parameter] [Initialization] [invalid parameter] [parameter] [UWLDYNATTRLIST] [UWLITEM]
Symptom
High memory consumption when calling certain function modules that has the nested table structure UWLITEMLIST.
Other terms
UWLITEM, UWLDYNATTRLIST, ADDTL_ATTRIBUTES, Initialization and Access
Reason and Prerequisites
In case of a table within table parameter, if data for ‘Initialization and Access’ is not configured explicitly, memory allocated for number of initial lines is calculated by the system according to some system settings. Potentially, unknown number of lines are defined and memory consumption can be a lot higher than what is actually required.
Solution
Import the referenced support package.
SAP Basis component
700 SAPKB70005
640 SAPKB64015
Or to do this manually, user can try to edit in transaction SE11, bring up definition for table type ‘UWLDYNATTRLIST’, set a number, e.g. 5 for initial lines -> tab ‘Initialization and Access’ -> ‘Initial Line Number’.