on 12-08-2009 6:25 AM
Hi All,
In WD ALV, the standard buttons will be invisible when the display mode is read only. Can I set them visible? And how? Thank you very much!
Best regards
HI,
When you create a custom button try to have set the enable/disable nature.if the more id read only..
Try out...
store the global reference of this custom button and absed on the read only mode try to use the set_enabled method of that cl_salv_wd_fe_button.
Regards,
Lekha.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Lekha,
I found that the standard buttons such as 'append row' 'delete row' 'check'... will disappear when the display mode is read only, but the buttons 'Export' 'Print Version' are still visible.
In my project, the requirement is that the buttons should be disable but not invisible. Unfortunately I cannot find any method to control the toolbar.
Hi,
first get the stadnard function references and can set the function as disable/enabled as required.
IF_SALV_WD_FUNCTION_SETTINGS~GET_FUNCTIONS_STD
loop through the records and set them enabled as required...
CL_SALV_WD_FUNCTION_STDuse the methods set_visible, set_enabled based on the read only mode..
Regards,
Lekha.
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.