Building Custom Authorizations

Defining Restrictions for Business Roles

Objective

After completing this lesson, you will be able to define restrictions for business roles

Define Restrictions for a Business Role

Identifying Effective Restriction Values

Use the Business Catalogs app to review the applications and data access granted by a specific catalog. The Restriction Types tab shows the available restrictions you can apply to limit access to specific data or functions.

If the catalog is already assigned to a role, you can access the same information directly in the Maintain Business Roles app by selecting the catalog name.

Screenshot of the Business Catalogs app.

Assigning Restrictions to Individual Fields

On the Maintain Restrictions page, locate the Write, Read, Value Help dropdown and select Restricted(if not already selected). This allows you to define specific values for each access level. While this process can be time-consuming, it is essential for enforcing the principle of least privilege.

Before defining individual restrictions, select all values and set them to Not Maintained. From there, identify which fields require specific restriction values. This step is mandatory: if you define a restriction for any field and leave others empty, those empty fields default to No Access, preventing users from viewing or entering data in them.

Note

Use Not Maintained rather than Unrestricted for fields that do not require a restriction. Not Maintained signals that the field has been reviewed and no restriction is necessary, whereas Unrestricted grants broad access and should only be used when absolutely required.

Screenshot of assigning restrictions in the Maintain Business Roles app.

A Leading Restriction ensures that values entered in a field are automatically inherited by all other restriction types that use the same field. For example, setting the Company Code field to Austria (AU01) and Switzerland (CH01) with Leading Restriction selected will propagate those values to every instance of that field within the role.

To assign restrictions:

  1. Select the pencil icon to edit a restriction.
  2. In Field Settings, choose Restricted.
  3. In the Values section, select the required values. The system saves automatically.
  4. Select Leading Restriction if these values should apply to all other restriction types using the same field.
  5. Repeat for all necessary restrictions.

Use the back button to return to the Maintain Business Roles overview. Once complete, assign the updated role to a test user to verify that restrictions correctly show or hide the intended data.

Managing Business Roles After a Release Upgrade

System upgrades often require business role maintenance. The Maintain Business Role Changes After Upgrade app identifies changes to catalogs and restriction types, including new additions, deprecations, and removals.

Start with the Release Assessment and Scope Dependency Tool in the What's New area of the SAP Help Portal for a high-level overview of process impacts. Then use the Maintain Business Role Changes After Upgrade app to address specific changes to user permissions.

Screenshot of the Manage Business Roles Changes After Upgrade app.