SAP Knowledge Base Article - Public

3383434 - BAdI for changing ERS Data in Supplier Invoice

Symptom

The business need is to change ERS data of a Supplier Invoice, such as 'Reference' field, posting date and invoice date.

Environment

SAP S/4HANA Cloud Public Edition (All Versions)

Cause

The standard behavior regarding Reference (In ERS job) and Delivery Note is, that the Delivery Note is taken over to the Reference field on Purchase Order Item level.

Resolution

There is a Cloud BAdI which can be implemented for ERS. See documentation: Business Add-Ins (BAdIs) for Invoice Processing

Name: MRM_ERS_DATA_MODIFY_CE "Change Evaluated Receipt Settlement (ERS) Data"

 

  • In the BAdI it is possible to change the reference fields (SupplierInvoiceIDByInvcgParty)

 

  • However please consider the fact, that there could be several Goods Receipts /Purchase Order items per invoice depending on how ERS is used. If there are several delivery note numbers, it is not possible to put all numbers in the reference field due to length restrictions of 16 characters.

Additional information:

  • In the BAdI it is also possible to change the posting date and invoice date.

 

Keywords

BAdi, Change, ERS, Data, Supplier Invoice, Reference, Field, Posting Date, Invoice Date, Change Supplier Invoice – Advanced app, MIR4, Header, Item, Level, MRM_ERS_DATA_MODIFY_CE, SupplierInvoiceIDByInvcgParty , KBA , MM-FIO-IV-2CL , Fiori UI for Invoice Verification (Public Cloud) , How To

Product

SAP S/4HANA Cloud 2202 ; SAP S/4HANA Cloud 2208 ; SAP S/4HANA Cloud 2302 ; SAP S/4HANA Cloud 2308 ; SAP S/4HANA Cloud Public Edition 2402 ; SAP S/4HANA Cloud Public Edition 2408