SAP Knowledge Base Article - Public

3383434 - BAdI for changing ERS Data in Supplier Invoice - SAP S/4HANA Cloud Public Edition

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

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)

 

  • It is important to 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, Goods Receipts, Purchase Order items, delivery note , KBA , MM-FIO-IV-2CL , Fiori UI for Invoice Verification (Public Cloud) , How To

Product

SAP S/4HANA Cloud Public Edition all versions