Start of Content Area

Procedure documentation Creating Help Views  Locate the document in its SAP Library structure

Procedure

  1. Enter an explanatory short text in the field Short text.
  2. You can for example find the view at a later time using this short text.

  3. Enter the primary table of the view under Tables in the Tables/Join conditions tab page.
  4. Only tables that are linked with the primary table (indirectly) with a foreign key can be included in the view.

  5. Save your entries.
  6. You are asked to assign the help view a development class. You can change this development class later with Extras ® Object directory entry.

  7. If required, include more tables in the view. In a help view you can only include tables that are linked to one another with foreign keys.
  8. Position the cursor on the primary table and choose Relationships. All existing foreign key relationships of the primary table are displayed. Select the foreign keys and choose This graphic is explained in the accompanying textCopy. The secondary table involved in such a foreign key is included in the view. The join conditions derived from the foreign keys (see Foreign Key Relationship and Join Condition) are displayed.

    You can also include tables that are linked with a foreign key to one of the secondary tables already included. To do this, place the cursor on the secondary table and choose Relationships. Then proceed as described above.

    For maintenance and help views, there are certain restrictions on the foreign keys with which the tables can be included in the view (see Restrictions for Maintenance and Help Views). The foreign keys violating these conditions are displayed at the end of the list under the header Relationships with unsuitable cardinality.

  9. On the View fields tab page, select the fields that you want to copy to the view. The key fields of the primary table were automatically copied to the view as proposals.
  10. Choose Table fields. All the tables contained in the view are listed in a dialog box. Select a table. The fields of the table are now displayed in a dialog box. Select the required fields in the first column and choose This graphic is explained in the accompanying textCopy.

  11. On the Selection conditions tab page, you can (optionally) formulate restrictions for the data records to be displayed with the view (see Maintaining Selection Conditions for Views).
  12. The selection conditions define the data records that can be selected with the view.

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

Result

The view is now activated. At activation, a log is written; it can be displayed with Utilities ® Activation log. If errors or warnings occurring when the view was activated, they are displayed directly in the activation log.

Other Options

See also:

Help Views