Ansicht
Dokumentation

EDI_SEGMENT_GET_NEXT - EDI interface: Sequential accesses to data record

EDI_SEGMENT_GET_NEXT - EDI interface: Sequential accesses to data record

Vendor Master (General Section)   Vendor Master (General Section)  
This documentation is copyright by SAP AG.
SAP E-Book

Each call of the function module 'EDI_SEGMENT_GET_NEXT' returns one IDoc data record. In each case, the EDI interface records the current position in the IDoc, so that the function module always returns the next record.

The EDI interface is initialized either during the 'OPEN' call (to the start of the IDoc), or during the 'GET' call (to a certain data record within the IDoc). This position is then the starting point of the function module.

The exception 'END_OF_DOCUMENT' shows that an IDoc was completely imported.

The function module can be called in both 'READ' and 'PROCESS' modes.





Parameters

DOCUMENT_NUMBER
IDOC_CONTAINER

Exceptions

DOCUMENT_NUMBER_INVALID
END_OF_DOCUMENT

Function Group

EDI1

General Material Data   General Material Data  
This documentation is copyright by SAP AG.

Length: 1211 Date: 20240523 Time: 084935     sap01-206 ( 22 ms )