출판된 한글판 도서
ERP SAP R/3 ALE, EDI & IDOC 기술 |
Original Book Contents
11.5.2 Data record
■ General
IDoc data record from the IDoc interface in the SAP R/3 System to an external system.
The data record for Release 4.0 has the structure EDI_DD40. Each IDoc consists of exactly one control record, which is followed by several data records. The data record has organizational information in the first fields, which determines the syntactical construction of an IDoc and assigns the data record to an IDoc. The record also contains structural information about the application data. The field SDATA includes application data (up to 1000 bytes), interpretation occurs field by field via the segment. The segment is in the field SEGNAM.
· SEGNAM : Segment (external name)
internal data type : CHAR
Internal length : 000030 characters
Position in Segment : 001, Offset : 0000. external length : 000030
· MANDT : Client
internal data type : CLNT
Internal length : 000003 characters
Position in Segment : 002, Offset : 0030. external length : 000003
· DOCNUM : IDoc number
internal data type : CHAR
Internal length : 000016 characters
Position in Segment : 003, Offset : 0033. external length : 000016
· SEGNUM : Segment number
internal data type : CHAR
Internal length : 000006 characters
Position in Segment : 004, Offset : 0049. external length : 000006
· PSGNUM : Number of superior parent segment
internal data type : NUMC
Internal length : 000006 characters
Position in Segment : 005, Offset : 0055. external length : 000006
· HLEVEL : Hierarchy level of SAP segment
internal data type : CHAR
Internal length : 000002 characters
Position in Segment : 006, Offset : 0061. external length : 000002
· SDATA : Application data
internal data type : LCHR
Internal length : 001000 characters
Position in Segment : 007, Offset : 0063. external length : 001000