SAP Knowledge Base Article - Public

3539425 - The date input in the "Create Billing Documents" app is taken although with billing date set in BAdI SD_BIL_DATA_TRANSFER

Symptom

The date input in the "Create Billing Documents" app is taken during billing document creation, although the "current date" is set as "billing date" in BAdI SD_BIL_DATA_TRANSFER.

Environment

SAP S/4HANA Cloud Public Edition

Reproducing the Issue

  1. Implement and activate the BAdI SD_BIL_DATA_TRANSFER, by setting the billing date = current date.
  2. Open the "Create Billing Document" app.
  3. Select a document and click on "Create Billing Document".
  4. Enter a date in the past and click OK.
  5. The date is taken from the selection step.

Cause

This is the standard system design. The manually entered billing date has a higher priority and will not be changed by the BAdI. The system will prioritize the date confirmed in the selection box.

Resolution

Turn off the "Set billing date and type before billing" option in the "Billing Settings" in "Create Billing Documents" app.

See Also

KBA 2892513 - How to set billing date equal to billing creation date via copy control - SAP S/4HANA Cloud Public Edition

Keywords

SD_BIL_DATA_TRANSFER, BAdI, billing date, Create Billing Document, billing settings, set billing date and type before billing, current date , KBA , SD-BIL-IV-2CL , Processing Billing Documents (Public Cloud) , Problem

Product

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