Entering content frame

Procedure documentation Defining Value Attributes, Key Attributes, and GUIDs Locate the document in its SAP Library structure

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 value attributes, key attributes, and GUIDs, you must:

  1. Choose the corresponding table field by double-clicking it.
  2. The Editing Area is filled with the appropriate values. This includes the attribute name, description, and attribute type. The remaining fields display suggested values.

    The suggested values for the assignment type 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.

    This graphic is explained in the accompanying text

  3. You can change the values in the Editing Area.
  4. Caution

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

  5. Accept the entries made in the Editing Area with RETURN or choose This graphic is explained in the accompanying text.
  6. If other table fields exist, then these are automatically filled in the Editing Area.

  7. If necessary, repeat steps 1 to 3 for further table fields.
  8. 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.

 

 

Leaving content frame