Application Development 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: 

Error in BAPI BAPI_ALM_ORDER_MAINTAIN

arpita_churi3
Active Participant
0 Kudos

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

1 ACCEPTED SOLUTION

jogeswararao_kavala
Active Contributor

Hello Arpita,

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


Regards

KJogeswaraRao

4 REPLIES 4

jogeswararao_kavala
Active Contributor

Hello Arpita,

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


Regards

KJogeswaraRao

0 Kudos

Thanks..

issue solved once I removed it


0 Kudos

Hello Arpita,

Glad you have resolved the issue. Please close the thread. If you do not know how to do it, please go through this link:

Regards

KJogeswaraRao

0 Kudos

I did not find the internal table lt_comp_del_fin on BAPI BAPI_ALM_ORDER_MAINTAIN