on 05-21-2010 9:43 AM
Hi
from 7.01 Ehp1 onwards web dynpro tables and alv is having a feature to select columns and change its position.
I want to disable the functionality as i don't want user to change the column order.
Pl help me in getting this done for ALV's
Thanks
Abhi
Abhi - this is very simple.
Go to your WEB DYNPRO APPLICATIONS under your WEB DYNPRO OBJECT
Open your WEB DYNPRO APPLICATION (double click)
It will display PROPERTIES TAB with the description of your object, etc.
Navigate to the PARAMETERS TAB in the PARAMETERS column select the Search tool and search for WDDISABLEUSERPERSONALIZATION is a boolean set "X" as your default value and SAVE.
this will disable all the user personalization so the user can't move the order of the columns.
Please provide point if is helpful.
thanks!
Jason PV
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Both in Release 701 level 5.
You change the WDDISABLEUSERPERSONALIZATION to X in the Application level? not the view nor the Window...In the application?
Also try in your VIEW to do the IF_SALV_WD_STD_FUNCTIONS->SET_DIALOG_SETTINGS_ALLOWED( ABAP_FALSE ). This will disable the SETTINGS option in your ALV so the user cant change the order of columns in the settings.
But by drag and drop WDDISABLEUSERPERSONALIZATION will take care.
it looks like the user can drag the column but actually when they drop it, is not changing.
thanks!
Jason PV
Hi Try this piece of code;
show tab COLUMN SELECTION in Settings page
CALL METHOD wd_this->alv_conf_table->if_salv_wd_std_functions~set_column_selection_allowed
EXPORTING value = ABAP_false..
here alv_conf_table refers to CL_SALV_WD_CONFIG_TABLE.
Hope it helps you.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
24 | |
12 | |
9 | |
7 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.