Skip to Content
Technical Articles
Author's profile photo Arno Seidl

Fiori roles, sustainable implementation approach

The main driver around the Fiori Role & Authorization implementation approach is the system infrastructure. In this context, the strategy chosen to deploy the Fiori Front-end server (FES). For SAP Fiori deployment options and recommendations see following blog post Link.

As mentioned, the Role & Authorization implementation strategy follows the FES deployment strategy, – embedded or hub deployment.

 

Hub scenario

The FES hub deployment strategy requires one physical standalone FES and one or several Backend systems. The roles must be implemented accordantly. This implies that the roles and authorizations must be implemented in the frontend system and backend system(s).

In a hub scenario, the Front-end role contains the OData services of type IWSG where the Backend role contains the corresponding IWSV OData services. From a Fiori conceptional perspective it might be an advantage to assign Fiori catalogs to the role menu instead of assigning OData services or legacy functions directly to the role menu. This is especially valid when using report PRGN_CREATE_FIORI_BACKENDROLE to implement Backend roles. When using the report, the Front-end role must be implemented before implementing the Backend role (NOTE: 2533007). It is further recommended to have an 1:n relationship between Front-end and Backend role(s). The use of the report implies that the role menu of the Backend roles should not be enriched with additional functionality, e.g. manually added transaction codes. Only the “inherited” role menu entries from the Front-end role should be kept in the Backend role(s), since the report does not append the Backend role menu but replaces the role menu. Moreover, OData services should not be assigned directly to the Front-end role menu. Catalogs can be adapted via report PRGN_CREATE_FIORI_BACKENDROLE. By this the backend services and functions are correctly assigned to the Backend role menu (e.g. OData services are assigned as type IWSV). Directly assigned OData services to the Front-end role menu will not be replaced with the corresponding backend service.

Since a typical Gateway system does not contain Organizational Levels like the connected Backend system(s) the generated Backend roles via report PRGN_CREATE_FIORI_BACKENDROLE should be a corresponding parent role from where the child roles can be derived from. In other words, one direct inherited Backend role that again has several derived roles wherein the Organizational Levels can be maintained.

 

Embedded scenario

When choosing the FES embedded deployment strategy, the FES is deployed on the same system as the Backend. For the implementation of Roles & Authorization it means that the roles must only be implemented and maintained in one system. By this, the implementation and maintenance of roles and authorizations is less cumbersome, compare to the hub scenario. IWSG, IWSV services and legacy functions can be assigned to the same role. Still, also here it is advisable to use the advantage of catalogs instead of assigning OData service and legacy functions directly to the role menu.

 

 

Assigned Tags

      5 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Renaud VAN DEN DAELE
      Renaud VAN DEN DAELE

      Great blog Arno!

      Best regards

      Renaud

      Author's profile photo Michael Healy
      Michael Healy

      Thanks for the well written blog Arno. A question regarding your last point, if the scenario is indeed embedded, does that mean that there is only a need for the one role, which would contain all catalogues, groups and auths? Does there need to be a backend and front role if its embedded?

      Thanks,

      Michael

      Author's profile photo Arno Seidl
      Arno Seidl
      Blog Post Author

      Hi Michael

      if the scenario is embedded, only one role is needed. One role that contains the required catalogues and groups. In other words, a backend and frontend role is not needed within an embedded scenario.

      Kind regards
      Arno

      Author's profile photo Michael Healy
      Michael Healy

      Thanks Arno, thats what I thought. We are debating this currently, but we have a question mark around cloud. If customers are going to cloud, then would this then be affected? Would one have to create new front end roles then? We want to future proof the build but there are questions about remote catalogs, deep linking, etc. We would like to not have to rebuild front end roles in the future when cloud is introduced.

      Author's profile photo Arno Seidl
      Arno Seidl
      Blog Post Author

      Hi Michael

      In general, it is recommended to use the embedded approach. Have in mind, when using the BW/4HANA Cockpit you have to use the embedded scenario. In addition, I refer to following PDF – page 12, where the future direction is described.

      Link to PDF: 
      https://www.sap.com/documents/2018/02/f0148939-f27c-0010-82c7-eda71af511fa.html

      Kind regards
      Arno