Skip to Content
Technical Articles
Author's profile photo Ananthu R Biju

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%20Report%20and%20click%20on%20more

Choose Report and click on more

2. Once we navigate to more options, Click on Set Access Option.

Click%20on%20Set%20Access

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%20out%20the%20Role

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%20access%20to%20the%20chosen%20Role

Allowing access to the chosen Role

5. After the above change, even though you’re an administrator you won’t be able to edit the report in report wizard until an unless you get the Interface role assigned to your user. ie; (The role created to restrict access)

Edit%20Option%20Disabled

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%20to%20give%20access%20of%20the%20report%20to%20any%20Business%20Role

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%20Business%20Role

Navigating Business Role

2. Once you open the screen Select the client Admin user role and click on Edit.

Edit%20Business%20Role

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%20Access%20Restriction

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%20Access%20Restricted

 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%20after%20Assigning%20the%20Second%20Business%20Role%20as%20well

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

Assigned Tags

      3 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Judith Gross
      Judith Gross

      Thanks for sharing this amazing post. Like it alot.

      Author's profile photo Ananthu R Biju
      Ananthu R Biju
      Blog Post Author

      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 😊

      Author's profile photo Judith Gross
      Judith Gross

      Yess!! for sure, I'll check it.