IDocToTables
The service generates tables from an object of type IDocs.
- Input parameters
-
- iDocList
- Contains the IDocs as object of com.sap.conn.idoc.IDocDocumentList.
- Return values
-
- IDOC_CONTROL IDOC_DATA- OR -IDOC_CONTROL_REC_40IDOC_DATA_REC_40
- Both keys are document lists (Tables) containing the control and data tables for the IDoc. The
SDATA field is a Document object that contains the keys and values from the
segment table. The name of the segment table is specified by the SEGNAM
field). Note: This service handles both IDoc versions 2 and 3. The difference between the two is that, for IDocs version 2, the service looks for IDOC_CONTROL and IDOC_DATA in the pipeline. For IDocs version 3, it looks for IDOC_CONTROL_REC_40 and IDOC_DATA_REC_40.