Order & still has at least one purchase order that you need to delete.

Message type: E = Error

Message class: KO - Master data for CO orders

Message number: 013

Message text: Order & still has at least one purchase order that you need to delete.

DEFINE &V7& = &[SWITCH]S4H_DOCU_ON_PREMISE&.
DEFINE &V8& = &[SWITCH]S4H_DOCU_CLOUD&.
IF &V7& = 'X' OR &V8& = 'X'.


What causes this issue?

At least one purchase order assigned to order &v1& still exists.


System Response

You <ZH>cannot</> delete order &v1&.


How to fix this error?

First delete all purchase orders assigned to order &v1&. Select the
purchase orders in question using "Search help G". After setting the
deletion indicator, you also have to physically delete the orders using
the Archive function.
<DS:TRAN.ME23N>Process purchase orders</>
If you still want to mark orders for deletion (to which purchase orders
are still assigned), you can change this message from an error message
to a warning. In this case, the system checks that each order does <ZH>
not</> contain any open commitments. To change the message, use the
<DS:SIMG.SIMG_CFMENUORK3OBA5>Change Message Control</> activity
(application area "KO", message number "013").
ELSE.


What causes this issue?

At least one purchase order assigned to order &v1& still exists.


System Response

You cannot delete order &v1&.


How to fix this error?

First delete all purchase orders assigned to order &v1&. Select the
purchase orders in question using "Search help G". After setting the
deletion indicator, you also have to physically delete the orders using
the Archive function.
<DS:TRAN.ME23N>Process purchase orders</>
If you still want to mark orders for deletion (to which purchase orders
are still assigned), you can change this message from an error message
to a warning. In this case, the system checks that each order does not
contain any open commitments. To change the message, use the
<DS:SIMG.SIMG_CFMENUORK3OBA5>Change Message Control</> activity
(application area "KO", message number "013").
ENDIF.

Error message extract from SAP system. Copyright SAP SE.