Custom logic maintained in BAdI "Sales Item Modification" doesn't work even it's already called.
SAP S/4HANA Cloud Sales
Reproducing the Issue
- Use app "Custom fields and logic" to maintain custom logic in BAdI "Sales Item Modification" of business context "Sales Document Item", use code "salesdocument-salesdocumenttype= 'or'" to identify the order type.
Open app "Create Sales Orders" to create an order.
Save the order.
Check the generated order and found order item data isn't modified by code in BAdI "Sales Item Modification".
Sales document type OR is English version of the order type. However, system can only recognize its German version order type TA, but cannot recognize English order tpye OR. This is restricted by SAP standard code.
In sales modification BAdI, pelase use German version of sales document types like TA instead of OR, AG instead of QT and G2 instead of CR.
Sales Item Modifiction, SD_SLS_MODIFY_ITEM, OR, QT, BAdI, salesdocumenttype , KBA , SD-SLS-SO , Sales Orders , Problem