Get Example source ABAP code based on a different SAP table
ABAP Source Code The statements
GENERATE SUBROUTINE POOL>>,
READ REPORT>>,
SYNTAX-CHECK>>,
INSERT REPORT>>, for creating and editing ABAP source code> dynamically 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.
Latest notes:
The statements described here can be used in application programs in exceptional cases only. ABAP provides many other means of dynamic programming, which generally make creating source code dynamically unnecessary (see the list in dynamic program processing>).
To display or edit source code in SAP GUI interactively, the class CL_GUI_SOURCEEDIT>> can, for example , be used. This class calls the ABAP Editor control. ABAP_HINT_END