Show TOC

FieldsLocate this document in the navigation structure

 Contexts are obsolete and should not be used. Contexts were introduced in Release 4.0 for high-performance access to frequently required data. Since the introduction of ABAP Objects for Release 4.5, contexts have not been developed further. Since Release 6.40, contexts can be replaced by shared objects .

The following figure shows the Fields table for the example context DEMO_TRAVEL:

You can enter new modules in the table directly, or fill it automatically by creating fields in the Modules table. You can delete all surplus fields from the context.

Note

All fields in a context must have a reference to ABAP Dictionary.

To edit the table, use the selection column and the pushbuttons on the left hand side of the table.

The table columns have the following meanings:

  • Name

    The field names which you use to address the fields in the context.

  • Type

    The dictionary reference for the field. This can be a column of a database table or structure or a type in a type group.

  • Text

    The short text for the field from ABAP Dictionary.

  • Default Value

    You can enter default values for key fields in this column. If you do this, the key fields of each instance of the context that you create in an application program are supplied with these values during instantiation.

  • Like

    In this column, you use the abbreviations L or T to specify the type of reference between the field and ABAP Dictionary. Enter L if the field refers to a database table or structure (LIKE), or T if the field refers to a type in a type group (TYPE). The system normally assigns the correct value automatically.