4.4    ABAP Back-End Roles

SAP delivers back-end roles for every app. These roles include references to the corresponding OData services required to run the apps. In this section, we’ll copy the back-end role and assign roles to users.

4.4.1    Copy the Back-End Role

To copy the back-end role, you’ll follow the same steps as for the front-end server (i.e., to copy the front-end role; refer to Section 4.3). In this situation, you’ll be working with a different role (i.e., back-end role) on the back-end server. You’ll copy the back-end authorization shown in Figure 4.34.

ABAP Back-End Role

Figure 4.34    ABAP Back-End Role

Now, follow these steps:

  1. Log in to the ABAP back-end server.
  2. Run Transaction PFCG (Role Maintenance).
  3. Enter the role name, and click Copy on the top left.
  4. Enter the new role name, and click Copy all in the Query pop-up window (see Figure 4.35).
Copying Back-End Role Name

Figure 4.35    Copying Back-End Role Name

4.4.2    Assigning Roles to Users

Now, assign the custom role to a user by following these steps:

  1. Log in to the ABAP back-end server.
  2. Run Transaction PFCG.
  3. Edit the role that you copied in the previous steps by clicking inline image.
  4. Navigate to the User tab, and add a new row.
  5. Enter the user ID in the User ID field, press (Enter), then click Save (see Figure 4.36).
Changing Role

Figure 4.36    Changing Role

You’ve successfully provided a user with access to the back-end data for the Create Sales Order app. In the next section, you’ll test and run your new app.