2009 Jul 31 2:52 PM
Hi experts,
I am testing a BAPI in SE37 and it did not save my changes because the database has not been committed. Is there a way to do a Commit work with out writing a test program?
Please help, thanks!
2009 Jul 31 3:43 PM
Hello,
Yes you can do it by running the two function modules in sequence as follows:
Step 1:Run SE37 and go to Function Module --> Test --> Test Sequence.
Step 2: You will find a pop up to place your function module names in sequence.
Step 3: Insert first the BAPI which you wnat to execute then BAPI_TRANSACTION_COMMIT.
Step 4: Execute the BAPI first once successful just press the Back button and the next fm i.e BAPI_TRANSACTION_COMMIT will trigger,you have to execute this also to commit in the database.
Cheers,
Somnath
Hello,
Yes you can do it by running the two function modules in sequence as follows:
Step 1:Run SE37 and go to Function Module --> Test --> Test Sequence.
Step 2: You will find a pop up to place your function module names in sequence.
Step 3: Insert first the BAPI which you wnat to execute then BAPI_TRANSACTION_COMMIT.
Step 4: Execute the BAPI first once successful just press the Back button and the next fm i.e BAPI_TRANSACTION_COMMIT will trigger,you have to execute this also to commit in the database.
Cheers,
Somnath
2009 Jul 31 3:01 PM
Hi,
I dont think its possible if you are executing the BAPI directly in se37 and not writing a program to commit it. Executing in SE37 is only used for testing purpose and it wont make or allow any changes in the database tables.
Regards,
Vik
2009 Jul 31 3:11 PM
HI,
After you execute the bapi then call the function module 'BAPI_TRANSACTION_COMMIT'.i t will work.
Regards,
Nagaraj
2009 Jul 31 3:16 PM
2009 Jul 31 3:44 PM
Problem is solved. Thanks!
Edited by: Abaper_09 on Jul 31, 2009 4:45 PM
2009 Jul 31 3:43 PM
Hello,
Yes you can do it by running the two function modules in sequence as follows:
Step 1:Run SE37 and go to Function Module --> Test --> Test Sequence.
Step 2: You will find a pop up to place your function module names in sequence.
Step 3: Insert first the BAPI which you wnat to execute then BAPI_TRANSACTION_COMMIT.
Step 4: Execute the BAPI first once successful just press the Back button and the next fm i.e BAPI_TRANSACTION_COMMIT will trigger,you have to execute this also to commit in the database.
Cheers,
Somnath
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |