SAP Knowledge Base Article - Public

3197867 - Overall Discount is not applied to all items in the copied Sales Order

Symptom

Overall Discount is not applied to the newly added Items to Sales Order which is created as a copy of existing Sales Order with Multiple Items.

Environment

 SAP Business Bydesign

Reproducing the Issue

  1. Go to Sales Orders Work Center
  2. Go to Sales Orders View
  3. Search for Sales Order XXX(XXX is the Id of the Sales Order)
  4. The Sales Order XXX has two line Items with List Price of 100 EUR each and Overall Discount of 10% which will be 20 EUR. Both the Line items in the Sales Order XXX are either invoiced or rejected with reason for rejection.
  5. Now, Create a copy of Sales Order XXX by clicking on Copy button
  6. When you Save, the Sales Order YYY is created.(YYY is the ID of the Sales Order which is created as a copy of Sales Order XXX)
  7. Edit the Sales Order YYY and Navigate to Items Tab. 
  8. Add a new Line Item with List Price 100 EUR.
  9. Since the Overall Discount is 10%, you expect the system to consider the newly added item and calculate the Overall Discount as 30 EUR.
  10. The system shows the Overall Discount as 20 EUR and does not consider the newly added Item.

Cause

This is a standard system behaviour.

As soon as an item is invoiced, its origin changes and its associated header level component becomes read-only on the UI. Once the component becomes read-only, it will not participate in the recalculation. You will notice the same behaviour for any transaction document.

For a copy scenario, we copy all the price attributes including its properties as well. Since, at the time of copying, we are not sure that how the item components were created it is not possible for us to determine how the prices will be split at all the item levels. No recalculation is done as well.

Resolution

 As a Workaround you can remove the manually added header component on the copied document and add it again. This will ensure proper recalculation of the prices.

Keywords

Overall discount; Copied Sales Order; Sales Order; Copy; Incorrect Discount; Discount Calculation: , KBA , AP-SLO-SO , Sales Order , Problem

Product

SAP Business ByDesign 2022