on 10-27-2012 12:24 PM
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.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
108 | |
12 | |
11 | |
6 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.