cancel
Showing results for 
Search instead for 
Did you mean: 

Not able to save data when executing BAPI through t-code SE37

Former Member
0 Kudos

I am new to BAPI and am trying to change the supplying plant and qty in Purchase Requisition through BAPI. For this I am using BAPI_PR_CHANGE. When executing the BAPI it gives me a message  S 06  403  Puchase requisition  6150016173 changed & S BAPI 002 Instance  6150016173 of objecttype  Purchase Requisition has been changed. However when I view the PR 6150016173 the chnages are not reflected. I have kept the testrun as blank and have also tried by putting 'X' there. Pls suggest what is to be done.

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member193464
Contributor
0 Kudos

hi

It is because BAPI_TRANSACTION COMMIT needs to be called to save the changes. You can call this in an abap program after your BAPI call is made . OR

In SE37 if you want to check

menu->

Function Module->Test->Test Sequence

Enter Your BAPI name and BAPI_TRANSACTION_COMMIT

and now execute.