Menu

Execute ABAP Programs Automatically After Transport Import

2014-08-16       

Did you know that it is possible to automatically execute an ABAP program after the import of a transport request into a target system? In this article, I’ll discuss how to do that.

Unsere Literaturempfehlung

SAP – Der technische Einstieg: SAP-Technologien und Konzepte

Sind Sie neu in der SAP-Welt und möchten schnell mitreden? Mit diesem Buch finden Sie sich erfolgreich im SAP-Umfeld zurecht! Sie steigen direkt in die Konzepte und Technologien der SAP-Software ein und lernen die unterschiedlichen Systeme und Prozesse kennen. Schritt für Schritt zeigen die Autoren Ihnen die wichtigsten technischen Aufgaben und die Zusammenhänge zwischen den Objekten. Dank der vielen Beispiele und Abbildungen finden Sie sich schnell im SAP-Umfeld zurecht und können direkt in SAP ERP oder SAP S/4HANA anfangen.

Bei amazon.de ansehen →

Automatically executing an ABAP program after a transport request was imported is a very useful feature of SAP ERP. It can be used to do some set-up work or to execute checks to prepare the new environment for the transported objects.

Here’s how to add a program execution object to a transport request. First, open the transport organizer (for example with transaction SE10) and find the request you want to work with. Double-click it to display the transport request properties and switch to change mode.

Adding a program execution object to a transport request

In the list of objects to be transported, add a new entry with the key R3TR XPRA. This is a program execution object. In the object name field, enter the name of the program you want to run. Click Save and return to the previous screen. Your transport should now look like this.

Transport Request with Program Execution Step

After this transport is imported into the target system, the program RKACSHOW will be executed once. You could of course add your own programs here that execute custom scaffolding tasks or similar things.