Technical Articles
Restrict client Admin users from enhancing a specific C4C report.
Hello Developers!!!
I hope you’re doing well.
This blog is all about to restrict the client Admin users to make any changes in a specific C4C report.
Requirement
There is a specific Report in C4C out of which we have made an OData service. Hence we need to workout some restrictions, which will not allow the users to edit the reports. Otherwise, if in this case the client Admins make any changes to the report the entire OData services will get affected.
Resolution
In order to restrict users to make changes on a specific report, we will have to Set Access to the report. But, before that we should have a specific Business Role ready with us to give access to these type of reports, so that it cannot be changed by the end users/client Admins.
The Business role doesn’t need much access, all they need is Business Analytics and basic access. The reason behind this is to only give access to the developers when they actually need to work on the report interface. You can add an additional role & enable the business user to access the report.
Below are the steps to set the access to the report:
1. Firstly, we have to navigate to the Business Analytics Work Center. and select the report & go to more options by clicking the three dots.
Choose Report and click on more
2. Once we navigate to more options, Click on Set Access Option.
Click on Set Access
3. To proceed further, you will have to Set Access for the Business role to access the report as mentioned previously. Firstly, we need to search out the Business Role.
Search out the Role
4. After finding out the new Business Role, you may Click on Allow Access checkbox and Save & Close the changes.
Allowing access to the chosen Role
Edit Option Disabled
Furthermore you won’t be even able to set access further for the report to any other Business Role as well. In the below screenshot even though i selected one role I am unable to give access.
Unable to give access of the report to any Business Role
Note:
In case your client admins have visibility to all Administrator work center views, they can easily add the role in case they are knowledgeable about C4C. To restrict this in the environment you can follow the below steps.
1. Go to Administrator WC >> General Settings >> Business Roles.
Navigating Business Role
2. Once you open the screen Select the client Admin user role and click on Edit.
Edit Business Role
3. After opening the Business Role in detail mode, click on the Fields & Actions Tab & Add two restrictions like the below screenshot by clicking on Add Row button.
Adding Access Restriction
The above restriction disables the Edit Attributes & Edit Access Rights options for the user, which won’t allow the user to assign roles on his personal interest. Please find below screenshot for the outcome after applying this workaround.
Edit Access Restricted
Final Outcome
We have successfully created an access restriction for an individual Interface report (Report out of which an Interface is running), which the Business users will be only able to access if they have an additional Business Role assigned to them.
Screenshot after Assigning the Second Business Role as well
Furthermore, we have also made some access restrictions on Business Role which disables the client Admin users from directly assigning the role to make changes on the report.
Hope you enjoyed the blog. We have a lot more coming, so do like and follow for more such content.
Bye bye!! 🙂
Ananthu R Biju
Senior C4C Consultant
Thanks for sharing this amazing post. Like it alot.
Hi Judith Gross,
Hope you're doing well.
I appreciate the time you dedicated to provide me with your valuable feedback.
I have also posted some other blogs as well, do checkout them as well.
https://people.sap.com/ananthurbiju#content:blogposts
Thanks & Regards,
Ananthu R Biju 😊
Yess!! for sure, I'll check it.