SAP Knowledge Base Article - Public

3585738 - Invoice Posting Date Error in Supplier Invoice with ERS

Symptom

An error occurs in the automatic creation of supplier invoices using the "Schedule Supplier Invoice Jobs - Advanced" application.

The job run time is set to a specific date, but the final supplier invoice posting date is one day later.

Environment

SAP S/4HANA Cloud Public Edition

Reproducing the Issue

  1. Use the "Schedule Supplier Invoice Jobs - Advanced" application to schedule an automatic invoicing job.
  2. Run the job to generate supplier invoices.
  3. Observe that the final supplier invoice posting date is one day later than the job run time.

Cause

The automatic receipt settlement posts invoices using the user's timezone as a basis for determining the posting date. If a user in a timezone ahead of system time posts an invoice using ERS, the system time may still be on the previous day, leading to a discrepancy in the posting date.

Resolution

The automatic receipt settlement uses the user's timezone to determine the posting date. If the standard system behavior is not suitable, implement the BADI MRM_ERS_DATA_MODIFY_CE and set the posting date using a logic of your own, for example, use sy-datum (system time zone date) instead of sy-datlo (user time zone date).

Keywords

Invoice Management, Automatic Invoice Creation, Posting Date Error, Timezone, BADI MRM_ERS_DATA_MODIFY_CE, sy-datum, sy-datlo, ERS , KBA , MM-FIO-IV-2CL , Fiori UI for Invoice Verification (Public Cloud) , Problem

Product

SAP S/4HANA Cloud Public Edition all versions