Personalizing Web Dynpro iViews Based on
Roles
Role-based Personalization is a process in which the portal content administrator can adapt an application to the requirements of users belonging to a particular role. You perform this process in SAP NetWeaver Portal during Web Dynpro application runtime. This is done at the iViews level inside a role and is stored in the Portal Content Directory (PCD). These properties are not visible in the standard iView editor, they are stored together with the iView object instance.
If an iView is transported to another portal all these properties are also transported. This is needed to make sure that role-specific changes are transported together with the role.
● Personalization is automatically available for each Web Dynpro application on the SAP NetWeaver Portal. You can disable personalization by setting AllowUserPersonalization in the Web Dynpro runtime environment configuration to false. The default setting for this value is true.
More Information:
Configuring the
Web Dynpro Runtime Environment
● You have pasted the iView into the relevant role as a Delta Link, not as a Copy.
...
1. In the Portal Catalog, in the relevant folder, select the role, open the context menu and choose Open → Role.
2.
Select the relevant
iView and choose Edit.

3.
Click Preview to run the iView.
To
verify that the iView is running in administrator mode, check that the parameter
sap-config-mode=true is part of the
iView’s URL.
4. To open the personalization dialog, click the secondary mouse button and choose Settings of Current Role…
...
The figure below shows the available personalization options:

● (1) Personalized Elements
This section provides an overview on all UI elements that have been personalized. You can review all personalization settings that have been performed for this iView.
● (2) Screen Composition
○ Allows you to navigate through the UI element hierarchy by selecting the UI elements you want to personalize. Additionally you can use the buttons Top and Up to navigate.
○
Choosing Custom in the drop down box followed by Edit Perspective
,
you can display additional information.

● (3) Specify properties or arrangement of single UI elements or forms
Properties:
○ Depending on the individual UI element you can change different properties. All personalizable properties are displayed
○
Properties that end
users can change in their User Settings are
displayed with a lock symbol
. You can lock and unlock this option for the end
user here by selecting the check box of the relevant property followed by
clicking the lock symbol.
○ You can always reset a property to the default value by deselecting the item’s check box.
○ The Reset All button enables you to reset all of the personalization settings of the respective UI element.
○ Set default values by selecting the check box and entering a value in the New Value column.
Rearrange
○ You can rearrange columns in a table or lines in a form using the Top, Up, Down and Bottom buttons and you can specify whether they are displayed using by hiding selected columns or rows.
Custom Extensions
A Custom Extension Field is a field a customer has added to the data structure on which the UI operates. The customer extends the structure in the back-end, these additional fields are transported through all layers to the UI.
○ You can set a Extension Field to active and then select the appropriate UI element in the Editor column to add it to the iView.

○ You can decide whether end users can see this field in their personalization dialog box by selecting the Visible checkbox.
● (4)
○ Disable end-user personalization for this iView checkbox. Disables all personalization options for the end user.
○ Reset iView button. You can reset all personalization settings for the entire iView here.