!--a11y-->
Defining User Interface Elements 
You can use the following UI elements for self-defined functions:
· Button (CL_SALV_WD_FE_BUTTON)
· DropDownByIndex (CL_SALV_WD_FE_DROPDOWN_BY_IDX)
· DropDownByKey (CL_SALV_WD_FE_DROPDOWN_BY_KEY)
· InputField (CL_SALV_WD_FE_INPUT_FIELD)
· LinkToAction (CL_SALV_WD_FE_LINK_TO_ACTION)
· LinkToURL (CL_SALV_WD_FE_LINK_TO_URL)
· ToggleButton (CL_SALV_WD_FE_TOGGLE_BUTTON)
For optical separation between the individual UI elements:
· Separator (CL_SALV_WD_FE_SEPARATOR)

The classes in parentheses can be found in the system in the package SALV_WD_CONFIG.
To determine the UI element for a self-defined function, perform the following steps:
· Generate a right or left justified function object.
· Generate one of the toolbar elements listed above.
· Determine the properties of the toolbar element (as required).
· Assign the toolbar element to the function.
To assign a suitable UI element to a function object, use the methods of the class CL_SALV_WD_FUNCTION.
Methods for Assigning a UI Element
Function |
Method |
Set UI element |
SET_EDITOR |
Get UI element |
GET_EDITOR |
For more
information on the Web Dynpro elements of the toolbar, see the Toolbar
section in the
documentation on Web
Dynpro for ABAP.