Symptom
Validation of the billing date is required during the creation of a preliminary billing document.
Environment
SAP S/4HANA Cloud, public edition
Cause
In S/4HANA Cloud Public Edition there isn't a dedicated BAdI exposed to validate the Billing Date at the moment of creating a Preliminary Billing Document. SAP's extensibility points for Billing focus on things like data transfer, numbering, output, and approval, not on hard stop validations during PBD creation.
Resolution
As a workaround, you can follow one of the two options below:
- Use the preliminary billing settings toggle "Set billing date and enter before creating Preliminary Billing Document" so users can't by past the field (This enforces entry, not a custom rule).
- Configure Manage Preliminary Billing Document Workflows and add conditions on the billing date (for example, "if Billing Date is in the past/too far in future > send for approval or reject").
See Also
Keywords
badi, validation, billing date, preliminary billing document, sap s/4hana cloud public edition, sales billing, extensibility, workflows, manage preliminary billing document, billing validation, billing settings, sap cloud. , KBA , SD-BIL-IV-2CL , Processing Billing Documents (Public Cloud) , Problem
SAP Knowledge Base Article - Public