SAP Knowledge Base Article - Public

3510218 - Pricing can't be correctly determined on Sales Order creation

Symptom

When creating a Sales Order, although the pricing conditions are correctly configured and maintained, so as the material and business partners, the pricing can't be automatically determined.

Environment

SAP S/4HANA Cloud Public Edition

Cause

A possible cause is that a condition record is missing because the 'Pricing Date' on item level is 00/00/0000.

The value of the field 'Pricing Date' is cleared by the custom logic in the BAdI 'SD_SLS_MODIFY_ITEM_BUSINESS'.

Therefore, the pricing conditions can't be correctly filled.

Resolution

Please modify the custom logic in the BAdI. Make sure the 'Pricing Date' (SALESDOCUMENTITEM_BUSINESSDATA-PRICINGDATE) is filled by the importing parameter SALESDOCUMENTITEM-PRICINGDATE or SALESDOCUMENT-PRICINGDATE. 

The BAdI documentation mentions:

"Please note that if no changes are made to the business data field values, it is necessary to at least copy the values from the SALESDOCUMENTITEM parameter to the SALESDOCUMENTITEM_BUSINESSDATA parameter via the MOVE_CORRESPONDING statement. Otherwise, any values existing in the business data fields before the BAdI call will be deleted afterward, as the system always copies the values from the SALESDOCUMENTITEM_BUSINESSDATA parameter to the sales document item. This is absolutely mandatory in case SAP must add fields to the SALESDOCUMENTITEM_BUSINESSDATA parameter."

See Also

3368784 - Error V1449 "Exchange rate of &1 in &2 for date &3 could not be determined" occurs when posting intercompany invoice

Keywords

pricing, price conditions, sales order, pricing date, business partner, material, default, amount, PRR0, Modification of Business Data in Sales Document Items, SD_SLS_MODIFY_ITEM_BUSINESS, custom logic, BAdI for Sales Documents, pricing date missing, pricing date blank, item level , KBA , SD-SLS-SO-2CL , Sales Orders (Public Cloud) , Problem

Product

SAP S/4HANA Cloud Public Edition all versions ; SAP S/4HANA Cloud all versions