Entering content frame

This graphic is explained in the accompanying text Create and Maintain Context Attributes Locate the document in its SAP Library structure

Prerequisite

The Workbench must be in change mode if you want to create and maintain context attributes.

Create

·        To create a new context attribute, select the node where the attribute should be inserted and open its context menu.

The following options are available when you create a context menu:

Attribute name

Name of the attribute to be created (unique within the node, all uppercase letters).

Required

Typing

If you want to use a data type or a type from the ABAP Dictionary, do not change the default "type".

Alternatively, you can also reference a data object. In this case, select the "type ref to" type.

Optional

Type

Specify either a data type for the attribute, or the referenced object.

When you select the data type, you can select Data Dictionary data elements as well as data types for the Web Dynpro runtime. The latter are a set of data types that have been especially composed to design interface element properties (example: data type WDUI_VISIBILITY to describe the property visible).    

Required

Read-only

Here you decide whether or not the attribute should be write-protected.

Optional

Default value

The attribute can have a preconfigured value.

Optional

Possible entries mode

 

You can select different possible entries modes:

Deactivated: No possible entries mode was selected

Automatic: If available, an appropriate ABAP Dictionary is selected automatically.

Dictionary search help: You determine manually that an ABAP Dictionary search help is linked to this attribute.

Object value selector: You determine manually that a component usage for system component WDR_OVS is linked to this attribute (see Object Value Selector (OVS)).

Depending on which mode you select, you can then decide in the subsequent row which Dictionary search help or which component usage of system component WDR_OVS should be linked to the attribute.

If you selected the option Automatic as the possible entries mode, the automatically determined search help is displayed in this row.

 

·        When you confirm the dialog, the attribute is added to the context hierarchy.

Creation Using a Wizard

If you create a new attribute using the wizard, you can select components from an existing Structure linkstructure that is stored in the ABAP Dictionary.

·        From selected node’s context menu, select the entry Create using wizard® Attribute from components in a structure.

·        In the dialog that follows, specify a structure from the ABAP Dictionary. You can also use the input help (F4 key) here.

·        You can then select the required components in the structure that is displayed.

·        When you confirm the dialog box, the attribute is copied to the context you processed.

Properties Table of the Context Attribute

Once you have created an attribute for a context node, its properties are listed in a table at the bottom of the editor - provided that the attribute is selected in the context hierarchy. You have the option of changing these attribute properties as long as the Workbench is in change mode.

 

 

Leaving content frame