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.
Figure 4.34 ABAP Back-End Role
- Log in to the ABAP back-end server.
- Run Transaction PFCG (Role Maintenance).
- Enter the role name, and click Copy on the top left.
- Enter the new role name, and click Copy all in the Query pop-up window (see Figure 4.35).
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:
- Log in to the ABAP back-end server.
- Run Transaction PFCG.
-
Edit the role that you copied in the previous steps by clicking
.
- Navigate to the User tab, and add a new row.
- Enter the user ID in the User ID field, press (Enter), then click Save (see Figure 4.36).
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.