Showing posts with label Central User Administration. Show all posts
Showing posts with label Central User Administration. Show all posts

User Administration with Active Central User Administration

ith active Central User Administration, you still use transaction SU01 to edit users, however user administration is somewhat different:

● Whether fields are ready for input or not depends on the distribution attributes that you assigned to the field in transaction SCUM. For more information about this, see Setting Distribution Parameters for Fields.

Only the fields that may be maintained in the system are ready for input.


You can only change a field that is to be maintained globally in the central system. This field does not accept input in the child systems.

● In the central system, the user administration transaction also displays the tab page Systems. Here you enter the systems to which users are to be distributed. To display the systems for the corresponding distribution model, use the possible entries help. Each time you save, the system distributes the user data to these listed systems.

● The Roles and Profiles tab pages each contain an additional column for each entry, specifying the system for which the user is assigned the role and/or profile.

With the Text comparison from child sys. Pushbutton on the Roles and Profiles tab pages, you can update the texts for roles/profiles that you have changed, for example, in the child systems. The texts in the child systems are stored temporarily so that they are available in the central system. As the comparison requires some time, it is performed asynchronously and the current texts may not be available immediately.

You can only assign profiles to users for the systems in which they are distributed. If you enter a new system when you assign profiles to users, the system displays a warning that the user was assigned a new system. The entry is automatically transferred into the tab page Systems. After this, the user master record is also distributed in the new system.

During text comparisons from child systems, the names of the generated profiles for the role are not copied to the central system, that is, only assigned profiles are displayed on the Profiles tab page (such as SAP_ALL or SAP_NEW), but no generated profiles of the roles.

All user master records are created in the user master records. Users can then only log onto the central system if the central system itself is entered in Systems tab page of the corresponding user master record.


You can display the global user data from a child system in the User Information System.

Further Information

As well as the authorizations already mentioned, you also need another authorization in the central system for object S_USER_SYS. You can only assign new systems to a new user with this authorization.

When a user is deleted in the central system, the system entry for the user is retained until the deletion is confirmed. If an error occurs, you can repeat the deletion by canceling the system (in the child system).

In the child systems, the RFC user is output as the last person to make changes. Choose an appropriate name when you set up the RFC user.

End of Content Area

Distribution Logs

To display the distribution logs, choose Environment ® Distribution log (transaction SCUL) in the user maintenance (transaction SU01).

The system displays a selection of pushbuttons you can use to display the logs. The pushbutton texts form the evaluation criteria for the logs displayed.

For example, if you choose Systems, the system displays the status of the users, sorted by subsystem. You display the users in the subsystem by expanding the tree. The color of a node corresponds to the worst error within a node.


To display the color legend, choose Utilities ® Color legend.

If you display the incorrect user master records, the system displays a short text that explains the cause of the error. If this short text is insufficient, you can display a long text by clicking on the field User.

By choosing Transport, you can execute the transport again at this level and trigger data distribution.

The system also offers you a summary of errors, warnings, successful and unconfirmed distributions. The system logs unconfirmed distributions, for example, if the data could not be distributed due to an incorrect RFC connection.

Global User Manager

The Global User Manager is an additional tool with which you can considerably simplify the central user administration. Use of the Global User Manager is not obligatory. You can still make assignments at individual user level with the existing user and role maintenance transactions.

The Global User Manager gives you various grouping possibilities at user and system level for maintaining user and system assignments in a system group in the central system, in addition to the previous individual user view.

The Global User Manager contains these maintenance possibilities because the user master record data hardly changes once the user has been created. System assignments and authorizations change more frequently.


Do not distribute the user data in the Global User Manager until you have completely modeled the data for all users. Everything which is not defined in the Global User Manager is deleted in the target systems.

You cannot assign an authorization profile to users or user groups directly in the Global User Manager. The authorizations are assigned in roles. If you want to create a role automatically from an existing authorization profile, call the transaction SU25 and choose item 6: Copy data from existing profiles.

An advantage of the Global User Manager is that you do not need to consider the full complexity of the system environment when modeling authorizations. You consider only one part of the whole in each work step, two of the axes of an assignment triangle.

Source

Target

User/user group

System/System type

System/System type

Role/Composite role

Role/Composite role

User/user group


To model a complete assignment to be distributed into the target systems, you must create a closed assignment triangle as shown in the graphic. The Global User Manager reduces the complexity of this procedure so that you only need to make the two other assignments from each corner. When you have done so from all corners, the assignment is complete.

The Global User Manager Screen

