/
BAdI Invoice data extraction (PL)

BAdI Invoice data extraction (PL)

The definition of BAdI /EINVO/PL_IF_BADI_ISSUED_GET has implemented a default or reserve class (/EINVO/PL_CL_BADI_ISSUED_GET) that runs in case no client-specific logic or class is implemented.

The BAdI consists of 2 methods: The first method called is GET_DATA, responsible for obtaining invoice data from SAP and loading it into the context. The second method, SET_DATOS_EXTRAIDOS, sets the previously loaded data from the context to the structure that serves as the input parameter for mappings.

The client can modify these methods by redefining and implementing a Z class: FAQ 002 - How to implement a method of a BAdI .

The following are the methods that can be redefined through custom implementation of the BAdI:

Method

Description

Method

Description

/EINVO/PL_IF_BADI_ISSUED_GET~SET_DATOS_EXTRAIDOS

Sets the custom data to the mapping structure

/EINVO/PL_IF_BADI_ISSUED_GET~GET_DATA

Retrieves invoice data in SAP

Avvale 2024