Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

merge PFCG menu at user level

Former Member
0 Kudos

Hi,

I want to merge the menu of two different PFCG single roles when they are assigned to the same user.

For e.g

Role A                                                           Role B

          Menu A <-----------------------Merge------------------ >Menu B

                      Folder A<-----------------------Merge------------------ >Folder B

                                  Application A                                             Application B

                               

When the two roles assigned to the user, it has to be like below:

                                                                        Role A/B

                                                                       Menu A/B

                                                                       Folder A/B  

                               

                                                       Application A, Application B

I have worked out the similar solution for Portal roles using the role merging, but I could not find any such option for PFCG roles.

If anyone has come across the similar requirement please let me know how you have achieved it.

Thanks,

Balajii

5 REPLIES 5

Former Member
0 Kudos

Hi Sai,

You can create a composite role RoleAB using transaction PFCG and assign the roles Role A and Role B in the roles tab, then click on save.

And in the Menu bar of this composite role you need to copy the menus by clicking on Read menu.

The menus of Role A and Role B will now be in a single composite role and this Composite role RoleAB can be assigned to the user, instead of assigning the single roles Role A and Role B.

Regards,

Laxman Gaddam

0 Kudos

Hi Balaji,

What Laxman said was correct, you need to follow the composite role strategy, so you could have menu's of both the roles and also in the authorizations page you could see all the auth object values relating to both the roles.

Mj

Frank_Buchholz
Advisor
Advisor

Call transaction SM30 for customizing table SSM_CUST and use the value help to get the list of available flags.

Examples:

COLL_READ_LEVEL_1ON  (default), OFF - PFCG: Add additional hierarchy level when merging composite roles (note 498074 as of 4.6D)
CONDENSE_MENUNO (default), YES - Easy Access Avoid Redundancy (Note 203994)
CONDENSE_MENU_PFCGNO (default), YES - Avoid reduncancy maintaining roles with PFCG (note 504006)
CUSTOMER_MENU_OFFNO (default), YES or 'X' - Do Not Display Customer Menu on Easy Access Screen  (Note 380029)
DELETE_DOUBLE_TCODESNO (default), YES - Easy Access Menu: Deletion of redundant transactions, irrespective of redundancy prevention (Note 1246860)
SAP_MENU_OFFNO (default), YES or 'X' -  Do not Display the SAP Menu on the Easy Access Screen (Note 380029)
SORT_USER_MENUYES, NO - Easy Access Menu: Sort User Menu if "Avoid Redundancies" is switched on (Note 322853)

For many of these flags you find a note number describing the flag.

You may want to check the online documentation, too:

http://help.sap.com/saphelp_nw70ehp3/helpdata/en/4a/c2c19822db2475e10000000a42189c/frameset.htm

Kind regards

Frank

By the way: Customizng table PRGN_CUST offers some more flags.

0 Kudos

Hello All,

Thank you all for the responses. I am neither looking to merge the menu area at the role level nor for any customization. I am looking to merge the menu area of two different roles at the user level i.e when these two different roles were assigned to a user, only one role is technically visible with the menu area merged and the two different roles can be changed based on the user.

Let me make it more clear. I have project manager and line manager. There are three different manager roles available. 1. MSS Main Role 2. Line Manager Role 3. Project Manager Role.

The MSS Main role is always assigned to all the managers. But the Line manager role and Project manager role is assigned based on the responsibilities of the mangers. Our requirement is to merge the Line Manager menu area and/or the Project manager menu area with the MSS Main role.

Please let me know if this is not clear.

Thanks,

Balajii

0 Kudos

Then you just need to go one step further than the already described (temporary) composites with condensed menus --> import the menus of those roles back into the project manager and line manager roles respectively.

Note: this will only work as well as the menu structures are unified and your su24 is carefully maintained! Otherwise you will need to make (manual) adjustments after the merge.

Cheers,

Julius