Show TOC

  Creating a New Segment and Defining its Attributes

Use

The segments provided by SAP by default determine the type of data a DART user can extract. If the predefined set of segments do not contain the data your users need to retain, you may need to create new segments.

If the data you wish to add is related to an existing segment, you can add the desired fields into that segment . However, if the data you wish to add is from an application area for which there is no DART segment, then create a new segment.

Prerequisites

An ABAP Data Dictionary structure corresponding to the data segment you wish to add to DART must exist. The Data Dictionary structure must contain all the fields you wish to include in the data segment in DART, as in the following illustration:

In addition, you must create and activate the FTXW002 function exit to read and export the data defined by the segment.

Procedure

  1. From the main DART menu, choose Start of the navigation path Configuration Next navigation step Data segments End of the navigation path .

    The Configure data segment screen lists existing segments.

  2. Choose Start of the navigation path Edit Next navigation step Create segment End of the navigation path .

  3. At the Segment structure field, enter the name of the Data Dictionary structure you have created for the segment.

  4. In the same screen, you can optionally define the following attributes for the new data segment.

    Field or Field Group

    Description

    Segment data

    Specifies how the field is categorized in the segment list report

    If you specify the application of the segment, then the system lists the segment under the application you specify in the next time you list segments.

    Note that specifying an application does not actually tie the segment to the application area. It merely categorizes the segment in the segment list report.

    If you create a segment without defining any attributes for it, the system adds the segment by default to the Transaction data, Not assigned category.

    If you define the segment as master data, then the system adds it to the Master data, Not assigned category.

    If you define an application area for the segment, then the system lists the segment under that application within Transaction or Master Data accordingly.

    Special fields, Company code

    Specifies the field in the segment that contains a company code field, if such a field exists in the segment

    Special fields, Period

    Specifies the field in the segment that contains a period field, if such a field exists in the segment

    Source tables

    Lists the source tables used in the segment

    This does not link the segment with any source table. It is merely used in the report listing segment information.

    Note that for a segment you create, or for any customer-defined segment, you can define its attributes at any time. You can do so from this same screen by choosing Start of the navigation path Edit Next navigation step Change segment End of the navigation path .

  5. Choose Continue .

Result

The segment is added to the segment list .