Sample Program Cancel TECO (Technical Completion) using BAPI

30 October 2017
October 26, 2017

Code snippet how to cancel TECO order using bapi ‘BAPI_ALM_ORDER_MAINTAIN’ and how to use this BAPI.
The main parameter that must fill is table IT_METHODS, fill this table with ‘CANCEL_TECHNICAL_COMPLETION’ in the HEADER level. After that do SAVE with pass new line in IT_METHODS.  If no error in return table do Commit with ‘BAPI_TRANSACTION_ROLLBACK’ function and if found error Roll Back the transaction with ‘BAPI_TRANSACTION_COMMIT’.

See code below for more detail

Thanks

Related Post