Skip to Content
May 06, 2020 at 05:50 PM

Technically complete CO Order BAPI


hello, how can I "close" or "technically complete" (transaction KKF2) a CO order ( AUTYP=04 ) programmatically?

Using BAPI_PRODORD_COMPLETE_TECH I get error message 'Order XXX000000913 has the wrong order category for this BAPI'

I tryed "COXT_BAPI_COMPLETE_TECH". The CO order seems to be closed, but all fields AUFK-PHAS0 to AUFK-PHAS3 get cleared and I'm not sure if this is the right way to change this kind of CO orders.

Can anyone give a clue?