The Global User Manager only runs in the central system of the central user administration.

Call the transaction SUUM to display the Global User Manager.

All users and user groups in the system group are displayed at the left-hand side of the screen. The systems and system types are displayed in the middle, and the roles and composite roles in the system group on the right.

Choose Extras ® Compare systems in the Global User Manager to display the roles and composite roles of the subsidiary systems. You can alternatively choose Compare texts in subsidiary systems in the Roles tab in the user maintenance transaction SU01. The data may not be immediately available because it is distributed asynchronously.

Using the Global User Manager

If you want to use the Global User Manager, the procedure depends on whether your system environment already contained users before the installation of the central user administration. If users already exist, you should migrate the current user master records into the Global User Manager, so that previously existing assignments are not deleted the first time you distribute user data with the Global User Manager.

System environment with existing users

To use the Global User Manager in a system environment with existing productive users:

  1. Choose Extras ® Migration ® Users to get the current user master records of all systems in the Global User Manager.
  2. Choose Extras ® Migration ® Roles to automatically assign the roles to the systems in which they exist, in the Global User Manager.

The data is compared with the current system status at individual user level in the Global User Manager after the migrations. To ensure that you do not lose any existing data, do not start to model user groups and system types until the migrations are finished.

Role names must be unique in the system environment. The system environment behaves like a single system, and a role can only exist once in this system. If a role with the same name exists in several systems in the system group, it appears several times in the Global User Manager role list.

You can make assignments at both individual user level and user group level in the Global User Manager. This can have unwanted effects after a user migration. Example: You have migrated all developers in your system in the Global User Manager as described above. You have then defined a user group for all developers containing the same authorizations which they had previously as individual users. When you assign all developers to the user group, the authorizations are assigned twice. So if you remove a developer from the user group, he or she still has the individual authorizations and can continue to develop. You should remove the individual user assignments after a migration as soon as you assign the users to their user groups. Use individual user assignments to give a user additional authorizations which differ from the standard authorizations of the user group.

System environment without (existing) users

If there are no active users in your system environment, you do not need to migrate the existing user master records. You can start to create new users in transaction SU01 and model the authorizations in the system environment in the Global User Manager. Each user must only be created once in the central system and can then be assigned to other systems in the Global User Manager. The Global User Manager creates the users in these systems and assigns roles to them.

Proceed as follows:

  1. Create a user in the transaction SU01.
  2. Only assign something in the System and Role tabs when it is only for this individual user. Define other authorization for user groups in the Global User Manager.

  3. Enter a user group for the current user in the Groups tab, if one has already been created in the Global User Manager. You will not need to make this assignment again in the Global User Manager.

All data that you enter in SU01 is also in the Global User Manager. Conversely, all assignments made and distributed in the Global User Manager are also in SU01.

Definition on system types and user groups

Proceed as follows:

  1. Create a system type/user group by choosing the appropriate pushbutton.
  2. Assign systems or users to the system type/user group respectively by Drag & Drop.

A system can only be assigned to one system type. A user can belong to several user groups.

Modeling in the Global User Manager

To specify the systems and roles for a user group:

  1. Mark the user group and choose Display assignments.
  2. The current system/system type and role assignments of the selected user group are displayed. No systems or roles should be assigned to the user group yet.

  3. To assign systems or system types to the user group, Drag & Drop a system or a system type to the entries under Assignments to user groups. Assign roles or composite roles to the user group similarly.

To restrict the number of entries displayed in a list (users, roles, etc.), choose the selection icon next to an entry and restrict the value range.

You have now defined two of the three sides of the above assignment triangle. This example focuses on the user group and we have so far assigned systems and roles. The axis which connects system and role is still missing. If you migrated the roles, this assignment is made automatically and the triangle is complete. If not, you must define it for each role.

You can display and change assignments from any corner of the triangle. When you display the assignments to a role you can edit the systems and user groups for this role. When you display the assignments to a system type you can define the users and roles for the systems of this system type.

Distributing data with the Global User Manager

Display and check your distribution data in a list before distributing it. Proceed as follows:

  1. Choose Display distribution data.
  2. Check whether the data for selected users is correctly flagged for distribution.
  3. Only delete the user data when you have checked a sample of it in the list display.

    You can distribute data from the Global User Manager immediately manually, or schedule a regular background job.

  4. To distribute data immediately, choose Distribute immediately.

The data is distributed immediately. It can take a few minutes until the data reaches the target system because it is distributed asynchronously

