Maintaining and Evaluating User Data

Objective

After completing this lesson, you will be able to manage user data and the user master record.

The User Master Record and its Tab Pages

The user maintenance transaction allows you to create a user with classic address (Create icon) or to create a technical user (Create Technical User icon).

  • User with classic address:

    • You can maintain personal and workplace data using the transactions and APIs of user administration.
    • You can maintain the company using transaction SUCOMP and assign it using the transactions and APIs of user administration.
  • Technical user:

    A technical user does not have any address data. Use the corresponding field on the "Documentation" tab for the description.

Illustration highlighting the components of the User Master Record.

A user can only logon to an SAP system if a user master record with a corresponding password exists. The scope of activity of individual users in the SAP system is defined in the master record by one or more roles, and is restricted by the assignment of the appropriate authorizations.

User master records are client-specific. You must maintain your own user master records for every client in SAP systems.

The following authorization objects are required to create and maintain user master records:

  • Authorization to create or maintain a user master record, and to assign it to a user group (object S_USER_GRP)

  • Authorization for the authorization profiles that you assign to users (object S_USER_PRO)

  • Authorization to create and maintain authorizations (object S_USER_AUTH)

  • Authorization to protect roles. With this authorization object, you specify which roles can be edited, and which activities (display, change, create, and so on) are intended 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 to start the transaction in the Role Maintenance (object S_USER_TCD)

  • Authorization to restrict values that the system administrator can include in a role or change in Role Maintenance (S_USER_VAL)

By choosing System - User Profile - Own Data (transaction SU3), users can themselves maintain the Address, Defaults, and Parameters tabs.

Hint

In addition to the possibilities for assigning authorizations in the SAP system described in the following sections, you can ensure that your data is protected with additional measures:

  • Secure communication in the network (Secure Network Communication [SNC])

  • Secure data formats (Secure Store and Forward [SSF])

  • Security in the Internet

  • System passwords

  • Database accesses

  • Transport system

  • Your own directory structures for the SAP system, and so on

For information about these topics, see the Security Guide in the SAP Service Marketplace under service.sap.com/securityguide. (You can also access this under www.service.sap.com.)

Tab Page: Documentation

Screenshot of the Documentation tab page.

The tab Documentation can be used to provide information about the users:

  • Description: This field contains a short description of the user.
  • Person Responsible: You can use this field to define an SU01 user who is technically and effectively responsible for this user. This can be useful for traceability in systems, especially for anonymous technical users.
  • Documentation for User: This field contains the documentation for a user. A time stamp is automatically generated and the person who made the change is recorded for each entry. Only the creation of entries is possible. You cannot change or delete old entries.

Hint

You can use the report RSUSR_DELETE_USERDOCU delivered with this enhancement to completely delete the documentation of selected users. This report is intended as a cleanup report for use after a client copy, for example. The selective deletion of individual documentation entries is not envisaged, since a consistent history needs to be ensured (like change documents).

Tab Page: Address

Screenshot of the Address tab page.

Hint

You must specify at least the following data to create new users in a system:

  • On the Address tab page, you only need to maintain the Last name field.

  • On the Logon Data tab page, you must enter an Initial Password for the new user.

All other specifications are optional and almost self-explanatory.

Tab Page: Logon Data

Screenshot of the Logon Data tab page.

The Alias is an alternative ID for an SAP user. You can assign an alias to a user. This means that 40 characters are available when assigning user names (longer, more descriptive names). The user can therefore be identified using either the (12 character) user name or the alias. The alias is primarily used if users are created in a Self-Service scenario from Internet transactions. In this situation, only the alias is specified and used.

Security policy: Sometimes users require a different security policy for logon and passwords than the default values. For example, powerful users such as administrators should have passwords with a higher level of protection than standard users. Such users should be forced to change their passwords more often or have more complex rules for their passwords. However, such requirements, if applied widely, can cause an increase in help desk requests if you force standard users to comply with such requirements.

This field could be used to choose a security policy for the user. Otherwise, the user uses the standard security policy.

