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_PO_CHANGE problem

Former Member
0 Likes
552

Hi guys,

I'm having a little problem using BAPI_PO_CHANGE.

I passed the required parameters to the BAPI and the parameters that I wanted to change.

The return from the Bapi tells me that "Standard PO changed", I also get some warnings but I think that they don't influence the result.

Nevertheless, when I go to ME22N noting is changed. Do you have any idea? Or any example that I could look at?

Thanks

5 REPLIES 5
Read only

Former Member
0 Likes
530

You have to do an explicit commit after the BAPI succeeds.

Rob

Read only

0 Likes
530

Thanks for the answer Rob.

I've one simple(and probably dumb) question, the commit you mentioned is done with the simple call to "commit work"?

Thanks in advance

Read only

0 Likes
530

I think the answer is yes

I've tried and it worked...Nevertheless i'm still having on error because i was not able to change a field on the item detail related to "Deliv. Completed - ELIKZ".

Do you have any idea?

I have the field

"no_more_gr" marked at the po_item and po_itemx table...but in the end nothing is marked up...

Thanks

Read only

0 Likes
530

Sorry guys...problem solved

Thanks

Read only

0 Likes
530

You can do it that way or call BAPI_TRANSACTION_COMMIT.

Rob