Immediate distribution can damage the performance of your system. To avoid this, schedule a periodic background job to distribute the data, e.g. at night.

The data is distributed according to the modeling in the Global User Manager in the SU01 of the central system and from there to the subsidiary systems. Only the users are created and the roles assigned in the subsidiary systems. Other data is not distributed, it is retained in the central system. There is no log in the transaction SCUL.

Only changes since the last distribution are distributed. This minimizes the amount of data to be distributed.

To distribute data in a periodic background job, choose Extras ® Schedule distribution.

  1. Enter a meaningful name for the background job under Job name.
  2. Choose a job class to specify processing priority.
  3. Choose the central system of the central user administration under Target server.
  4. Choose to schedule the ABAP program RSUSR500.
  5. Choose to specify when the job is to run.
  6. Choose Save.

Creating and Maintaining User Master Records

The existence of a user master record is a prerequisite for logging on to the SAP System. The user master record determines which role is assigned to the user, i.e. which activities are in the user menu and which authorizations the user has.

Integration

User master records are client-specific. You therefore need to maintain individual user master records for each client in your SAP System. If you use the Central User Administration, you should create and maintain the users in the central system.

Prerequisites

You need authorizations to create or maintain user master records:

  • Authorization to create and/or maintain user master records and to assign a user group (object S_USER_GRP).
  • Authorization for the authorization profiles you want to assign to users (object S_USER_PRO).
  • Authorization to create and maintain authorizations (object S_USER_AUTH).
  • Authorization to protect roles. You can use this authorization object to determine which roles may be processed and which activities (Create, Display, Change and so on) are available for the role(s) (object S_USER_AGR).
  • Authorization for transactions that you may assign to the role and for which you can assign authorization at the start of the transaction in the Profile Generator (object S_USER_TCD).
  • Authorization to restrict the values which a system administrator can insert or change in a role in the Profile generator (S_USER_VAL)

Setting Up Central User Administration

Purpose

With this process, you set up Central User Administration, with which you perform the maintenance of the user master records centrally in an AS ABAP system. Changes are automatically distributed to the child systems. This means that you have an overview in the central system of the user data for all AS ABAP systems.

Prerequisites

· You are familiar with the basics of the integration technology ALE. An ALE system group is used by the central user administration to distribute user data between a central system and child systems linked by ALE.

· Use the most up-to-date AS ABAP system in your system landscape as your central system (if possible with a release status of 4.6C or higher). In this way, the newest functions in CUA are available to you.

Process Flow

...

1. Create administration users

In this step, you create the administration users for AS ABAP systems to be set up completely newly, with which you can perform all further steps.

2. Specify logical systems

In this step, you specify the logical systems. This is necessary, since the systems of the Central User Administration (CUA) are referred to using logical system IDs. In the SAP context, a logical system is a client. Therefore, you first need to set up logical system names.

3. Assign logical systems to clients

In this step, you assign the logical system names to the clients in the AS ABAP systems.

4. Define authorization roles for system users

In this step, you assign the system users appropriate copies of the authorization roles, to give the system users only the authorizations they require to set up and operate the CUA.

5. Determine existing RFC destinations and system users

In this step, you determine whether you systems are already configured for ALE distribution. If this is the case, you do not need to create a new system user, but rather use the existing system user and extend its authorizations by assigning appropriate roles to it.

6. Create system users with roles

In this step, you create the system users and assign the roles required for their tasks to them.

7. Create an RFC destination for the target system

In this step, you define the RFC calls between the central and child systems bidirectionally, to define communication in the system landscape.

8. Create the Central User Administration

You create the Central User Administration (CUA) in this step. The following steps are performed automatically in the background:

¡ The partner profiles are created.

¡ The corresponding ALE model is created or, in the case of changes, adjusted to the new CUA model.

¡ The text comparison for roles is performed with the child systems.

9. Set up field distribution parameters

In this step, you use the distribution parameters to define where the individual parts of a user master record are maintained.

10. Synchronize and distribute company addresses

In this step, you ensure that every cross-system company address key is unique and that company addresses with the same name contain the same data in all systems of the CUA.

11. Synchronize user groups

In this step, you ensure that the user group to which the user is assigned exists in all systems in which the user exists.

12. Transfer users from new systems

In this step, you ensure that the user master records of a system that has been newly included in the selected distribution model are transferred to the central system.

13. Display and process distribution logs

In this step, you primarily check the status of the IDoc distribution when you change company addresses or users.

Result

You have set up Central User Administration for your AS ABAP systems.

End of Content Area