MDG 8.0 in real life blog series – Customizing the Home Page “role based”
Hello!
After my first blog MDG 8.0 in real life blog series – System “Reset” we reached the second episode of our series!
In this chapter I want to show you how to customize the Home Page of MDG for different roles.
For example, for MDG-F standard role, your home page is looking like this:
I am sure you don’t want to give all these features to all of your users. For example… do you imagine an MDG-World where every user can perform the mass upload? Mhhhhh that’s creepy! 😯
Or what if you can’t activate some of the proposed functionalities, such as Reporting?
Let’s see together how to avoid this situation.
Step 1.
For each role you have created for you MDG users, you need to create the Z application and component configurations for the Home Page.
You can find the standard configurations from the home page -> right click -> technical settings or from the PFCG standard role DDDDAPC_M3_MDGF_CTR_MENU_04 (in case of MDG-F):
Once you got the name of the component and application configurations, copy them:
1) start the WDA application CONFIGURE_COMPONENT and enter the component WDR_CHIP_PAGE. Enter the configuration you found before. Create one Z copy for each role you have. If you want make translations for the component configuration description in SE63.
2) start the WDA application CONFIGURE_APPLICATION and enter the application WDR_CHIP_PAGE. Enter the configuration you found before. Create one Z copy for each role you have.
Step 2.
In PFCG tcode, for each role with menu, you need to change the configuration of the home page with the Z you just created:
Step 3.
Open the customizing for the home page (you need the following special parameter in your user details)
Now locate the link list name
Start Tcode LPD_CUST and find the link list in the ALV, then create a Z copy for each role you need to have a different home page:
Modify each one with the links you need. If needed make translations in SE63 for the links name.
Step 4.
Login in MDG with your admin user, that should have associated all the roles. For each role perform the customizing (see step 3) changing the link list name with the custom created one. The z configuration associated with the role, will keep the customizing different from the other roles.
I hope this guide was helpful for you. See you in the next episode!
Hi Alessandro,
thanks for your blog. I tried to do what you explained since it is what I need (different home page for each role). All is fine but when I change the link list in the CHIP configuration for the new PFCG role, this change is reflected also in the PFCG role using standard configuration.
This is the PFCG role using standard configuration:
This is the new PFCG role using custom configuration:
In LPD_CUST I created the different launchpad for each role:
I change the link list in the new role using configuration (I tried also with the customization but the result is the same):
This change affect also the role using standard configuration. Why?
What can I verify for understand where is the problem?
This is the link used when I change the link list:
http://hostname:8001/sap/bc/webdynpro/sap/wdr_chip_page?SAP-CLIENT=100&SAP-LANGUAGE=EN&WDCONFIGURATIONID=ZMDG_ZRP&CATALOG-CONFIG=MDG_BS_MAT_HOME_CATALOG_USAGE_03&SAP-CONFIG-MODE=CONFIG#
Any suggestion is very appreciated.
Thanks in advance.
Paola
I solved. I missed this step:
Thanks.
Paola
Hi Alessandro,
This is very helpful and nicely explained article. However, I am facing an issue.
I have disabled/deleted few links for lets say role 'A'. But when I login with another role lets say role 'B', those links are still disabled/ deleted for role 'B' also. Any input how can this be corrected?
Hello!
That's normal, it is role based you have to do it for each role
So you mean that for the role "B", I will have to add these links and then they will reappear only on role"B" and NOT on Role "A" ? Kindly confirm.
Many Thanks.
Hi Alessandro,
I have done the role configuration for each role as explained by you, but the problem is still same.
For Role A ,I performed below:
and saved in a TR
For Role "B" I have put
and saved in a TR
But when I again login with role "A", it overwrites the instance ID and showing the instance ID of role "B" as shown below :
and therefore, whatever the configuration of one role I do, it is reflecting in another role.
Please let me know if I need to perform any other step other than what you explained.
Kindly help.
Rgrds,