Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Error in BAPI BAPI_ALM_ORDER_MAINTAIN

Dear All,

  I am using bapi BAPI_ALM_ORDER_MAINTAIN to update work order.

I am getting following error:

"Operation number 0010 for component 60266517 cannot be changed in the BAPI" error number : 302 in lt_return.

60266517 is material number.

Following is the code :

CALL FUNCTION 'BAPI_ALM_ORDER_MAINTAIN'

                   
TABLES
                      it_methods     
= lt_methods
                      IT_COMPONENT   
= lt_comp_del_fin
                      IT_COMPONENT_UP
= lt_component_up_chg
                     
return          = lt_return.

Please guide on this.

Thanks,

Arpita

replied

Hello Arpita,

Clear the value in the field Activity in your internal table lt_comp_del_fin and then try.


Regards

KJogeswaraRao

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question