Providing ALV Standard Functions Using Application-Specific UI Elements
Use
If you activate an ALV standard function then this is provided to the user using a specific UI element and/or using an entry in the settings dialog box. If you want to use an ALV standard function and want to visualize this for the user in a different way, then you can do this by defining a function of your own and assigning it using the ALV standard function.
To assign a standard ALV function to a self-defined function, you use the methods of class CL_SALV_WD_FUNCTION.
In this case you must assign the function but hide the related interface elements.
You can replace the following UI elements for standard ALV functions in this way:
-
Send dropdown list box and individual entries in the dropdown list box
-
Display As dropdown list box and individual entries in the dropdown list box
-
Insert Row, Append Row, and Delete Row pushbuttons
-
Check pushbutton
-
Undo pushbutton
-
Excel and Print Version pushbuttons
-
Filter pushbutton and the Define Filter and Delete Filter functions
-
Settings pushbutton and the Open Settings Dialog Box and Close Settings Dialog Box functions
-
Views dropdown list box
Methods for Assigning a Standard ALV Function
|
Function |
Method |
|
Assign standard ALV function to a self-defined function |
SET_FUNCTION_STD |
|
Get standard ALV function that is assigned to a self-defined function |
GET_FUNCTION_STD |
See also: