Copying roles from one SAP client to another using PFCG
Roles be that if they are Single or Composite Roles are generally created and saved on a particular client to where that role was derived. As with most SAP Enterprise systems, there are multiple SAP Clients (Development, Quality Assurance and Production).Client 2 --> Client to which the roles are to be copied
1. Login to client 1, type in transaction code PFCG as shown below
2. In the Role Maintenance screen, enter the role that was created earlier. In this tutorial, I am using composite role Z_Composite_Role_G-XXX that has been already created
3. Select the Role menu and choose option Download
4.Press Enter or click on the Tick for the Information Box
5. Select your directory in order to save the role in and then click on Save
6. Select “Always allow” for the following dialogue box (SAP GUI Security)
7. Login into client 2 and type in transaction code PFCG. In the Role Maintenance screen, select Role menu and choose upload.
8. Press enter or click on the tick for the Information Box
9. Navigate to the location to where you had saved your downloaded role, select the role and click on Open
10. List of Roles to be imported screen is displayed. Don’t worry about the red lights, it is just information that the single roles (in the composite role) already exists, it is safe to overwrite this. In most cases you would copy across custom single roles / composite roles and these lights would show up as Green. Press the Tick button or press Enter on your keyboard.
The
role has successfully been copied across into client 2, however the
Profile still needs to be generated for the Single Roles (in order for
the role setup to be completed). For Custom Single roles, you will need
to enter the Single Roles (associated to the Composite Roles) copied
into Role Maintenance screen and click on the Pencil (change) icon and
generate the profile (see Profile Generation section). If there are
multiple Single Roles (this needs to be repeated for each Single Role).