Initial password: To assign initial passwords you may enter the password manually, generate the password, or deactivate the password. Deactivation means that the user can no longer log on using a password, but only with Single Sign-On variants (X.509 certificate, logon ticket). This is useful if you do not require password-based logon, because logon is performed exclusively in other ways. In this case, deactivating the password increases security, as passwords that are not used are usually still initial.

Hint

To increase security, it is possible to send encrypted e-mails with initial passwords. For details see SAP note 1750161 - User administration: Saving additional information.

User group for authorization checks: To assign the user to a user group, enter the user group. This is required if you want to divide user maintenance among several user administrators. Only the administrator that has authorization for this group can maintain users of this group. If you leave the field empty, the user is not assigned to any group. This means that any user administrator can maintain the user.

It is possible to define the user group as a required entry field for specific clients. Therefore, a user can no longer be created without entering a valid user group. Changing a user group to a blank value is also no longer possible. This function has to be activated manually. For details, see SAP note 1663177 - SU01: User group as required entry field. A valid user group must be maintained; it is used as the standard user group.

User type: The system proposal is Dialog (normal dialog user). The other user types can be assigned if special kinds of processing have to be performed (see the following figure).

Validity period: You can specify the validity period of the user master record with these fields. If you do not wish to restrict the validity of the user master record, leave the fields empty.

Other data: For each user or user group, you should assign an accounting number, which you can choose as required. System usage of that user is settled in the accounting system (ACCOUNTING-EXIT) using this accounting number. Useful accounting numbers, for example, are the cost center or company code of the user.

User Types in Detail

Illustration showing the different user types.

Dialog (A)

User type for exactly one interactive user (all logon types including Internet users):

  • With a dialog logon, the system checks whether the password has expired or is initial. The user can change their own password.

  • Multiple dialog logons are checked and, where appropriate, logged.

System (B)

User type for background processing and communication within a system (internal RFC calls):

  • A dialog logon is not possible.

  • The system does not check whether the password has expired or is initial.

  • Only the user administrator can change the password.

  • Multiple logons are permissible.

  • The System type is also frequently used in Central User Administration (CUA).

Communication (C)

User type for dialog-free communication between systems (such as RFC users for ALE, Workflow, and TMS):

  • A dialog logon is not possible.

  • Whether the system checks for expired or initial passwords depends on the logon method (interactive or not interactive). Due to a lack of interaction, no request for a change of password occurs.

Service (S)

User type that is a dialog user available to a larger, anonymous group of users. Assign only very restricted authorizations for this user type:

  • During a logon, the system does not check whether the password has expired or is initial. Only the user administrator can change the password (transaction SU01, Goto, Change Password).

  • Multiple logons are permissible.

  • Service users are used, for example, for anonymous system accesses through an ITS service. After an individual authentication, an anonymous session started with a service user can be continued as a person-related session with a dialog user.

Reference (L)

User type for general, non-person-related users that allows the assignment of additional, identical authorizations, such as for Internet users created with transaction SU01. You cannot log on to the system with a reference user.

You should be very cautious when creating reference users. For more information, see the online documentation, or read SAP Note 330067.

Tab Page: SNC

Screenshot of the SNC tab page.

Secure Network Communications

The Secure Network Communications (SNC) functions allow you to use an external security product to secure the communications between SAP System components (for example, between application servers and front-end clients). Encryption can be used in three different areas:

  • End-to-end security at the application level

  • Integrity and privacy protection for data transfer

  • Secure user authentication

Hint

It is the customer's responsibility to ensure that the purchased network security products from any manufacturer does not conflict with local legislation for cryptography.

The SNC User's Guide and additional documentation is available on the SAP Help Portal or other supplemental information under the link https://www.sdn.sap.com/irj/sdn/security.

Tab Page: Defaults

Screenshot of the Defaults tab page.
Start Menu

In this field, you can specify an area menu, which you can choose using the possible entries help. The SAP menu (SAP Easy Access) then only contains the components of this area menu.

A user needs the credit management transactions to perform daily work. If you enter FRMN as the start menu in that user's data, the SAP menu displays only the transactions of credit management.

In transaction SSM2, you can specify the initial menu across the entire system.

