Show TOC

 Defining Value Attributes, Key Attributes, and GUIDsLocate this document in the navigation structure

Use

This section describes the procedure for deriving attributes from fields.

Prerequisites

If you wish to assign a GUID to a table field as a technical object identifier, the field must be of type OS_GUID.

Procedure

To define the assignment of single-valued attributes, key attributes, and GUIDs:

  1. Choose the corresponding table field by double-clicking it.

    The attribute name, description, and attribute type are completed automatically. The remaining fields display suggested values. The suggested values are based on information stored in the ABAP Dictionary about this field:

    • A primary key field contains the suggested value Business key.
    • A field of type OS_GUID has the value Object reference.
    • All remaining fields have the suggested value Value attribute.
  2. You can change the values in the editing area.
    Caution

    For a GUID, do not accept the suggested value Object reference for the assignment type, but select the entry GUID instead.

  3. Accept the entries by choosing Enter .
  4. If other table fields exist, they are automatically completed in the editing area.
  5. Carry out the next step following the procedure in the section Defining Persistence Representation .
    Caution

    For all database tables that have a business key as a primary key, you must derive all key fields of the table from persistent attributes to ensure the uniqueness of this type of key.