Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

BAPI_PR_CHANGE, successul message but commit does not actually update

john_pawski
Participant
0 Likes
957

I am testing in SE37 BAPI_PR_CHANGE. In the result msg I get these messages:

Purchase requisition 10013879 changed

Instance 10013879 of object type PurchaseRequisition has been changed.

and in the line item I get a qty update I'm expecting. I then do a BAPI_TRANSACTION_COMMIT but when I go to look at the PR in the SAP GUI the qty update does not appear.

Any ideas? Perhaps, I am missing something in the structure that I should check.

Thanks

4 REPLIES 4
Read only

former_member156446
Active Contributor
0 Likes
732

are you using the TESTRUN parameter.. if so then the bapi runs in a stimulous mode and doesnt really do what its supposed to do.

[Example|http://sapabapscreenshotsexamples.blogspot.com/2007/11/sap-abap-screenshots-examples.html]

Read only

0 Likes
732

I actually found it to be working now. I must have had something wrong. It worked through my WebSphere SAP adapter but not SE37. At any rate it is fine now. Perhaps I did, by accident, have the test run checked.

Thanks

Read only

Former Member
0 Likes
732

Are you getting express mail? If so, you can use SM13 to examine failed updates.

Rob

Read only

former_member194669
Active Contributor
0 Likes
732

You need to use "test sequence" in SE37.

a®