Symptom
After creating a credit memo request with an existing invoice as reference, to create a credit memo with the credit memo request as reference.
The system allows the net value of the credit memo exceeds the net value of the invoice.
Environment
SAP S/4HANA Cloud Public Edition
Reproducing the Issue
- Enter the app "Manage Credit Memo Request Version 2".
- Create a credit memo request with an invoice as reference.
- Enter the item detail.
- Modify the amount to make it exceeds the amount in the invoice and click the "Save" button.
- Create a credit memo with the credit memo request as reference and observe.
- The net value of the credit memo exceeds the invoice.
Cause
The system behaves as designed.
The amount of the credit memo request can be modified to be greater than the amount of the invoice. There is currently no restriction to check whether the amount in credit memo request is over than the maximum value of its preceding F2 invoice item.
Resolution
To realize the feature that restricts the net value of credit memo to not exceed the invoice, it is recommended to make use of the following Business Add-In (BAdI) for checking:
- Check of Item Data in Sales Documents (SD_SLS_CHECK_ITEM).
- Check of Sales Documents Before Saving (SD_SLS_CHECK_BEFORE_SAVE).
The details on them can be referred below:
Business Add-Ins (BAdIs) for Sales Documents | SAP Help Portal
See Also
Keywords
SAP S/4HANA Cloud Public Edition, Credit Memo, Credit Memo request, Net value, Manage Credit Memo Request Version 2, SD-BIL-IV, SD_SLS_CHECK_ITEM, Business Add-Ins, Check of Item Data in Sales Documents, Check of Sales Documents Before Saving, SD_SLS_CHECK_BEFORE_SAVE, Sales Documents. , KBA , SD-BIL-IV-2CL , Processing Billing Documents (Public Cloud) , Problem