on 2015 Jun 11 1:34 PM
hi,
i have disabled personalization for end users with WD_GLOBAL_SETTINGS and setting parameter for disable personalization to 'X'. This works perfect, BUT:
i have a standard web dynpro application FITV_POWL_TRIPS. There is the (ALV) button for the settings dialog, see screenshot:
The end user is able to click this button and change the layout of the ALV list, see second screenshot. Then he can save everything in an own view.
But this also has to be avoided ! The user should NOT be able to do this.
It seems that this ALV settings have nothing to do with personalization and disable personalization. So HOW can i avoid that end user can do changes there ? Can i hide the button somehow ?
btw: hopefully this is not a global setting as in other applications this has to be allowed. but not in this (and 2 other) applications.
br, Martin
Hi Martin,
Can you please try this way..
Goto SE80 select "Web Dynpro Comp. / Intf." and open your compoent, expand the Views folder. Select the view. Go to the Methods tab and select Enhance from the toolbar.Assign an name to the enhancement. Scroll left in the list of methods and create a Post-Exit method for the method INITIALIZE_ALV and code as below:
data lo_interfacecontroller type ref to iwci_salv_wd_table.
data lr_config_model_value type ref to cl_salv_wd_config_table.
lo_interfacecontroller = wd_this->wd_cpifc* get the interface controller instance.
lr_config_model_value = lo_interfacecontroller->get_model( ).
lr_config_model_value->if_salv_wd_std_functions~set_dialog_settings_allowed( abap_false ).
Thanks,
Shailaja Ainala.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi there,
i am still stucking with this issue. now i have also from end-user side the requirement to HIDE(!) this button in EVERY ALV inside ESS. This button occurs at about 10 standard-alv's in our "new" ESS which is in test-phase.
E.g. in CATS-timesheet application, see first screensshot, or in travel management, see second screenshot.
Is there any modification-free(!) way to hide this "stupid" button for all applications ?
br Martin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Martin,
Kindly try the following code to hide the settings button.
DATA l_table_config TYPE REF TO cl_salv_wd_config_table. " For Get model
l_table_config = l_ref_interfacecontroller->get_model( ).
l_table_config->if_salv_wd_std_functions~set_dialog_settings_allowed( abap_false ).
l_table_config->if_salv_wd_std_functions~set_display_settings_allowed( abap_false ).
- Gowtham
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Martin,
Refer the following links for detailed information about ALV in WDA.
Creating a WebDynpro ALV Application in 30 easy steps
http://wiki.scn.sap.com/wiki/display/WDABAP/Creating+an+ALV+List+in+Web+Dynpro+Application
- Gowtham
User | Count |
---|---|
66 | |
10 | |
10 | |
10 | |
10 | |
8 | |
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.