2017 Mar 13 2:20 PM
Hello everyone,
While executing BAPI, i am receiving the below errors.
As ABAPER, i'm trying to debug the BAPI, but unfortunatelyi am not able to find anything.
Could you please help me on this. It's very urjent.
Your help will be appreciated.
2017 Mar 13 6:56 PM
Hi Surender,
The error message is explanatory as it says that operation number is missing in the BAPI call. If you are updating something in the operation of the work order then you must pass values in table parameters: IT_OPERATION and IT_OPERATION_UP.
Regards,
Arvind
2017 Mar 14 9:08 AM
Hi Arvind,
Thanks for your answer.
Yes, we are trying to update the operations. User is adding additional operation manually in CO02 transaction.
I checked by updating IT_OPERATION and IT_OPERATION_UP internal tables with operation number and plant.
But it's giving the same error.
Could you please help me.
2017 Mar 14 9:44 AM
Self-explanatory message, you try to change an operation '0056' that doesn't exist in the order (wrong ACTIVITY / AFVC-VORNR)
2017 Mar 15 12:34 PM
If you don't want to change (or provide an initial value) for the component number don't set the update indicator, also isn't the field name actually ACTIVITY in the BAPI structure?
2017 Mar 21 7:21 AM
Hi Raymond,
Thanks for your reply.
I have got one more issue on the same.
User is trying to update 'Operation Number' for the required component based on their needs.
They are changing through an file upload in a custom transaction.
And this custom transaction, using BAPI_ALM_ORDER_MAINTAIN function module to update the same.
But here, it's not updating correctly. If i remove ACTIVITY field it's not updating correctly.
Could you please help me on this.
Thanks,
Surendar Reddy.
2017 Mar 21 7:25 AM
Hello everyone,
User is trying to update 'Operation number' for each component in an Production order component level.
They are using an EXCEL format (Here they are changing operation number as per their need) to update 'Operation number'.
They are using BAPI_ALM_ORDER_MAINTAIN function module to update the same.
But here, i am getting the same error which i mentioned in earlier screen shot.
I wanna skip this error and update the 'Operation number' in the order for the respective component.
Could you please help me on this.
Thanks,
Surendar Reddy.
2017 Jun 30 3:09 PM
Hello Surender,
I hope it´s not to late and this information can help.
Please can you show us how do you execute this BAPI?
Remark: This error generally appears here in this call function "IBAPI_PROC_METHOD_TABLE_EXEC".
Please verify if you concatenate correctly the order and operation number in the wa_methods-objectkey.
Reason: in the include "LIBAPI_ALM_ORDER_PROCESSINGF05"
I attach also a little program who change the description in the operation.
zbapi-alm-order-maintain-desc-oper.txt
Best Regards,
Xavier
2020 Sep 17 12:25 PM
Problem is when not updating operation only updating component(req date).