Entering content frameProcedure documentation Creating a Ranges Table Type Locate the document in its SAP Library structure

  1. In the initial screen of the ABAP Dictionary, enter the name of the ranges table type in field Data type and choose Create.
  2. A dialog box appears in which you must select the type category.

  3. Select Table type and choose This graphic is explained in the accompanying text.
  4. The maintenance screen for table types appears.

  5. Enter an explanatory short text in the field Short text.
  6. You can for example find the ranges table type at a later time using this short text.

  7. Choose Edit ® Define as ranges table type.
  8. You go to the maintenance screen for ranges table types. The access mode, key definition and key category are defined in advance for a ranges table type, so you do not need to define them.

    To define the ranges table type, you only have to specify an elementary type for the types of the LOW and HIGH components of the corresponding row type.

    If you want to define the types of the LOW and HIGH components using an existing data element, you must select Data element and enter the name of the data element in the subsequent field. You can also enter the name of a data element that does not yet exist and go directly to the data element maintenance screen by double-clicking to create it.

    You can also define the elementary type of the LOW and HIGH components directly. Select Built-in type. You can now enter values for fields Data type, Number of places and Decimal places.

  9. Now enter a name for the row type of the ranges table type in field Structured row type.
  10. A ranges table type must have a row type, just like any other table type. This row type always has a fixed structure for the special case of ranges table types. You can therefore generate the row type from the maintenance screen of the ranges table type.

  11. Save your entries.
  12. You are asked to assign the ranges table type a development class. If needed, you can change this development class later with Goto ® Object directory entry.

  13. Choose Create. You can generate the row type of the ranges table type with this function.
  14. The maintenance screen for structures is displayed. The components of the row type are already assigned based on your definition of the associated type for the LOW and HIGH components. You only have to enter a short text for the row type and Activate it. Then choose Back.

  15. Choose This graphic is explained in the accompanying text.

Result

The ranges table type is now activated. The runtime object of the type is created. At activation, a log is written; it can be displayed with Utilities ® Activation log. If errors occurred during activation, the activation log is displayed immediately.

Leaving content frame