2015 Jan 21 3:03 AM
Hi Experts,
I am facing an error when the standard BAPI ' BAPI_PRODORD_COMPLETE_TECH' is called, the error message is as shown as the following pic.
However, the error is under in standard BAPI and I have no idea how to solve it.
May I request some hints?
Thanks,
King
2015 Jan 21 3:22 AM
Hello.
Please paste the topmost portion of the error message screen for better analysis.
Regards.
2015 Jan 21 4:34 AM
2015 Jan 21 4:42 AM
Are you changing the default values passed to scope_compl_tech, work_process_group and work_process_max ?
Please paste your code calling the BAPI.
2015 Jan 21 6:23 AM
Thanks for reply!
here is the call for calling the BAPI:
WA_ORDER_KEY-ORDER_NUMBER = WA_OUTPUT-WO_NO.
APPEND WA_ORDER_KEY TO IT_ORDER_KEY.
CALL FUNCTION 'BAPI_PRODORD_COMPLETE_TECH'
TABLES
ORDERS = IT_ORDER_KEY
DETAIL_RETURN = BAPI_RETURN
Thanks,
King
.
2015 Jan 21 8:18 AM
Are you able to do TECO via CO02 tcode for the given production order(s)?
2015 Jan 21 8:52 AM
Some of production orders cannot do TECO. However, the error message will return.
2015 Jan 21 9:19 AM
Whether the run time error occurs even for those order inputs which can be TECOed via CO02?
2015 Jan 22 7:04 AM
The problem will not occur for those order inputs which can be TECOed via CO02
2015 Jan 22 7:17 AM