SAP Home Learn Build Integrate Model Operate Extend with AI ConnectTutorial navigator Knowledge Graph API Devtoberfest Developer Advocates App Space

Manage my Account SAP Devs YouTube ↗ Learnings ↗ Community ↗ Provide Feedback ↗
Logout
โคข Open full site

Providing Authorization Control for a Business Configuration Maintenance Object

Providing Authorization Control for a Business Configuration Maintenance Object

Overview

🎓 beginner 30 min. ABAP ExtensibilityBeginnerSAP BTP ABAP EnvironmentABAP DevelopmentABAP PlatformSAP S 4hana Cloud ABAP Environment

You will learn

  • โœ”How to create an IAM app
  • โœ”How to create Business Catalog
  • โœ”How to create and assign an IAM Business Catalog to a Business Role
Patrick Winkler P Patrick Winkler February 25, 2026
Created by March 9, 2023
Contributors

Prerequisites

Prerequisites

  • You need an SAP BTP, ABAP environment license. If you have only a trial account, you can skip this tutorial.
  • This tutorial also works in an SAP S/4HANA Cloud, public edition system.
  • This is the second tutorial of group Create a SAP Fiori based Table Maintenance app. You must complete the tutorials in the specified order.

Steps

Intro

Authorization control in RAP protects your business object from unauthorized access to data:

  • To protect data from unauthorized read access, ABAP CDS provides its own authorization concept based on a data control language (DCL).
  • Modify operations such as standard operations and actions can be checked against unauthorized access during RAP runtime.

For this purposes, the generated business object checks the authorization object S_TABU_NAM with the CDS entity ZI_ERRORCODE### and the activity 03 (read) / 02 (modify).

To consume the service of the generated business object in the CUBCO app, you must define an IAM app and assign the service to the app. This ensures that you can define the required authorizations.

First, you create the IAM app yourself. As a next step, you create a business catalog and a business role that you can assign to your business user.


Step 1 Create IAM app
โ€”

  1. Right-click the package Z_ERROR_CODES_### and choose New > Other ABAP Repository Object.

    New repository object
    New repository object

  2. Search for IAM App, select it and click Next >.

    New IAM app
    New IAM app

  3. Create new IAM app:

    • Name: Z_ERROR_CODES_###
    • Description: Error Codes - Maintenance
    • Application Type: Business Configuration App

    Enter IAM app definition
    Enter IAM app definition

    Click Next >.

  4. Click Finish.

  5. Choose Services and add a new service.

    Add service to IAM app
    Add service to IAM app

  6. Select your service:

    • Service Type: OData V4
    • Service Name: ZUI_ERRORCODE###_O4

    Select service
    Select service

    Click OK.

  7. Choose Authorizations and add a new authorization object.

    Add authorization object
    Add authorization object

  8. Search for S_TABU_NAM and click OK.

    Search for authorization object S_TABU_NAM
    Search for authorization object S_TABU_NAM

  9. Select S_TABU_NAM, select ACTVT under Authorization 0001 to check Change and Display.

    Select Change and Display
    Select Change and Display

  10. Click TABLE and add entity ZI_ERRORCODE###. A CDS entity can be specified for the field TABLE.

    Add entity
    Add entity

    • (Optional) To display the change logs for tables, users must have the authorization for the object S_TABU_NAM with Display change documents for ACTVT and the name of the table for TABLE
    • (Optional) To upload content for tables, users must have the authorization for the object S_TABU_NAM with Change for ACTVT and the name of the table for TABLE
  11. Save the IAM app. For more information about IAM apps, see here.

Step 2 Create business catalog
+
Step 3 Assign Business Catalog to Business Role and maintain restrictions
+
Step 4 Test yourself
+

Resources

Discussion

Share feedback on this tutorial or join the conversation in SAP Community.

Submit detailed feedback Discuss in Community
Steps
Step 1 of 4
1. Create IAM app 2. Create business catalog 3. Assign Business Catalog to Business Role and maintain restrictions 4. Test yourself

Learn more →