Specifying User Interface Elements
You can use the following UI elements for self-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)
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.
|
Function |
Method |
|---|---|
|
Set UI element |
SET_EDITOR |
|
Get UI element |
GET_EDITOR |
Additional Information
For more information about the Web Dynpro elements of the toolbar, see Toolbar in the documentation on Web Dynpro for ABAP .