Overview

Update of Application Groups in Role Menu
You have inserted application groups (for example, SAP Fiori tile catalogs) into the menu of roles. The applications contained in the application groups were also included in the role menu as sub nodes of the groups. If you add applications to a group or delete applications from a group, you must update the role menu.

For updating of an SAP Fiori catalog within PFCG mark the appropriate entry of an SAP Fiori catalog in the Menu PFCG role tab page and push the Details button. If you do that in a SAP Fiori front-end server, you can directly choose the SAP Fiori catalog which holds the definitions of the Fiori configurations. If you are in a back-end server, you have to choose an appropriate RFC connection to be able to connect to the SAP Fiori front-end server where the SAP Fiori catalogs are defined. Look for the right catalog and check the status of the applications which are available in that catalog.
The update of application groups in role menu is available in front- and back-end systems.
The PRGN_COMPARE_ROLE_MENU report offers navigation options to transactions PFCG and SUPC as well as the mass menu change function. For detailed information, see the program documentation on the initial screen of the report.
Note
See also SAP note 2465999 - Update of application groups in role menu.

The output of the PRGN_COMPARE_ROLE_MENU report shows application groups and the applications they contain which are inserted in the Menu PFCG tab page of the selected PFCG roles. The status shows whether the application group needs to be compared. The Comparison column informs you whether an application needs to be deleted from the menu or added to it. If errors or warnings occur during the evaluation of the application groups, you can display the messages by choosing the icon in the Messages for Application Group column.
The authorization status corresponds to the specification on the Authorizations tab in transaction PFCG.
The report can also be started from transaction SU25 (Upgrade Tool for Profile Generator) with the Update of Application Groups in Role Menu menu entry.
Creation of Roles
The PRGN_CREATE_FIORI_FRONTENDROLE program allows to maintain roles with menu options from selected SAP Fiori tile catalogs.
You can use the PRGN_CREATE_FIORI_FRONTENDROLE program to perform the mass maintenance of menu options from selected SAP Fiori tile catalogs. The assignment of the SAP Fiori tile catalogs to roles takes place by means of a table that you either create or upload manually or generate automatically by means of catalog selection.
Note
Depending on the scenario you can use it to create front-end roles in a hub deployment or to create roles in an embedded scenario.
Note
See also SAP note 2648554 - Creation of front-end roles for SAP Fiori launchpad.
Note
The following tools for role creation are available in hub deployment scenarios.
In hub deployment scenarios you can transfer the menu of an SAP Fiori front-end role to the role menu of an existing or new back-end role.
Transaction PFCG: Transfer of menus from front-end server:
You are on the Menu tab in role menu processing. The function for copying a menu from another role from the front-end server is for appending the menu of the front-end role to the existing menu. When you do this, you can adjust the menu options for SAP Fiori tile catalogs.
Program PRGN_CREATE_FIORI_BACKENDROLES:
You can use this program to create a back-end role for selected SAP Fiori front-end roles and to copy the relevant front-end role menu. If the back-end role already exists, the role menu of the back-end role is deleted and replaced by the role menu of the front-end role.

Description of the PRGN_CREATE_FIORI_BACKENDROLES report.
Enter the RFC destination of the front-end server from which the role menus should be copied. Then select one or more roles (asterisk possible only at end of search string) from the front-end server.
The name of the back-end role can be identical to the name of the front-end role or can be changed by means of a naming conversion:
- The function for deleting a prefix allows you to delete a name component at the start of a role. If the prefix is not part of the name, an error message is output.
- You can use the function for adding a prefix to insert a name component at the start of a role. Note that the role name is restricted to 30 characters.
The following options are available for the execution:
- During the transfer of the role menu, you can adjust the menu options for SAP Fiori tile catalogs:
- The RFC destination of the front-end server that you entered in the selection is entered as the new location for the remote front-end server in the SAP Fiori tile catalogs.
- Applications that are assigned to the SAP Fiori tile catalogs on the front-end server and are started on the back-end server are included in the role menu as subnodes of the SAP Fiori tile catalog.
- The profile and the authorizations of the back-end roles can be deleted and created anew. During the recreation process, authorizations are generated from the authorization default values of the applications in the menu and empty fields are defined with full authorization. The profiles of the roles are then generated. If you have not selected this option, you must adjust the authorizations in PFCG.
Menu options for invalid applications are deleted during the import.