Logon Language

The system language when the user logs on. On the logon screen, the user can choose another language if required.

Output Device

A (short) name of a printer in the SAP system, specified in the device definition. The users in the SAP system use this name (or the long name) to select the output device.

Time Zone

The time zone describes the location of an object in relation to its local time. The underlying set of rules describes the time difference between the time zone and UTC in hours and minutes, and the start and end of summer time.

Decimal Notation and Date Format

Different counties use different formats for numbers and dates. Enter the format normally used in your country.

Tab Page: Parameters

Screenshot of the Parameters tab page.

Using a parameter ID, a field can be filled with default values from SAP memory.

Example:

A user only has authorization for company code 1000. When a transaction starts, this company code is saved to the memory using the corresponding parameter ID. On all subsequent screens, all fields referencing the company code data element are then automatically filled with the value 1000.

A field on a screen is only filled automatically with the value saved under the parameter ID of the data element, if you have explicitly allowed this in the Screen Painter.

Tab Page: Roles

A role is a set of functions describing a specific work area. In the role, you organize transactions, reports, or web addresses in a user menu. A role can be assigned to any number of users.

Screenshot of the Roles tab page.

On the Roles tab page, you can use the possible entries help (F4 help) to display a list of all available roles and then select the desired entries from that list.

You can enter any number of roles in the table, and then restrict their validity using the Valid From and Valid To columns. If you use the input help for these columns, the system displays a calendar in which you can select the date.

Further authorizations can be assigned to a user by a reference user. In addition to the roles assigned to the user itself, the user also references the roles and authorizations that are already assigned to the reference user. The roles of the reference user can be shown or hidden (see SAP Note 2110144 - SU01: Display of reference user roles).

Screenshot of the Roles tab page.

Tab Page: Profiles

On the Profiles tab page, you assign manually created authorization profiles, and therefore authorizations, to a user. The generated profiles of the roles assigned to the user are also displayed there.

Screenshot of the Profiles tab page.

Each profile grants the user a number of authorizations.

Hint

Remember that we recommend you structure the contents of authorizations using transaction PFCG and not using "manual profiles".

Caution

Never enter the generated profiles directly on the Profiles tab page, because transaction PFUD deletes these assignments if there is no entry for them on the Roles tab page. When you assign a role to a user on the Roles tab page, the profile generated for this role is automatically entered on the Profiles tab page, and the profiles in the user master record and compared with the roles.

The SAP system contains predefined profiles, such as:

  • SAP_ALL: To assign all authorizations that exist in the SAP system to users, assign the profile SAP_ALL.

  • SAP_NEW: A composite profile to bridge the differences in releases in the case of new or changed authorization checks for existing functions, so that your users can continue to work as normal.

    Caution

    This composite profile contains very extensive authorizations, since, for example, organizational levels are assigned with the full authorization asterisk (*).

Tab Page: Groups

The next tab page, Groups, is not currently fully actively used. The main use, for the Global User Manager, has officially been deactivated. For this reason, this tab page is not described in detail here. For more information, see SAP Note 433941, the current online documentation, or access the latest information through the link www.service.sap.com.

Tab Page: Personalization

Screenshot of the Personalization tab page.

On the Personalization tab page, you can make person-related settings using personalization objects. Personalization is available both from role maintenance and in user maintenance. You can define values here that control the results displayed when programs are called (such as display periods: Last 3 months, Number of entries: Max. 50, and so on).

Steps for using personalization:

  1. Choose the Personalization tab page.
  2. Go to the application component display (icon with two pages and a blue bar on the right of the display).
  3. Select the component for which you want to maintain personalization data. The right side of the display lists the personalization objects provided for this component.
  4. Select the desired personalization object and assign the values to be predefined in the dialog window that appears.

Tab Page: License Data

SAP software contains a measurement program with which every system produces the information used to determine the payment applicable for the installation.

Screenshot of the License tab page.

The measurement program is used exclusively to determine the number of users and the utilized units of SAP products. The results are evaluated in accordance with the contractually agreed conditions.

