SAP Knowledge Base Article - Public

3562566 - Withdrawal of Sales Order Fails in SAP S/4HANA Cloud Public Edition

Symptom

When withdrawing the approval status of "In Approval" sales order, error "Sales document cannot be saved (see log)" (Message no. V2703) occurs.

Environment

SAP S/4HANA Cloud Public Edition

Reproducing the Issue

  1. Open the sales order using the "Create Sales Orders - VA02" app.
  2. Navigate to Menu -> Edit -> Additional Functions -> Request to Withdraw.
  3. Error "Sales document cannot be saved (see log)" (Message no. V2703) occurs.

Cause

The sales order is created before the BADI "Check of Sales Documents Before Saving (SD_SLS_CHECK_BEFORE_SAVE)" is executed. However, the sales order does not meet the BADI's mandatory field check. 

Resolution

  1. Temporarily comment out the code in the BADI SD_SLS_CHECK_BEFORE_SAVE that sets the mandatory field check.
  2. Proceed to withdraw the approval request.

Be aware that after commenting out the code of BADI, the creation of sales orders will no longer include a mandatory field check.

See Also

KBA 2997066 - How to withdraw the approval request when a sales document is in the status of "in approval"?

Keywords

SAP S/4HANA Cloud Public Edition, Sales order, In approval, Withdrawal, Error, Sales document cannot be saved (see log), Message, V2703, BADI, SD_SLS_CHECK_BEFORE_SAVE, Mandatory field, Check , KBA , SD-SLS-WFL , Approval Workflows , Problem

Product

SAP S/4HANA Cloud Public Edition all versions