Ansicht
Dokumentation

EDI_DOCUMENT_OPEN_FOR_READ - EDI interface: Open IDoc for reading

EDI_DOCUMENT_OPEN_FOR_READ - EDI interface: Open IDoc for reading

General Data in Customer Master   BAL_S_LOG - Application Log: Log header data  
This documentation is copyright by SAP AG.
SAP E-Book

The reading of an Intermediate Document is initiated with the function module 'EDI_DOCUMENT_OPEN_FOR_READ'. Several Intermediate Documents can be read at the same time using a corresponding number of 'OPEN' calls.

The Intermediate Document can be read sequentially from the first data record with the function module 'EDI_SEGMENT_GET_NEXT' in a further process. Alternatively, the Intermediate Document can be positioned on a certain data record using the function module 'EDI_SEGMENT_GET'. Sequential processing then restarts at this position.

In 'READ' mode, the status of the Intermediate Document cannot be changed.





Parameters

DB_READ_OPTION
DOCUMENT_NUMBER
IDOC_CONTROL

Exceptions

DOCUMENT_FOREIGN_LOCK
DOCUMENT_NOT_EXIST
DOCUMENT_NUMBER_INVALID

Function Group

EDI1

CL_GUI_FRONTEND_SERVICES - Frontend Services   Vendor Master (General Section)  
This documentation is copyright by SAP AG.

Length: 1292 Date: 20240523 Time: 094048     sap01-206 ( 24 ms )