cancel
Showing results for 
Search instead for 
Did you mean: 

PO change, me22 material field disabled

Former Member
0 Kudos

Dear experts,   

   I have a situation where in I need to change the material from a PO, thru program based on several conditions. When tried thru BAPI_PO_CHANGE, the system is giving me errors saying Instance xxxxxxxx of object type purchase order could not be changed Xxxxxxxx ---(Po number).

So, I tried writing a BDC for ME22N, this works good when the mode is ‘A’, but fails when the mode is ‘N’. Looks like the item table on the screen is closed when running in background. So, in order to avoid this I wanted to write BDC on ME22. But for some reason, ME22 material field is disabled (or just visible, whereas on me22n it is editable).  Can you please help me on how to either enable this field in me22 or if there is any other way to edit this field(fn. Module/ BAPI).

Thanks for your support.

Regards

-Amit

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

BAPI_PO_CHANGE works.

Former Member
0 Kudos

It was a great help to me as well.

Former Member
0 Kudos

BAPI_PO_CHANGE helped me by using the correct fields.

Answers (0)