Skip to Content
avatar image
Former Member

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

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)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Jan 05, 2017 at 10:28 AM

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

    Regards,
    Raymond

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      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.