Symptom
Sales Order XYZ (XYZ represents the Sales Order ID) cannot be cancelled in the OWL (Object Work List) via the Action button and the Reject option the following error occurs:
Sales Order cannot be cancelled; open the document and check details
Environment
SAP Business ByDesing
Reproducing the Issue
- Select the Sales Orders view
- Select Sales Order XYZ in the OWL.
- Click on the Actions button and select Reject.
- Enter a Cancellation Reason e.g. Other Reason.
- Click OK.
- The following error occurs:
Sales Order cannot be cancelled; open the document and check details
Cause
A Sales Order can only be cancelled from the OWL via the Actions button and the Reject option, if the Reason for Rejection field on Header Level of the Sales Order (General tab) is enabled.
In the General tab of Sales Order XYZ, you can see that the Reason for Rejection is not enabled.
Since the Action -> Reject option cancels the Sales Order via the Reason for Rejection in the General tab, and this field is read only, the error occurs.
Resolution
To cancel the Sales Order you need to cancel the items individually:
- Go to the Sales Orders work center.
- Select the Sales Orders view
- Open Sales Order XYZ.
- Navigate to the Items tab.
- Select Line Item YY (YY represents the line item number of an item that was not previously cancelled).
- Enter the Reason for Rejection e.g. Other Reason.
- Repeat this for all Line Items that were not already cancelled.
- Save your changes.
Keywords
Sales Order; Cancelled; Reason for Rejection; Header; Canceled; , KBA , AP-SLO-SO , Sales Order , Problem