SAP ABAP – Execute multiple Function Modules/BAPI with SE37 at a time

0
1291

Execute multiple Function Modules/BAPI with SE37

There have been times when an ABAPer needs to execute multiple Function Modules with SE37 at a time. Executing multiple FM is pretty common in the case while executing and testing BAPIs. For example, mostly BAPI needs a BAPI_COMMIT to be executed just after the execution of the Main BAPI you want to execute.

To Execute multiple Function Modules/BAPI with SE37 at a time:

1. When into transaction SE37, goto Function Module -> Test -> Test Sequence, from the Function Module Menu.

 

 

Execute multiple Function Modules/BAPI with SE37
Execute multiple Function Modules/BAPI with SE37

2. Following screen will pop-up. Enter Function Modules / BAPIs in sequence and press OK to execute in sequence.

 

 

SE37 multiple BAPI sequence
SE37 multiple BAPI sequence

You can also save BAPI/ Function Module sequence that you entered for testing and call it again when needed using Get Sequence button on second screen.

 

Some useful ABAP HR function modules can be seen here.

LEAVE A REPLY