For more information, see the current version of the document System Measurement Guide (service.sap.com/licenseauditing. You can call this with or without the www prefix).

Tab Page: DBMS

Database Management System (DBMS) user management enables SAP NetWeaver Application Server (SAP NetWeaver AS) ABAP to manage users and their privileges on the DBMS.

Hint

Currently only SAP HANA database is supported.

In a typical SAP NetWeaver Application Server ABAP installation, you maintain the users that run applications on SAP NetWeaver Application Server ABAP. In the DBMS, you maintain a few technical users, but you do not need users in the DBMS for most of your SAP NetWeaver Application Server ABAP users. There are use cases that require you to maintain users in the DBMS.

  • SAP Business Warehouse (SAP BW), needs a 1:1 user mapping to map analytic privileges of the database to the virtual analysis authorizations of the SAP BW.

  • Your users run applications that access the database directly. You must assign privileges to the user in the database.

Screenshot of the DBMS tab page.

To simplify user management of the DBMS, you can create a connection between the user management of SAP NetWeaver Application Server ABAP and the DBMS. When you create users in SAP NetWeaver Application Server ABAP, the SAP NetWeaver Application Server ABAP creates the users in the DBMS automatically, with the same user ID and password. Setting an administrative lock on an SAP NetWeaver Application Server ABAP user also locks the corresponding DBMS user. You can also add and remove DBMS privileges for the DBMS user as far as this is allowed by the DBMS.

The necessary configuration steps are described in the online documentation: DBMS User Management, and in the following Security-Blog: http://scn.sap.com/community/security/blog/2014/10/21.

Hint

Password synchronization and password locks are not supported.

This customization is client-specific.

User Administration

Select Start Exercise to start the simulation.

Other Possibilities for User Maintenance and Change Documents

Illustration showing the mass changes.

Most changes that can be made for individual users in the context of user management can also be made for a selected quantity of users.

Log-on data, defaults, parameters, roles, and profiles can be changed for a particular group of users.

In user maintenance, you can make changes to a selected group of users by choosing Environment / Mass Changes (transaction SU10).

Hint

On the Address, Logon Data, and Defaults tab pages, you must select the Change checkbox for each change. This ensures that your changes, such as deleting the content of a field are transferred for the relevant fields.

After each mass change, a dialog box appears, asking whether you would like a log. The log shows who made changes, in which system, at which time.

The log contains several message levels, that you can expand as desired using the relevant buttons. If there is a long text for a particular message, you can also display this by choosing a button displayed next to the message.

While you can make certain specifications for the log display by choosing Settings, the Color Legend provides information about the colors used in the display.

You can print the log or save it to a file on your PC.

Diagram showing the change documentation and archiving.

Display Change Documents: Choose Environment / Information System and then, on the overview screen that appears, "Change Documents" to display a list of changes made to user master records, authorization profiles, and authorizations.

Archive Change Documents: User master records and authorizations are saved in USR* tables. Using the archiving function, you can reduce the memory space occupied by the USR* tables in the database. Change documents are saved in USH* tables. The archiving function deletes change documents from the USR* tables that are no longer needed.

You can archive the following change documents or change records relating to user master records and authorizations from the USH* tables:

  • Changes to authorizations (archiving object US_AUTH)

  • Changes to authorization profiles (archiving object US_PROF)

  • Changes to the authorizations assigned to a user (archiving object US_USER)

  • Changes to a user's password or to defaults stored in the user master record (archiving object US_PASS)

Practice System Exercise: Maintain and Evaluate User Data

Note

If you have access to a practice system, you can now execute this exercise.

Business Example

Almost all companies use PCs and software programs to support their employees in their daily work. However, to work with this technology, the users require access and authorizations to call the programs. A control method in an SAP system is the user master record and its roles and profiles.

Task 1: Create a user group

Create a new user group ZGR## with a description of your choice.

Steps

  1. Start transaction Maintain User Groups (SUGR).

    1. SAP Menu:ToolsAdministrationUser MaintenanceUser Groups, (transaction code SUGR).

    2. Enter ZGR## in the User group field.

    3. Choose Create user group (F8).

    4. Enter a description in theText field and choose Save (Ctrl+S).

