Show TOC

Combining SegmentsLocate this document in the navigation structure

Prerequisites

You require development authorizations (authorization object S_IDOCDEFT, for example, in the role SAP_BC_SRV_EDI_DEVELOPER) for new definitions. Development takes place in the customer system.

Procedure

You can

  • Copy SAP segments which you wish to use in your extension into your namespace ("Create with reference").

  • Create segments without reference.

The following section assumes that you are creating segments without reference, that is, defining new field combinations.

  1. Choose Start of the navigation path SAP Menu Next navigation step Tools Next navigation step IDoc Interface/ALE Development Next navigation step IDoc Next navigation step Generate ALE Interface Next navigation step Segments (WE31) End of the navigation path. Chose Utilities Requests (Organizer) to create a request. You will assign all development objects to this request later. Return to the segment editor.

  2. Name your segment type and choose . Also observe the namespace.

  3. Describe your segment and enter the field names and data elements from which the field lengths (in bytes) and any fixed values are to be determined via the domains. The documentation for the data element is also copied and displayed by the documentation tools.

    Note

    You should still enter a specific documentation for your segment type by choosing Start of the navigation path Goto Next navigation step Documentation End of the navigation path.

  4. Save the segment definition by choosing . Enter the segment in a transport request.

  5. Choose Back. The segment definition you have created appears with the version number 000 in the segment editor.

Example

In the example, your segment has the name Z1TEST1 and has the following fields:

Field

Data Element

Length

Continent

CHAR20

20

Country

CHAR2

2