headershadow

How to find which personalization settings someone made using the “personalization” link in the system links

Print Friendly

Let me first start with the following question: Why in God’s name would someone be interested in this kind of information in the first place? Well –let me tell you that whenever you encounter a certain “bug” in your system (especially the type where you have an issue for a specific user –that is using the same SAP CRM business role –has the same authorizations, and you are trying to figure out what is going on – you are struggling to find a solution – you are looking for the needle in the haystack) than at this point the information below “might” be very relevant for you.

Just to cut to the chase – at my current customer we have noticed multiple times that certain functionalities in SAP CRM were not behaving in the same way as they were supposed to – e.g. email behavior in the ERMS context, but also other things. If you notice that out of 50 users 48 do not have an issue with this functionality – and the only different but obvious thing you notice immediately is that this user is not using the same Skin, than I can tell you – God has its mysterious ways – but so does SAP. For me – a skin is a skin – and should Not have any influence whatsoever on a business process, but apparently this can happen.

For your information: at this particular customer we have created only 1 custom made specific skin. As all end-users are expected and supposed to use that skin, we clearly only perform unit and integration testing on our development and acceptance system, using that same skin. (but you know end-users I guess …they always play with new tools)

1. Finding that personalization table

As we noticed once again some user was stubborn, and decided to change skins, we now wanted to actually “find” back who was using the Customer Skin or not...so we needed to find out in which table this information was stored.

On a regular basis I have some sort of game/competition where a colleague and I try to solve an issue or in this case find an answer the quickest. As my colleague Rob has more experience in debugging (he has developed in the past) he usually starts his “quest” using the debug style ….

As a functional consultant I use other approaches (although it usually includes some debugging…as a last resort –as my colleague would obviously beat me on that particular topic).

Functional approach:

  1. I looked at the technical details of the view that allows Skin Personalization. Using the F2 button, I quickly found out the component/view information: CRM_BSP_PERS/Layout
  2. I next quickly checked the class of this view using the BSP component workbench (BSP_WD_CMPWB): CL_CRM_BSP__LAYOUT_IMPL
  3. I next moved on to SAP OSS notes (my biggest source in finding relevant technical information). Looking at notes relevant to Skin changes/issues, I then would quickly check if I could find a relevant class/function module/method that I can check via SE24/SE37/SE80/…. By looking at the code of such a method or function module I was hoping to find the relevant table. Well – I found 2 useful classes/methods –but still had troubles finding the relevant table.
  4. Now my time was ticking away–and I tried an ST01 or ST05 table trace (SQL).

In the output of this trace there were quite some tables, so I quickly tried to scan them via transaction code SE11/S16. Suddenly I heard my colleague say – hey Davy – I found the table. When he mentioned the name I got a bit frustrated, as 2 minutes earlier I actually already had a brief look at that particular table, but thought it was not the relevant one…if you look at how you need to look up the skin details by user –than you’ll probably understand why I overlooked it in my haste.

We found out a lot of personalization objects of a user are stored in table SPERS_OBJ. Below some of the things you can find in this table are displayed.

Skin settings/personalization:

Go to the table SPERS_OBJ using transaction code SE11 or SE16 and display the data browser:

SAP CRM   table SPERS_OBJ

Use CRM_THTMLB_PERS_SKIN as PERS_KEY and enter the user ID as OBJECT_ID:

SAP CRM   table SPERS_OBJ

Executing this results in getting the value of the skin personalization for this user in the field FIELDVALUE (in this case default):

In the SAP CRM WEBUI, choose “Personalize” in order to personalize the skin:

Choose “Personalize Layout”:
Personalize Layout in SAP CRM WEBUI

Now select a different skin:
change the Skin in the SAP CRM WEBUI

Make sure to save when the new skin appears:

In table SPERS_OBJ we can now see that the value has changed (HIGH CONTRAST in this example:

Text Size settings/personalization:

In table SPERS_OBJ, use CRM_THTMLB_PERS_FSIZ as PERS_KEY to find the text size for a specific user:

Performance settings/personalization:

The first performance setting can be found using CRM_THTMLB_PERS_NOEF as PERS_KEY in table SPERS_OBJ:

The second performance setting can be found using CRM_CONFIG_MODE_ENABLED as PERS_KEY in table SPERS_OBJ:

Recent Items settings/personalization:

In the navigation bar you can find a section ‘Recent Items’ that can be personalized in certain business roles (e.g. SALESPRO):

Personalization can be done using ‘Personalize’ in the WebUI:

Choose ‘Personalize Navigation Bar’:
Personalize the Navigation Bar in SAP CRM

Choose ‘Recent Items’ in the dropdown list:

In the screen that appears you can choose to display the recent items and the number of entries that need to appear:

The chosen options are all stored in table SPERS_OBJ. Use PERS_KEY CRM_PERS_RECENT_OBJECTS. Per profile you’ll find three values that return in the field FIELDNAME:

  • HIDDEN: The opposite of the value of the checkbox that indicates whether the recent items should be displayed or not
  • MAX_NUM: The number of entries that are displayed as recent items
  • PROFILE: The profile the personalization of recent items is valid for (e.g. SALESPRO)

2. Hide skins

As a second topic of this article, I will show you how to hide certain skins. For our earlier problem, this seems the best way to avoid any future problems due to using a different skin.

If I logon to my demo system I currently see the following skins available:

Let’s assume I want to disable the skin “Serenity”.

First of all, find out the name of the skin you want to hide from the personalization settings. Do this by using following path in transaction code SPRO:

SPR→IMG→Customer Relationship Management→UI Framework→UI Framework Definition→Skins→Define Skins
SAP CRM Customizing - Define Skins

The table in which you can define which skins should be “disabled” is

Maintain table CRMC_THTMLB_SKNE in transaction code SM30:

CRMC_THTMLB_SKNE

Choose new entries and add the skins you want to hide/deactivate:

Using the input help, I now can see the list of available skins:

As I want to ‘disable’ SERENITY for this example, I select it.

Now I log-off and on again, I check the result in the CRM WEBUI.
Great – Serenity is no longer visible in the list – as you can see in below screenshot.

Cheers and talk to you soon
Davy

The SAP University Team

Davy has been working as an SAP Consultant since 2000 and started working in the SAP IS-U Module , but as of 2002 he has mainly worked as functional SAP CRM consultant and SAP Authorizations consultant.
More about

One thought on “How to find which personalization settings someone made using the “personalization” link in the system links


Comment author said

By dhruvin on 17 June 2015 at 10:33

Funtastico!

 

Leave a Reply


*