Entering content frameProcedure documentationCreating a New Segment and Defining its Attributes Locate the document in its SAP Library structure

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:

This graphic is explained in the accompanying text

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 Configuration ® Data segments.
  2. The Configure data segment screen lists existing segments.

  3. Choose Edit ® Create segment.
  4. At the Segment structure field, enter the name of the Data Dictionary structure you have created for the segment.
  5. In the same screen, you can optionally define the following attributes for the new data segment.
  6. 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.

       

    Index fields

    Specifies one or more fields for which the system creates indexes

    Indexes improve the performance of data views that are based on this segment.

    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

    Control totals, Key figure

    Designates one of the fields in the segment as the key figure for control total

    The values in this field are added to create a control total sum.

    Control totals, Grouping field

    Designates one of the fields in the segment as the grouping field for control totals

    When calculating control totals, the system groups the segments by the values in this field. It then sums the values in the Key Figure field (see above) for each of the group.

    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 Edit ® Change segment.

  7. Choose Continue.

Result

The segment is added to the segment list.

 

 

 

 

Leaving content frame