Creating and Changing ABAP Programs
ABAP programs are objects of the R/3 Repository. Therefore, you maintain ABAP programs just like any other Repository objects (for example, ABAP Dictionary tables or user interfaces of screens) using a tool of the ABAP Development Workbench. The tool for maintaining ABAP programs is the ABAP Editor.
This section gives an overview of how to create new ABAP programs and change existing ones. It describes the possibilities the R/3 system offers to start the ABAP Editor. In the text below, 'open a program' always means 'call the ABAP Editor for a program'.
To start the ABAP Editor to create or change ABAP programs, the R/3 system offers three possibilities:
The Object Browser of the ABAP Development Workbench (transaction SE80) offers a hierarchical overview of all R/3 Repository objects, ordered by development classes, user name of the programmers, object types, and so on. By selecting a program, the Object Browser supplies direct access to all components of a program, such as main program, subroutines, or global data. By selecting a program object in the Object Browser and calling a maintenance transaction, you directly open the appropriate tool for this object, in this case the ABAP Editor.
This procedure is suited for complex (interactive) reports or module pools for transactions, since in the Object Browser you always have an overview of all components of a program, such as user interfaces of screens or dynpros.
To open a program object directly using the corresponding tool, on the initial screen of the ABAP Development Workbench choose ABAP Editor (or start transaction SE38). To change a program, you must know exactly the name of the requested program and its environment.
This procedure is suited for maintaining or creating relatively simple reports or short test programs, which have only few or even no components.
Whenever you work with a tool of the ABAP Development Workbench and you position the cursor on a name of an R/3 Repository object and select the object (for example, by double-clicking the mouse), the system opens the object together with the corresponding tool. This also applies for editing ABAP programs.
This procedure is suited whenever ABAP programs are called from within objects such as screen flow logic or from within another ABAP program.
For detailed information on the Object Browser, the ABAP Editor, and the other tools of the ABAP Development Workbench, see the
ABAP Workbench Tools documentation.