cancel
Showing results for 
Search instead for 
Did you mean: 

Set Default value of Personalization Object Key for all User Created.

hmnsh_grwl
Explorer
0 Kudos

Hi,

I want default value of PERSONALIZATION OBJECT KEY - "WCF_FAVORITE" to be TRUE , for all users I create in system.

Please guide.

(I don't want to edit it for all new user created , nor want to add in Business Role Personlization Tab)

PERSONALIZATION OBJECT KEY - Personalization Tab in SU01

I know there are 3 levels , where I can maintain value of Personlization Object Key ,and I think , if value is maintained at more than 1 level, value at User Level overrides value at system/role level.

I want to define value at System Level and want it to override value at any level.

hmnsh_grwl
Explorer
0 Kudos

Thanks....!

Accepted Solutions (0)

Answers (5)

Answers (5)

bruce_li
Contributor

Hi Agrawal,

Your requirement is not included in standard delivery. It is designed that the personalization settings are checked sequentially, first on user level, then on business role level, then on PFCG role level and finally on system level.


You need to do a modification on below method according to your requirement, which is not recommended by SAP.

CL_THTMLB_PERSONALIZATION
GET_PERS_DATA

Best Regards,

Bruce

bruce_li
Contributor

You can also read following blog.

System wide personalization doesn’t work

bruce_li
Contributor

Hi Himanshu,

You are right.

At Runtime, the personalization settings are checked sequentially, first on User level, then on Business Role level, then on PFCG Role level and finally on System level. As soon as a value is found we stop. It means that is a User has already some personalization options set, your setting for the Business Role or system level will not apply. This user will have first to reset its personalization options via SPERS_MAINT.

So for your requirement, I think you don't want to edit for each new created user, I think you can either only Enable system wide personalization according to note: 1701936 or make the personalization settings on business role level according to KBA 2384980.

Best Regards,

Bruce

bruce_li
Contributor
0 Kudos

Hi Agrawal,

Did you check the following method, which includes all standard logic. If you want to manage Personalization data level differently, then you need to consider method below.

CL_THTMLB_PERSONALIZATION
GET_PERS_DATA

Best Regards,

Bruce

hmnsh_grwl
Explorer
0 Kudos
Hi Bruce, Thanks for the response. Can you please tell in detail , how to manage Personalization data level check. If I want to prioritize System Level over other level. How exactly to do that ?
bruce_li
Contributor
0 Kudos

Hi Agrawal,

Your requirement is not included in standard delivery. It is designed that the personalization settings are checked sequentially, first on user level, then on business role level, then on PFCG role level and finally on system level.


You need to do a modification on below method according to your requirement, which is not recommended by SAP.

CL_THTMLB_PERSONALIZATION
GET_PERS_DATA

Best Regards,

Bruce