WebDynpro Component and Application Configuration – Disabling Personalization
ABAP WebDynpro is a greay technology for MVC development of Web or SAP GUI applications. For anyone who has developed ABAP WebDynpro applications, you will already know that some screens (views) will allow the user to personalize their layout. Personalization is a really good concept but can also have its limitations. For example, I have found that if you use the table control on your WebDynpro Views, then you should probably disable personalization for the particular WebDynpro application. Why do I say this? When using the table control, you may have noticed that by default the table will alternate its width while the user is scrolling through the table entries. There is nothing more annoying than a table changing its width causing the user to constantly have to move the mouse to the new location of the scroll bar.
There is a table property “fixedTableLayout” which WILL fix the width of your table.
The only problem with this property is that a user can still change the width of individual columns which can ultimately change the overall width of the table. Very annoying….. This can be resolved by also disabling personalization.
Here’s an example of a table changing its width:
After scrolling you can see the table shrunk its width to the size of the data:
How to correct this behavior:
First: You need to set the table parameter, fixedTableLayout, as discussed earlier:
With this setting alone, the user will see a fixed width table, but the user will still be able to manipulate the column widths. This can cause your table to act odd (especially if the table is embedded within another control – such as a group that has its own width properties).
As a quick note: if you ever need to delete a personalization setting for a particular user, you can use the following link:
This link will launch the following screen where you can delete personalization settings:
Second: You need to disable personalization. To do this, do as follows:
1. Right mouse click your WebDynpro Application and select Create/Change Configuration
2. The following screen appears:
3. Enter a Z name for your configuration ID and select Create. Enter a package and transport.
This will create a configuration profile under your WebDynpro application:
4. You can now launch the configuration editor by double clicking the configuration name, ZWD_GETFLIGHTS in my case. You will see many parameters that can be changed. Make sure to check the “Do Not Allow Personalization”.
Now to check this parameter change worked, simply click your application configuration and select test. Your application launches and personalization has been disabled.
In addition to the above settings, I add the following parameter WDDISABLEUSERPERSONALIZATION setting to my DynPro application settings: