SAP ABAP GENERIC PROGRAM

Get Example source ABAP code based on a different SAP table
  


ARTICLE

Source Code
The statements
GENERATE SUBROUTINE POOL,
READ REPORT,
SYNTAX-CHECK,
INSERT REPORT,
for dynamically creating and editing source code are released for use in application programming. Some additions of the released statements and certain statements are intended for internal system use only and must not be used in application programs.

Notes
The statements listed here can be used in application programs in exceptional cases only. ABAP provides many other means of dynamic programming, which generally make creating source texts dynamically unnecessary (see the list in dynamic program processing).
If you want to display or edit source code in SAP GUI interactively, you can, for example, use the class CL_GUI_SOURCEEDIT. This class calls the ABAP Editor control.