SAP STRING EXPR PERFO
Get Example source ABAP code based on a different SAP table
If on the right side of an
The appended strings cannot be dependent on
Optimization is therefore deactivated in the following cases:
Deactivating optimization for assignments that are not used very often is usually uncritical, it is strongly recommend to only use optimizable forms within loops, because otherwise the runtime would increase quadratically with the number of iterations. Within loops, the results of expressions and functions that can only be determined there should be assigned to helper variables
Latest notes:
If optimization is deactivated, the runtime is quadratically dependent on the number of iterations, since the length of the string in the interim result increases in proportion with the number of iterations and has to be copied to the result in every loop pass.
NON_V5_HINTS
ABAP_HINT_END
ABAP_EXAMPLE_VX5
In the following example for generating an HTML file, there is no optimization. The runtime depends quadratically on the number of iterations
ABEXA 01295
The following example shows how the runtime can be optimized by using a helper variable. The bigger
ABEXA 01296
ABAP_EXAMPLE_END
ABAP_EXAMPLE_ABEXA
ABAP_EXAMPLE_END