Entering content frameProcedure documentation Defining Key Fields Locate the document in its SAP Library structure

Use

Objects are always identified using one or more key fields. You specify what key information is required to uniquely identify an object of this type.

Prerequisites

You are on the screen Change Object Type <object type> in the Business Object Builder.

Procedure

  1. Position the cursor on the component name Key fields (blue background).
  2. Note

    You cannot change the key fields in a subtype.

  3. Choose This graphic is explained in the accompanying text.
  4. Answer YES to the question Create with ABAP Dictionary field proposals?
  5. The Create with Data Dictionary Field Proposals dialog box appears.

  6. Enter the table from which you want to reference the fields, and select the fields that are the key fields of your object type.
  7. Note

    Only alphanumeric data types are allowed as key fields. The total length allowed for all key fields of an object type is 70 characters.

  8. Edit the ID and texts of the key field as required. Bear in mind the rules for naming object type components.
  9. Choose This graphic is explained in the accompanying text.

For more information, see Data Declaration for Variables Used.

Leaving content frame