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:
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.
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.