Entering content frame

Process documentation Structure of the Data Records Locate the document in its SAP Library structure

Replacing SAP Codes with ISO Codes

The data records of an IDoc are created in an internal table with structure EDIDD. The relevant fields are shown below.

 

Important Table Fields for Creating IDoc Data Records

Field

Description

segnam

Segment type of the IDoc data record

sdata

1000 byte-long character field for the data used by the IDoc

 

The remaining fields in edidd should be left initial.

All the segment types and their sequence are specified in the IDoc structure. The data records are structured according to this sequence and included in the internal table.

For each segment type of the IDoc structure, there is a DDIC structure with the same name. A field string with this structure is used for creating a data record. The application data is mapped to the field string. The segment type is written to the field SEGNAM, and the field string is written to the field SDATA. This data record is then included in the internal table with the structure edidd.

When creating IDoc data records, note the following design guidelines:

 

 

 

 

Leaving content frame