Skip to Content
0

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

Jan 05, 2017 at 09:51 AM

37

avatar image

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

teco-cuorder.png (34.9 kB)
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Raymond Giuseppi
Jan 05, 2017 at 10:28 AM
0

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

Regards,
Raymond

Show 1 Share
10 |10000 characters needed characters left characters exceeded

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.

0