2017 Jan 05 9:51 AM
Hi Experts,
We need to create a custom program to auto TECO for PM orders. Now everything work well, except CU orders.
Now I use BDC to call transaction 'IW32' to update TECO for CU order, but it only works for frontground..
In the standard program, it will check the execute tcode/mode before update TECO status...
Is there any methods to auto TECO in background job?
Thanks for any advise!!!
2017 Jan 05 10:28 AM
Look at BAPI_ALM_ORDER_MAINTAIN, call it with IT_METHODS containing object type 'HEADER' and method 'TECHNICALCOMPLETE'.
Regards,
Raymond
2017 Jan 16 9:16 AM
Raymond,
Thanks for your response.
Normally, we use BAPI 'BAPI_ALM_ORDER_MAINTAIN' to update system status to 'TECO'. But for CU orders, the standard logic doesn't allow to process TECO in background job and t-code = 'IW31'/'IW32'.
At last, we do an enhancement before 'check_at_completion' to skip this checkup.
Regards,
May.