cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

How to update the released PM Order ?

rashmi-a
Explorer
0 Kudos
1,118

Hi,

I have a released PM order which needs to be modified after certain process ?
Tried using BAPI_ALM_ORDER_MAINTAIN but it throws an error saying order is locked and cannot be changed.

Please do the needful.

Accepted Solutions (0)

Answers (4)

Answers (4)

Abinathsiva
Active Contributor
0 Kudos

Hi,

Since requirement is to change the order use BAPI - BAPI_PRODORD_GET_DETAIL to get the production order details and use Function modules as required - CO_XT_COMPONENT_CHANGE - CO_XT_COMPONENT_ADD

rashmi-a
Explorer
0 Kudos

Is this correct ?

JamesG
Participant
0 Kudos

Maybe someone is using this order

rashmi-a
Explorer
0 Kudos

No Same works fine in Report but not in enhancement.

peter_atkin
Active Contributor
0 Kudos

Have a look at the messages in the RETURN table - these are usually helpful..

PeteA

rashmi-a
Explorer
0 Kudos

In return table it shows , order is locked and cannot be changed.

RaymondGiuseppi
Active Contributor
0 Kudos

"order is locked" did you check who/what is locking the order (SM12) or post the exact error message number/class and provide more information.

rashmi-a
Explorer
0 Kudos

Message ID : IWO_BAPI

Number :124