Ansicht
Dokumentation

EXIT_SAPLIEDI_003 - FI-EDI: Invoice Receipt - Fill the Screen Field "Assignment"

EXIT_SAPLIEDI_003 - FI-EDI: Invoice Receipt - Fill the Screen Field "Assignment"

BAL_S_LOG - Application Log: Log header data   CL_GUI_FRONTEND_SERVICES - Frontend Services  
This documentation is copyright by SAP AG.
SAP E-Book

Customer exit EXIT_SAPLIEDI_003 makes an entry in the assignment number field for the G/L account items in an EDI invoice receipt. The customer exit is called up once per invoice item. If this customer exit is not used, the assignment number field remains blank.

Description of parameters:

Import parameter

The vendor number and company code of the invoicing party is given. A table with the invoice item data transmitted by EDI is also provided. This is structured as follows:

NAME - Field name

VALUE - Current value

The following are used as field names:

MATNR - Material/service number

EANNR - EAN number

IDLEM - ID for additional account assignment from segment E1EDP02
(qualifier 021)

In addition, all information for the line item currently being processed is given. The batch input name of the field is always used as the field name (for example BSEG-WRBTR for the amount in document currency).

Export parameter:

The assignment number is output. If no assignment number can be determined from the current data, set the error NOT_FOUND (RAISE statement). To create your own error message, make entries for the parameters MSGID, MSGNO und MSGV1-MSGV4. The error message must be entered in table T100.





Parameters

ALLOC_NUMBER
COMPANY_CODE
EDI_FIELDS
MSGID
MSGNO
MSGV1
MSGV2
MSGV3
MSGV4
VENDOR

Exceptions

NOT_FOUND

Function Group

XF06

SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up   ABAP Short Reference  
This documentation is copyright by SAP AG.

Length: 1709 Date: 20240604 Time: 024146     sap01-206 ( 39 ms )