Assigning Transaction Codes to Executable Programs (Reports)

You can assign a transaction code to any executable program (report) with type Users can then start the program as though it were a transaction.

Procedure:

  1. Create an executable program (report) with type 1, or choose an existing one.
  2. From the ABAP Workbench, choose Development ® More tools ® Transactions.
  3. On the Maintain Transaction Codes screen, enter a name for your transaction and choose Create.
  4. The system displays a dialog box. Choose Report transaction.
  5. It is important that you choose this transaction type, to ensure that the executable program is run by the same invisible system program when it is called as a transaction as when it is called directly (see Starting Programs Directly ). If you choose Dialog transaction from the above screen, the program will be run from screen flow logic as though it were a dialog transaction (see Starting a Program Using a Transaction Code).

  6. On the Create Report Transaction screen, enter the Transaction text, Program and Selection screen.These are required fields.
  7. Save the transaction code in the required development class.