Ansicht
Dokumentation

EXIT_SAPLIEDI_101 - FI-EDI: Invoice Receipt INVOIC01 - Additional Assignment IDoc -> Document

EXIT_SAPLIEDI_101 - FI-EDI: Invoice Receipt INVOIC01 - Additional Assignment IDoc -> Document

Fill RESBD Structure from EBP Component Structure   Fill RESBD Structure from EBP Component Structure  
This documentation is copyright by SAP AG.
SAP E-Book

This customer exit is used for reading customer-specific segments and for supplementing document data.

It is called up once per IDoc segment, for standard segments as well as for customer-specific segments where an additional IDoc type is concerned. You can therefore also process data from standard segments that are not considered for standard processing.

Table IDOC_DATA contains the IDoc segments. Parameter IDOC_DATA_INDEX indicates the segment currently being processed.

Table DOCUMENT_DATA contains the posting data previously determined. Parameter DOCUMENT_LINE contains the number of the line item currently being processed.

If errors occur in processing in user exit 101, an error message can be returned in parameter I_FIMSG. It is added to the status records for the IDoc and results in the IDoc having the status "Error in processing" (51). Therefore, only error messages should be returned (I_FIMSG = 'E'). No exceptions may be triggered in the customer exit.

Description of parameters:

Table import parameters:

IDOC_CONTRL - Table of check information for the interim
document (currently, only one entry transferred)

IDOC_DATA - Table of all invoice segments (currently, only
the segments of interim document (field DOCNUM)
are transferred)

Import parameters:

IDOC_CONTRL_INDEX - Current index for table parameter
IDOC_CONTRL

IDOC_DATA_INDEX - Current index for table parameter
IDOC_DATA

Table export parameters:

DOCUMENT_DATA - Table of posting data (screen fields)

TAX_DATA - Table of tax data

ADDITIONAL_DATA - Additional data (passed on to user exits
EXIT_SAPLIEDI_001 to EXIT_SAPLIEDI_004)

Export parameters:

I_FIMSG - Structure for transferring error messages; these
are saved as status records for the interim
document.





Parameters

ADDITIONAL_DATA
DOCUMENT_DATA
DOCUMENT_LINE
IDOC_CONTRL
IDOC_CONTRL_INDEX
IDOC_DATA
IDOC_DATA_INDEX
I_FIMSG
TAX_DATA

Exceptions

Function Group

XF06

RFUMSV00 - Advance Return for Tax on Sales/Purchases   General Material Data  
This documentation is copyright by SAP AG.

Length: 2581 Date: 20240604 Time: 042929     sap01-206 ( 41 ms )