Hi, I'm Ask INFA!
What would you like to know?
ASK INFAPreview
Please to access Ask INFA.

Table of Contents

Search

  1. Preface
  2. Introduction to SAP Connector
  3. Connections for SAP
  4. Data integration using BAPI/RFC functions
  5. Data integration using IDocs
  6. SAP data type reference

SAP Connector

SAP Connector

Segments and groups

Segments and groups

An IDoc is a hierarchical structure that contains segments. A segment can be a parent or child. A child segment depends on another segment. A parent segment contains child segments. A parent segment can be a child of another segment.
IDoc segments are organized into groups. The following rules determine the group to which a segment belongs:
  • A parent segment starts a new group. For example, in the MATMAS04 IDoc, the E1MARCM segment contains a child and therefore starts a group.
  • A child segment that is not a parent belongs to the group that is started by its immediate parent. For example, in the MATMAS04 IDoc, the E1MARA1 segment does not contain a child and therefore belongs to the group of its parent E1MARAM.
  • A group can also be a parent or a child.

0 COMMENTS

We’d like to hear from you!