Show TOC

Generating Values Statically in Value HelpLocate this document in the navigation structure

Use

You use this procedure to generate values statically in value help using the wizard.

  • The wizard allows you to create context attributes if not created earlier and edit it if already created.

  • You can create context attributes of simple type dictionary or string.

  • If the dictionary type does not exist then the wizard allows you to create simple type dictionary.

  • The simple type dictionary normally has enumeration values associated with it which is displayed and is filled into the UI element during runtime.

  • If the simple type context attribute does not contain enumeration values then you can create new enumeration values which will be filled in the UI element during runtime.

The context attribute is bind to the UI element in which the enumeration values are listed during run time statically.

Note
  • You must create a context attribute of simple type dictionary for SVS.

  • You must create a context attribute of simple type dictionary or string type for EVS.

Prerequisites

You have created a Web Dynpro development component, and the corresponding window and view are available.

More information: Creating a Web Dynpro DC

Procedure

Create Static Values for SVS

  1. Drag the DropDownBYKey UI element and drop it on the view designer.

  2. Using the secondary mouse button, choose Start of the navigation path Fill Values Next navigation step Apply End of the navigation path.

    The Fill Values wizard appears.

  3. Follow the instructions in the Fill Values wizard to generate values statically in a Simple Value selector .

Create Static Values for EVS

  1. Drag the InputField UI element and drop it on the view designer.

  2. Using the secondary mouse button, choose Start of the navigation path Fill Values Next navigation step Apply End of the navigation path.

    The Fill Values wizard appears.

  3. Follow the instructions in the Fill Values wizard to generate values statically in an Extended Value selector .