Creating PFCG Role on Front End and Assigning Launchpad Catalogs and Groups

On the front-end server, perform this task and the following role-related task to provide users with the UI access to apps and the start authorizations for the activated OData services used by the apps.

Prerequisites

You have activated the OData service and called it at least once before assigning start authorizations. For more information, see Activating OData Services.

Context

We recommend adding the relevant catalog and the start authorizations for the activated OData services that are used by the apps in the catalog to the role menu of the same PFCG role. This helps you keep the UI access provided with the catalogs together with the required start authorizations. If available, the system determines the OData services for a catalog and automatically includes the start authorizations when adding the catalog to the role menu.

Adding single OData service authorizations provides additional security, especially if the front-end server is set up as a separate hub. By specifying the services explicitly in the role menu, you control which requests on behalf of a user can pass SAP Gateway.

As an alternative, you can authorize all activated OData services by specifying a wildcard for the start authorization check on the front-end server (S_SERVICE = * (asterisk)).

Procedure

  1. Open transaction Role Maintenance (PFCG).
  2. Create a new single role and assign the following in the role menu:
    • Type Catalog

    • Catalog Provider Fiori Launchpad Catalogs

    • Catalog ID

    • Optional (if the users should see the tiles in a group already on the SAP Fiori launchpad start page): Type Group, Group ID

    Alternatively, you can copy the template business role delivered by SAP, which already contains the catalog and group, as sample content to your customer namespace.

  3. To automatically enter the OData services, if available:
    • Select the Local Front-End Server radio button.

    • Mark the Include Applications checkbox.

  4. To manually enter the OData services, for example, analytical apps that are launched by using a KPI tile, do the following:
    1. Add the following in the (new or copied) role menu for each of the OData services:
      • Type Authorization Default

      • Authorization Default TADIR Service

      • Object Type IWSG – Gateway: Service Groups Metadata

    2. Select TADIR Service using value help for the object name with <name of activated service>.
    3. Enter the name as follows: <technical name>_<four-digit version number with leading zeros>.

      For more information about how to determine the OData service name for apps, see Activating OData Services.

  5. Save the role menu and go to the role authorization. Change the authorization data and adapt the generated authorizations accordingly.
  6. Generate the authorization profile and save it.

Next Steps