Creating an Authorization Definition
File
For creating application-related authorizations, you have to:
· Create an XMLfile called Authorization.xml in the Mobile Project
· Define the authorization objects in the authorization file
The Data Orchestration Engine (DOE) administrator has:
· Created the authorization objects in the DOE
· Assigned the authorization objects to roles, users, and applications
1. Choose Window → Open Perspective → Other → Resource (default), and then choose OK.
The SAP perspective changes to Resource.
2. Choose File → New → File.
3. Select the required project.
4. In the File name field, enter Authorization.xml.
5. Choose Finish.
The IDE creates the authorization file and opens it in the edit mode, which enables you to define the authorization definitions.

You must ensure that the authorizations you define in the authorization file map to the authorization objects in the DOE.
6. Enter the required authorization definitions, as shown in the example.
7. Choose File → Save All.

Alternatively, you can also use an existing authorization file. To do this copy the authorization file in the project root directory, using Microsoft Windows Explorer.
This example displays a sample authorization file.
<?xml version="1.0" encoding="utf-8"?>
- <auth_objects>
- <auth_object name="AO1">
<auth_field name="Field1" />
<auth_field name="Field2" />
<auth_field name="Field4" />
</auth_object>
- <auth_object name="AO2">
<auth_field name="Field1" />
<auth_field name="Field3" />
<auth_field name="Field7" />
</auth_object>
</auth_objects>