Show TOC

Modeling Value Help in Web Dynpro ApplicationsLocate this document in the navigation structure

Use

You use this procedure to:

  • Generate dynamic values in a Web Dynpro application using interactive wizards for modeling value Helps in Web Dynpro applications

  • Provide functionality by using Object Value Selector (OVS) for entering and executing a search query and copy values of a selected object back to one or more input fields

Prerequisites

You have:

Procedure

Generating dynamic values using interactive wizards

  1. Drag the DropDownByKey or 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.

  3. Follow the instructions in the Fill Values wizard to generate dynamic values in the SVS or the EVS.

    Note
    • SVS is applicable for DropDownByKey UI element, and EVS is applicable for InputField UI element.

    • For SVS or EVS, you have the option of filling values either statically or dynamically. Filling values dynamically allows for custom code to be included with the values to be visible on load of the value help.

      For more information, see Providing Long Value Lists (EVS) , Providing Short Value Lists (SVS)

    The wizard generates a default piece of code, which can be modified in the Java editor based on the business logic.

Providing Search Result Value List using Object Value Selector

Applying OVS to an InputField UI element

  1. In the view designer browser area, select an InputField UI element.

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

  3. In the Fill Values wizard, select Object Value Selector (OVS).

  4. Follow the instructions in the Fill Values wizard to create an OVS user interface.

    Note

    All input field attributes used for defining search criteria must be at the same level in Model Class hierarchy. All attributes displayed in the search result table must belong to the same Model Class (OVS output node after model binding). OVS supports input or output attributes only at the same level. For more information, see Providing Search Result Value Lists (OVS) .

Editing OVS for an InputField UI element for which OVS has been applied

  1. In the view designer browser area, select the OVS button that appears next to an InputField UI element.

  2. Use the secondary mouse button, and choose Start of the navigation path Fill Values Next navigation step Edit End of the navigation path.

  3. Follow the instructions in the Fill Values wizard to edit the OVS user interface.

Delete OVS for an InputField UI element for which OVS has been applied

  1. In the view designer browser area, select the OVS button that appears next to an InputField UI element.

  2. Use the secondary mouse button, and choose Start of the navigation path Fill Values Next navigation step Delete End of the navigation path.

  3. Follow the instructions in the Fill Values wizard to delete the OVS interface.

Note

You must adhere to the type constraints when you map an operation between the source and target attributes.