Symptom
In the Billing Document how is the pricing date determined and how can we get it copied from preceding document.
Environment
SAP S/4HANA Cloud Public Edition
Reproducing the Issue
- Create a sales order.
- Generate a delivery document based on the sales order.
- Create an billing document using the VF01 app.
- Note that the pricing date in the billing document.
Cause
Below logic will be executed by sequence:
- By default, the billing pricing date will get copied from the source document's pricing date.
- If the source document's pricing date is initial, then it will use the billing date.
- For delivery related billing, the OBD's billing date will overwrite the pricing date.
- If manually a billing date is selected in (VF01 or VF04 initial screen), then this chosen billing date gets updated as the billing date in the billing document , but will not change the pricing date.
- If manually a pricing date is selected in (VF01 or VF04 initial screen), then this chosen pricing date will be the pricing date.
Resolution
Apart from the above standard process if the requirement is to copy the pricing date from the preceding document like Sales order , the custom logic apps for the SD_BIL_DATA_TRANSFER can be utilized to map the pricing date from the Sales Order.
CDS view I_SALESDOCUMENT can be used to get the SO's pricing date and map it accordingly to the billing document.
See Also
Keywords
Pricing Date; Billing Date; VBRP; PRSDT; VBRP-PRSDT; XVBRP-PRSDT; Billing Document , Outbound delivery , Sales order , KBA , SD-BIL-IV-2CL , Processing Billing Documents (Public Cloud) , SD-BF-PR-2CL , Pricing (Public Cloud) , How To
SAP Knowledge Base Article - Public