Task 2: Create a User Master Record

Create a user master record for a dialog user GR##-ADM.

Steps

  1. Start transaction User Maintenance (SU01).

    1. Choose SAP Menu:ToolsAdministrationUser MaintenanceUsers, (transaction code SU01).

    2. Enter GR##-ADM in the User field and choose Create (F8).

    3. Select theAddress tab page.

      Enter Admuser## in the Last name field.

      Enter your choice of data in the other fields.

    4. Select theDocumentation tab page.

      Enter User for Group ## in the Description field.

      Enter ADM940-## in the Person Responsible field.

  2. Enter an initial password of your choice and assign the user to user group ZGR##.

    Initial password: Init1234

    1. Select theLogon Data tab page.

      Enter Init1234 in the New Password and the Repeat Password field.

      Enter ZGR## in the User group field.

  3. Assign the log-on language that you have used yourself for logging on.

    1. Select theDefaults tab page.

      Enter the log-on language of your choice in the Logon Language field.

  4. Save your user master record.

    1. Choose Save (Ctrl+S).

    2. Go back to the SAP Easy Access menu.

Task 3: Assign a Predefined Role to Your New User Master Record

Assign a predefined role ADM940_BC_ADMIN to your new user master record.

Steps

  1. Start transaction User Maintenance (SU01).

    1. Choose SAP Menu:ToolsAdministrationUser MaintenanceUsers, (transaction code SU01).

    2. Enter GR##-ADM in the User field and choose Change (Shift+F6).

    3. Select theRoles tab page.

    4. On the Roles tab, enter ADM940_BC_ADMIN in the Role column and press Enter.

  2. Save your user master record.

    1. Choose Save (Ctrl+S).

    2. Go back to the SAP Easy Access menu.

Task 4: Check the User Master Record

Check the user master record of your user GR##-ADM.

Steps

  1. Check whether a role is assigned to your user GR##-ADM.

    Assigned role:

    ____________________

    1. Start transaction User Maintainance (SU01)

      SAP Menu:ToolsAdministrationUser MaintenanceUsers, (transaction code SU01).

    2. Enter GR##-ADM in the User field and choose Change (Shift + F6).

    3. Select theRoles tab page.

      Answer: YES. A role is assigned on the Roles tab page: ADM940_BC_ADMIN.

  2. Link your user with another role. Choose the role ADM940_PLUS.

    1. On the Roles tab, enter ADM940_PLUS in the Role column and press Enter.

    If you are in "display mode", then change to "change mode" (Shift+F7).

  3. Are authorization profiles assigned to your user?

    Which authorization profile(s)?

    ___________________;

    ___________________.

    1. Select the Profiles tab page.

      Assigned authorization profiles:

      - Profile for role ADM940_BC_ADMIN

      - Profile for role ADM940_PLUS.

  4. Save your user master record.

    1. Choose Save (Ctrl+S).

  5. Go back to the SAP Easy Access menu.

Task 5: Display the Change Documents for a User

Display the change documents for your user GR##-ADM by calling up the information system for users and authorizations and selecting the report For Users under Change Documents for users and authorizations.

Steps

  1. Display the change documents for your user GR##-ADM by calling up the information system for users and authorizations and selecting the report For Users under Change Documents for users and authorizations.

    1. SAP Menu:ToolsAdministrationUser MaintenanceInformation SystemChange DocumentsUsers

      Select the report: For Users.

    2. Enter GR##-ADM in the User field.

    3. Choose Select All on the User Attributes tab page in the Selection Criteria area.

    4. Choose Select All on the Roles/Profiles tab page in the Selection Criteria area.

    5. Choose Execute (F8).

  2. Does the list tell you that creating the user master record and assigning the user to roles were separate steps?

    ______________________________________________

    1. Analyze the values in the Time column.

      Yes. The different time stamps and the numbering tell you that the changes were made in different steps/lines and one after another.

Task 6: Log On to the System with the Credentials of the Created User

Try to log on to the system as user GR##-ADM without Language information.

