Restrict Fiori Application access through Roles
UPDATE : Please note that this blog relates to configuration done on NON S/4HANA (ECC Systems). Configuration on S/4HANA systems might be slightly different. Please read through the end of this blog to find out what changes are new in Fiori 2.0 with S/4HANA.
Scenario: User wants to view the application only assigned to him/her
User would require only scenario specific tile to be assigned to his/her login. This would be required while assigned production users a certain tile and not all the tiles. This document would also talk about restriction for a specific tile.
For e.g.: Material management PO approve.
User wants only “Approve Purchase order” Tile to be in his/her Launchpad.
Prerequisite :
- All the specific UI components are in place.
- Fiori admin URL is working fine
- Admin user has administrator role assigned : You have created an administrator user who needs extensive authorizations,
such as S_SERVICE, S_DEVELOP, /UI2/CHIP, S_RFC_ACL, and S_CTS_SADM. If applicable, create the user with the ID the user already has in the back end
- Role name : SAP_UI2_ADMIN_700
Admin URL : http://<sapfiori.com>:PORT/sap/bc/ui5_ui5/sap/arsrvc_upb_admn/main.html?scope=CUST
As we are dealing here with only 1 application for the user (Approve PO). Let’s go to the standard tile catalog offered by SAP.
Tile catalog name: Buyer (MM) – Content
Now we want only Approve Purchase orders application.
Before copying the tile from this catalog. Let’s create a new tile catalog by clicking on below on the left catalog view.
Create catalog screen appears :
Enter your desired catalog name:
- My New Catalog is created.
- Now go back to your standard catalog and drag the “Approve purchase orders tile” and you see a copy option.
- Drag to the copy option and your tile is copied. Once you drop your tile, it asks for Destination to be copied to.
Select “My New Catalog” from the selection criteria.
Make sure you repeat the same operation for Target mapping for “Approve Purchase orders”.
Once done, now you have the Tile catalog with standard Approve PO tile.
Here target mapping is 0. Once you copy target mapping as well. It shows as 1.
Create Target Group:
Follow the same approach for creating groups. Go to group tab :
You can disable Group personalization as well. User won’t be able to delete the Tiles from Launchpad using this.
Add tile to the group
Create a custom role for your group “My New Group” in PFCG:
Choose Fiori Tile catalog from the Transaction in Menu tab :
Similiarly choose Fiori Group :
Now you see that both Catalog and group is maintained for the role.
- Assign relevant authorizations and number of users. Now you can open your Fiori Launchpad.
- Make sure you save your PFCG role.
- Clear your browser cache and open your Launchpad.
You should see the app tile assigned to you.
Thanks !!
Do follow “Fiori” tag for more updates on SAP Fiori blogs/discussions. 🙂
Very Nice document, Keep up your good work Tejas
Thanks
Thanks Surya
Regards,
Tejas
Thanks a lot Tejas for sharing this blog.... 🙂
regards,
Anurag Singh
Thanks Tejas for sharning this Document.
Regards
Munna Mishra
Excellent document
Regards
Baithi
Very nice document, just what I'm looking for. Thanks.
Best regards
Cham
Hello, very Useful document - have you tried or someone has tried to restrict FIORI applications in another language ? (ex. French) I was trying but I got a message indicating: "Page can not be modify in language FR" Thanks, Juan
Hi Tejas
Excellent document, but I need 1 clarification, who exactly will create the custom catalogs and groups.
Whether UI5 developer or Authorization consultant.
Thanks
harish
This is just configuration changes, can be done by anyone who knows this. But make sure you add it to transport request (customizing). The PFCG part you see above has to be done by security consultant/ auth consultant like you say.
Regards,
Tejas
Hi Tejas
Thanks for answer. Also please can you send me some sample authorization concept for Front end system, because I have designed for Backend system.
Thanks
Hi Tejas,
One doubt, Approve PO will have some business role, how to add that role (i.e authorization to approve) in our custom user.
Thanks
Hello Expert,
Will mention above steps remain same for Fact sheet type application?
Thanks
Hi Vipin,
No, Factsheets are search based apps which appear in the search bar. You can control the authorizations from Search models and connectors. Based on which factsheets user requires, you need to assign only those search models to the user (Also please note that there are other search models used which needs to activated other than the app specific search models. Detailed step is mentioned here :
https://help.sap.com/doc/saphelp_nw751abap/7.51.0/en-US/b4/f6b7313bf2455fa5bb3fa2abd52436/frameset.htm
Regards,
Tejas
Thanks a lot for your reply,
My assumption is that Search models are applicable for backed system in hub deployment option. Steps which you have mentioned above need to be executed in front end and same for fact sheet?
Please guide me.
steps mentioned in this blog is for transactional apps to be done in frontend system since your frontend system has ui5 content to display launchpad designer.
search conenctors have to be controlled from backend systems.
Regards,
Tejas
HI TEJAS,
I GOT THIS ERR
OR WHILE LOAD PROFIT CENTER APP : F1730. WILL YOU PLZ PROVIDE ME SOLUTION
Hi Hiteshkumar
You might get better assistance if "ask a question" instead of putting this as a comment on a blog that isn't quite related to your issue
That aside, I did quick search and found https://answers.sap.com/questions/415735/fiori-initialization-of-query-erpsfin-m01-q2103-fa.html - describes configuration work required
There is also https://launchpad.support.sap.com/#/notes/2673081 which has similar issue that may be of help
Again, if neither help then suggest you create a question.
Regards
Colleen
HI Experts,
i am facing an issue, i have developed a custom application using web IDE and it is working all fine in development and quality system but in production system it is not coming in fiori launchpad. even-though it is still there in the fiori launchpad designer.
any insights would be helpful.
regards,
arun
Hi Arun,
Your issue is not related to this blog. Please raise a discussion.