SAP Knowledge Base Article - Public

3096404 - Deletion not Allowed due to External Payment

Symptom

You are trying to delete a Sales Order which was created via Web Service with External Payment.

Environment

SAP Business ByDesign

Reproducing the Issue

  1. Go to the Sales Orders work center.
  2. Select the Sales Orders view.
  3. Search for the ID ABC (ABC represents the ID of the Sales Order).
  4. Document is still In Preparation status.
  5. Click Delete button.

Error: Deletion not allowed due to external payment

Cause

You are only allowed to Delete Sales Orders which fall within the following criteria:

In Preparation

AND

Manually Created OR A2A OR B2B origin without any items OR B2B origin and inconsistent.

Documents with External Payments are not allowed to be deleted.

Resolution

This is the system expected behavior.

As a work-around, you can send a new update to cancel the document.

Sample payload:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:glob="http://sap.com/xi/SAPGlobal20/Global">

   <soapenv:Header/>

   <soapenv:Body>

      <glob:SalesOrderBundleMaintainRequest_sync>

         <BasicMessageHeader/>

         <SalesOrder actionCode="04">

            <ID>ABC</ID>

            <SalesTerms actionCode="04">

               <CancellationReasonCode>08</CancellationReasonCode>

            </SalesTerms>

         </SalesOrder>

      </glob:SalesOrderBundleMaintainRequest_sync>

   </soapenv:Body>

</soapenv:Envelope>

See Also

3000720 - Error message: Costs not determined: Cost rate for service XYZ and set of books AAA valid on DD/MM/YYYY is missing

3096429 - External Payment is Not Copied to New Sales Order

Keywords

Sales Order, External Payment, Delete, Reject, Reason for Rejection, Web Service, In Preparation , KBA , AP-SLO-SO , Sales Order , How To

Product

SAP Business ByDesign all versions