Hi All
I am trying to execute the "BAPI_ALM_ORDER_MAINTAIN" for production order batch change at component level.
I pass the following parameters in the BAPI as below
IT_METHODS
REFNUM -0001
OBJECTTYPE -COMPONENT
METHOD - CHANGE
OBJECTKEY - 12 DIGIT ORDER NUMBER + OPERATION NUMBER
APPEND
REFNUM - 0001
METHOD - SAVE
IT_COMPONENT
RESERV_NO - XXXXXX
RES_ITEM -0001
MATERIAL - XXXX
PLANT -XXXX
ITEM_NUMBER- 0010
ACTIVITY - 0010
IT_COMPONENT_UP
MATERIAL - X
PLANT -X
ITEM_NUMBER- X
ACTIVITY - X
When I execute the BAPI ,I get the below error
E IWO_BAPI 302 Operation number 0010 for component XXXX cannot be changed in the BAPI E IWO_BAPI2 113 Error during processing of BAPI methods
Please share your thoughts to resolve this.