Creating a Program 

Prerequisites

This description assumes that you are creating your new ABAP program in the Object Navigator. It is also based on the most general case, and you can use it even if there is not yet a Programs node in your object list.
You can also use the Create function from the context menu of the object node. See also
Creating New Objects.

Procedure

  1. Choose (Other object).
  2. In the Object Selection dialog box, chose Program.

  3. Enter the name of the new program.
  4. Remember that all programs in the customer namespace must begin with Y or Z.

  5. Choose .
  6. The Create Program dialog box appears.

  7. If you want your program to be an executable program, deselect the With TOP include option. If, on the other hand, you want to create a module pool, select the option.
  8. Choose to confirm your entries.
  9. If you created a program with a TOP include, a dialog box appears in which you have to enter the name of the include.
  10. Choose to confirm your entries.
  11. Another dialog box appears in which you must set other program attributes.

    For details of what each attribute means, refer to Maintaining Program Attributes.

  12. Enter the program attributes and choose Save.
  13. The Create Object Catalog Entry dialog box appears.

    Assign a development class to the program.

  14. Choose to confirm your entries.

The program is added to the object list of the relevant development class and displayed under the Programs object node. The system starts the ABAP Editor and opens the program in change mode.

Result

The program has been created in the R/3 Repository, and its inactive version is displayed in the ABAP Editor. You have assigned a development class, and it is thus attached to the transport and correction system.

You can also create programs from the initial screen of the ABAP Editor (SE38).