Entering content frameReport Transactions Locate the document in its SAP Library structure

You can assign a transaction code to any executable program. This allows users to start it as they would a normal transaction.

To define a transaction code:

  1. From the ABAP Workbench, choose Development ® Other tools ® Transactions. The Maintain Transactions screen appears.
  2. Enter a transaction code and choose Create.
  3. In the dialog box, choose Program and selection screen (report transaction).
  4. This graphic is explained in the accompanying text

    It is important to choose Report transaction to ensure that the executable program is started by the same processors in the ABAP runtime environment as when you start it directly from the ABAP Editor. If you choose Dialog transaction from the above screen, the program has to be controlled using screen logic, like a module pool.

  5. On the next screen, enter a transaction text, the program, and the selection screen.
  6. Store the transaction code in the desired package.

When you define a transaction code, you can use one of the selection screens defined in the program as the initial screen. The standard selection screen is proposed as a default, but you can overwrite it.

For an example of a report transaction, refer to Calling User-Defined Selection Screens.

Leaving content frame