Skip to content

ABAP Keyword Documentation →  ABAP Programming Guidelines →  Robust ABAP 

Dynamic Programming Techniques

Dynamic programming techniques are all techniques whose functions or effects are detectable only at runtime of a program in the runtime environment.

Other versions: 7.31 | 7.40 | 7.54

Security Note

If used wrongly, dynamic programming techniques can present a serious security risk. Any dynamic content that is passed to a program from the outside must be checked thoroughly or escaped before being used in dynamic statements. This can be done using the system class CL_ABAP_DYN_PRG or the predefined function escape.


Using Dynamic Programming Techniques

Runtime Errors in Dynamic Processing

Using Dynamic Data Objects

Memory Consumption of Dynamic Memory Objects

Administration Costs of Dynamic Memory Objects

Accessing Data Objects Dynamically

Generic Programming