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 - error while locking PO iems

Former Member
0 Likes
456

All,

We're getting error when trying to lock PO items using BAPI_PO_CHANGE.

The PO item has a closed order as the account assignment in the PO. We do not get the error if the order is open.

Has anybody encountered this problem before? Is there any way to suppress this and allow locking of the item? Any inputs will be highly appreciated.

Regards

Deepthi.

All,

We're getting error when trying to lock PO items using BAPI_PO_CHANGE.

The PO item has a closed order as the account assignment in the PO. We do not get the error if the order is open.

Has anybody encountered this problem before? Is there any way to suppress this and allow locking of the item? Any inputs will be highly appreciated.

Regards

Deepthi.

1 REPLY 1
Read only

Former Member
0 Likes
363

More info on this,

I get the error -

'Material purchase order' not allowed - Order XXXXXX

When we try to lock the same PO item using ME22N it is successful.

Is there any relevant OSS note for this?