Disable SAP User Personalisation in Web Dynpro app using WDDISABLEUSERPERSONALIZATION and WDENABLEUIELEMENTSHIDE

SAP Web dynpro applications are very powerful and deliver lots of standard extra functionality automatically. This can be very useful especially functionality such as input helps, but sometimes it can actually cause you more problems for support than it solves.

How many times have you discussed web dynpro screen personalisation when it hasn't been about a user hiding a field by mistake or setting a default value they didn't want to set? I wouldn't be surprised if you replied with never!!!

Therefore it is often desirable for a business to actually disable this functionality altogether or at least disable the ability to hide fields. By doing this you remove all those supports calls where users are unable to see field X, which you inevitably spend ages checking the application, authorisation before it dawns on you that the user has simply hidden the field.

So how do you disable it? Well there are actually two ways to achieve this, you can update your web dynpro global parameters (WD_GLOBAL_PARAMETERS) within SAP transaction SICF or you can set the parameters within an individual wdp application. Please note setting the disable personalisation parameter WDDISABLEUSERPERSONALIZATION within WD_GLOBAL_PARAMETERS will override the individual app settings.

• Method 1 - Set default parameters for all web dynpro and Portal applications

Step 1 - Execute transaction SICF
On the first screen of t-code SICF enter the service name as WD_GLOBAL_PARAMETERS and press the execute button.


Step 2 - Execute global parameters application
Ensure the application is active, if not right click on it and select "Activate service". Then right click and select "Test service", it may ask you to login with your SAP login details.


This opens up a web application with a number of parameters that can be set (i.e. WDDISABLEUSERPERSONALIZATION and WDENABLEUIELEMENTSHIDE).


Step 3 - Change personalisation parameters
Press the change button and update this parameters to the desired values and press save







• Method 2 - Disable personalisation of individual SAP web dynpro application
The parameters available via WD_GLOBAL_PARAMETERS can also be applied directly to your individual applications via the parameters tab. Please note if you have the global parameter WDDISABLEUSERPERSONALIZATION set to 'X' then this will override what you set locally within your individual application.

Step 1 - Access wdp application via SE80
Within SE80 open your "Web Dynpro Comp./Intf." Next double click on the application you want to set the personalisation parameters for.


Step 2 - Add personalisation parameter
Within the right hand screen select the parameters tab and enter the the parameter values you want set:
WDDISABLEUSERPERSONALIZATION = 'X' - Disable all customisation(overrides WDENABLEUIELEMENTSHIDE = 'X')
WDDISABLEUSERPERSONALIZATION = ' ' - Allow customisation

WDENABLEUIELEMENTSHIDE = 'X' - Allow users to hide fields (WDDISABLEUSERPERSONALIZATION must equal ' ')
WDENABLEUIELEMENTSHIDE = ' ' - User can not hide fields


Set Web Dynpro Stylesheet


Related Articles

Add programmed/OVS search help to FPM ESS/MSS application via enhancement to CL_HRESS_PER_DETAIL
BIND_STRUCTURE method of interface IF_WD_CONTEXT_NODE to assign structure to context
BIND_TABLE method of interface IF_WD_CONTEXT_NODE
Get the name of the button the user has clicked on within the SAP web dynpro action ABAP code
Create field Refering to datatype of webDynpro context element
WebDynpro context for creation of screen field including standard search help
GET_ATTRIBUTE method of interface IF_WD_CONTEXT_NODE to retrieve value of context element
GET_SELECTED_ELEMENTS to get selected row of ABAP web dynpro table when not using lead selection
GET_STATIC_ATTRIBUTE_TABLE method to return all rows of a context table node
IF_WD_CONTEXT_NODE interface methods withn ABAP Web Dynpro to enable users to view and change data
ABAP code to manually trigger ABAP web dynpro plug
Popuate SAP WebDynpro field
Freely Programmed search help for your web dynpro application (custom value help/OVS)
Change the stylesheet theme used by your web dynpro and portal apps (i.e. SAP_TRADESHOW, SAP_CORBU)
Change the stylesheet theme used by your web dynpro and portal apps (i.e. SAP_TRADESHOW, SAP_CORBU)
SET_ATTRIBUTE method of interface IF_WD_CONTEXT_NODE to assign value to individuale context attribute
Clear context attribute using SET_ATTRIBUTE_NULL method of interface IF_WD_CONTEXT_NODE
Add Dropdown by index UI Element to table field within abap web dynpro
Add freely Programmed search help to a web dynpro application field
Retrieve SAP webDynpro field value entered by user
ABAP Web dynpro ALV report table
Hide fields of a web dynpro ALV table
Display web dynpro ALV report select options to resict output results
Assign value to ABAP web dynpro context via table, structure or individual attribute
Get selected ABAP Web dynpro dropdown byindex value (dropdownbyindex UI element)
ABAP web dynpro Dropdown by index UI Element allows a field to display a drop down list of values
ABAP web dynpro Dropdown default value, allow you to set current value of dropdown UI element
Change SAP web dynpro logon screen
Read ABAP Web dynpro table context on action / button click
ABAP Web Dynpro tables to allow users to view and change data
Get selected row of ABAP web dynpro table
Get all selected rows of table within your web dynpro for ABAP applications using GET_SELECTED_ELEMENTS
Get selected row of ABAP web dynpro table
ABAP Web Dynpro tree structure, display HR org structure as example
SAP ABAP Web Dynpro UI elements
View Container UI Element to display a web dynpro view within a wdp view
ALV ABAP Web Dynpro application
ABAP Web dynpro button click / Action
Call URL from SAP Webdynpro for ABAP ACTION
Call URL from SAP Webdynpro for ABAP ACTION
Display popup screen within ABAP Web dynpro
ABAP Web dynpro populate table on action / button click
ABAP code to Print abap web dynpro table
Adding URL parameters to you ABAP webdynpro to change thinks like the CSS