Defining User Interface Elements 
You can use the following UI elements for user-defined functions:
Button (CL_SALV_WD_FE_BUTTON)
ButtonChoice (CL_SALV_WD_FE_BUTTON_CHOICE)
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)
Note
You can find the classes in the system in package SALV_WD_CONFIG.
To specify the UI element for a self-defined function, proceed as follows:
Generate a function object (see Creating, Getting, and Deleting Functions).
Generate one of the toolbar elements listed above.
Specify 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, you use the methods of 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 about the Web Dynpro elements of the toolbar, see ToolBar in the documentation on Web Dynpro ABAP.