Show TOC

Testing Permission Checks for Business ObjectsLocate this document in the navigation structure

Use

Test the permission checks you have created with the Service Browser.

Prerequisites

You have created a business object node student.

More information: Implementing Permission Checks for Business Objects

Procedure
  1. In the Composite Application Explorer, navigate to the business object node student and click on it with the secondary mouse button and choose Test Service.

    The Service Browser opens.

  2. In the Navigator, navigate to the application you have deployed on the server in the previous step of the tutorial. Select the studentbusiness object node.
  3. To create an instance of the business object student, choose New.
  4. Enter FistName and LastName.

    You receive the following error message: User Administrator has no create authorization for object ID demo.sap.com/tutorial.modeled.student

    This is caused by the new permission checks you have made in the student service. Permission checks are performed at runtime. You need to configure authorizations for the different usersĀ  and afterwards test again.