Steps

  1. Start SAP Logon and log on to the system as user GR##-ADM.

    1. Start SAP Logon.

    2. Select system T41 and choose Log On.

    3. Enter GR##-ADM in the User field.

    4. Enter the initial password Init1234 in the Password field.

    5. Leave the Language field empty.

    6. Choose Enter.

    7. Enter a password of your choice, for example Welcome1 in the New Password and the Repeat Password fields.

    8. Choose Transfer (Enter).

    9. Choose Continue (Enter).

  2. Do you need to enter a log-on language?

    ____________________

    1. No, the log-on language is set in the user master record.

  3. Check the user menu (Ctrl+F10):

    If you want to see the transaction codes in the user menu, select on the top menu ExtrasSettings and select Display Technical Name.

    Which functions does it contain? List some examples.

    ______________________________________________

    ______________________________________________

    1. The user menu contains transaction codes for:

      - Users (SU01)

      - Display users (SU01D)

      - User mass maintenance (SU10)

      - Maintain user groups (SUGR)

      - Analyze user buffers (SU53) and

      - Analyze user buffers (SU56) and

      - Analyze user buffers (SUIM) and

      - An additional submenu Information System with other entries.

  4. Check the user buffer by calling the Analyze User Buffer transaction.

    How many authorizations exist?

    ____________________

    For which authorization objects? List some examples.

    ______________________________________________

    ______________________________________________

    1. Start transaction SU56 in your user menu or in the SAP menu.

      SAP Menu:ToolsAdministrationMonitorUser Buffer, (transaction code SU56).

    2. The number of authorization objects is shown in the Number of Authorizations field.

      Number of Authorizations: 20

    3. List of authorization objects:

      - S_RFC

      - S_TCODE (twice)

      - S_SECPOL

      - S_TABU_DIS

      - S_USER_AGR (three times)

      - S_USER_AUT (twice)

      - S_USER_GRP (three times)

      - S_USER_PRO (twice)

      - S_USER_SAS

      - S_DEVELOP (twice)

      - S_OC_SEND

      - PLOG

  5. Log off as user GR##-ADM and log on again as user ADM940-##.

    1. In the session for user GR##-ADM, choose SystemLog Off in the menu.

    2. Start/Choose SAP Logon.

    3. Select system T41 and choose Log On.

    4. Log on with user ADM940-##.

Task 7: Create Users Using the User Mass Maintenance Transaction

Create additional user master records using the User Mass Maintenance transaction.

Steps

  1. Start the User Mass Maintenance transaction.

    1. SAP Menu:

      ToolsAdministrationUser MaintenanceUser Mass Maintenance, (transaction code SU10).

  2. Create the following six user names.

    User Name
    GR##-FI1
    GR##-FI2
    GR##-SD1
    GR##-SD2
    GR##-MM1
    GR##-MM2
    1. In the User column, enter the user names listed in the table and choose the Create (F8) icon.

  3. Assign the user group ZGR## to all users.

    1. Select theLogon Data tab page.

      Enter ZGR## in the User group field.

  4. Assign the log-on language that you have used yourself for logging on.

    1. Select theDefaults tab page.

      Enter the log-on language of your choice in the Logon Language field.

  5. Save your user master record.

    1. Choose Save (Ctrl+S) to save your result and to create the users.

  6. Check the result in the change log for a given user entry.

    You can copy the generated initial passwords into the tables in the exercise section.

    Hint

    Passwords of 40 characters in length are automatically generated. If you want, you can copy the generated passwords from the log to the following table, or change them directly for future tasks in transaction SU01 when required, using the Change Password button (Shift+F8).

    User nameGenerated Password
    GR##-FI1 
    GR##-FI2 
    GR##-SD1 
    GR##-SD2 
    GR##-MM1 
    GR##-MM2 
    1. The result including the generated password is shown in the Mass User Changes protocol.

      Hint

      Another option is to copy the log information to the SAP Business Workplace area using the Export/Office function, from where it can be called again at any time (SBWP), into "Private Folders" with a free Title.

  7. You can copy the generated initial passwords into the tables in the exercise section.

Log in to track your progress & complete quizzes