Entering content frameProcedure documentation Extending the Structure to Include New Fields Locate the document in its SAP Library structure

Use

When adding fields to one of the SAP-provided segments, you must first extend the corresponding Data Dictionary structure to include these fields.

Prerequisites

If the field that you are adding is of numeric data type in the source table, you will need to convert its data to non-numeric data. You do so through programming function exit FTXW0001. In addition, you must define the field as non-numeric in the data dictionary and in the DART segment. As a result, you cannot use the data element of the field in the source table as the basis for the dictionary field you are creating in this procedure, because its type is inappropriate.

You must then create a non-numeric data element to be used by the field you are adding in this case. You may define some of the attributes of this new data element to be the same as the numeric data element used by the source table (except for its name, data type, and domain).

Procedure

All the structures corresponding to the SAP-supplied segments contain an INCLUDE structure, starting with CI_. You add fields to these structures by adding them to the INCLUDE section of the structure, as in the following illustration:

This graphic is explained in the accompanying text

  1. Call the Data Dictionary.
  2. Enter the name of the structure into which you wish to add a field.
  3. Choose Display.
  4. Double-click on the line which contains the INCLUDE structure name starting with CI_.
  5. Choose Yes, at the Create table/structure dialog.
  6. Choose Continue at the Initial Screen: Editing Objects dialog.
  7. Enter a Development class, if prompted.
  8. Enter the name of the field(s) you wish to add to the segment.

Use the following rules for adding a field:

  1. Save the changes you have made and activate the structure.

 

 

Leaving content frame