Procedure
A dialog box appears in which you must select the view type.
The maintenance screen for help views appears. This screen has three input areas for tables, join conditions and view fields.
You are asked to assign the help view a development class. You can change this development class later with Extras
® Object directory entry. The key fields of the primary table are copied to the view as defaults.Position the cursor on the primary table and choose Relationships. All existing foreign key relationships of the primary table are displayed. Select the required foreign keys and choose Copy. 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. In this case, position 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.To do this, position the cursor on the relevant table and choose TabFields. The fields of the table are now displayed in a dialog box. Select the required fields in the first column and choose Copy.
The input area for the selection conditions appears in place of the input area for the fields. Maintain the selection condition as described in
Maintaining Selection Conditions of Views. You can then switch back to the fields display with Goto ® View fields.A log is written during activation. You can display it with Utilities
Other Options
Creating Documentation
You can create information about using the view with Goto
® Documentation. This documentation is output for example when you print the view.Changing the Data Element of a View
Select the Mod column (modify) for the view field and press Enter. The Data element field is now ready for input. Enter the new data element there. This data element must refer to the same domain as the original data element. With the input help (F4 help) for the Data element field, you can display all the data elements that refer to the domain of the field.
If you want to assign the original data element again, you only have to reset the Mod flag and choose Enter.
Check Functions
With Extras
® Runtime object ® Check you can determine whether the definition of the view in the ABAP Dictionary maintenance screen is identical to the definitions in the runtime object of the view. With Extras ® Runtime object ® Display you can display the runtime object of the view.Displaying the Foreign Key on which a Join Condition is Based
If a join condition was derived from a foreign key, you can display its definition. To do so, position the cursor on the join condition and choose Extras
® Foreign keys.See also:
Help Views