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: 

Is it possible to auto TECO in background job for CU order

Former Member
0 Kudos
461

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!!!

2 REPLIES 2

raymond_giuseppi
Active Contributor
0 Kudos
156

Look at BAPI_ALM_ORDER_MAINTAIN, call it with IT_METHODS containing object type 'HEADER' and method 'TECHNICALCOMPLETE'.

Regards,
Raymond

0 Kudos
156

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.