Assigning Permissions
To be able to use the programming interface, the following roles must be assigned to your user.
● Api_develop (for operations Change, Create, OpenForEdit, Revert, Delete, CreateFromTemplate, Activate, Revert)
● Api_display (for operations Query, Read, Check, GetState, CheckContent, GetCacheState, GetObjectIdentifier)
Use the Visual Administrator to assign these roles.
Proceed as follows:
...
1. Start the Visual Administrator.

For more information, see Logging On to the Visual Administrator.
2. In the navigation area of the Cluster tab page choose the node Server →Services Security Provider.
3. Choose the Runtime tab page on the right-hand side of the screen.
4. In Runtime tab page choose the Policy Configurations sub tab page.
5. In the Components list select sap.com/com.sap.xi.directory*aii_ibdir_sbeans.jar.
6. To the right of the screen next to the Components bar, choose the Security Roles tab page.
7. Api_develop and api_display are listed under Security Roles.
8. Select the api_develop role and then select the necessary users or user roles.
9. Repeat step 7 for the api_display role.