cancel
Showing results for 
Search instead for 
Did you mean: 

ALV settings in web dynpro abap

Former Member
0 Kudos

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

View Entire Topic
former_member262988
Active Contributor
0 Kudos

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.

Former Member
0 Kudos

Hi Shailaja,

thank you, il will try this tomorrow as i have no system access right now.

but anyway: when i have 10 applications where i want to hide this button i have to do 10 enhancements on 10 different places, right ?

br, Martin