Show TOC

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

Use

You need to implement permission checks to secure the access to your business object nodes.

Prerequisites
  • You have installed SAP NetWeaver Composition Environment.
  • You have opened the Composition Perspective.
Procedure
  1. Create a new application:
    1. Choose File → New → Project.
    2. Under Development Infrastructure, choose Development Component.
    3. Select Composite Application for the type of the development component and then choose Local Development → My Components
    4. Enter a name for your application - school .
  2. Create a new business object:
    1. Open the Composite Application Explorer and navigate to the node with your application in it. Click the modeled node with the secondary mouse button and from the context menu, choose New →  Business Object.
    2. Choose Create new structure and enter student for the name of your business object.
  3. Open the Structure tab page and choose Edit Main Structure. Add the following attributes:
    Attribute Name Type

    Title

    STRING

    FirstName

    STRING

    LastName

    STRING

  4. Open the Permissions tab page and enable the Permission checks enabled indicator.
  5. Generate, build, and deploy your application.