Symptom
There is a business need to reject or delete all unconfirmed items at once in a sales order using application Mass Change of Sales Orders.
Environment
SAP S/4HANA Cloud Public edition
Cause
In the standard fields, the fields to cover this requirement are not available. Extensibility options need to be used instead.
Resolution
- Try creating a custom field for Sales Document - Item
- Enable it for sales document processing and for application Mass Change of Sales Orders
- Create a custom logic - for example: BAdI SD_SLS_MODIFY_ITEM
- Fill the custom field with SALESDOCUMENTSCHEDULELINES-CONFDORDERQTYBYMATLAVAILCHECK
- Note: while coding the BAdI implementation - one sales order line item may contain multiple schedule line items
See Also
Keywords
reject, delete, unconfirmed, item, sales order, mass change of sales orders, F5211, extensibility, custom logic, BAdI, implementation, SD_SLS_MODIFY_ITEM, SALESDOCUMENTSCHEDULELINES-CONFDORDERQTYBYMATLAVAILCHECK , KBA , SD-SLS-MCC-2CL , Mass Changes of Sales Documents (Public Cloud) , Problem
Product
SAP S/4HANA Cloud Public Edition all versions
SAP Knowledge Base Article - Public