Show TOC

Function documentationCreating Users and Business Partners Automatically

 

To ensure that the users of the managed systems can, for example, check the processing status of support messages in SAP Solution Manager, they must be created as users and business partners (with the employee and contact person roles) in SAP Solution Manager. Transaction BP_USER_GEN determines new users in the managed systems.

You can perform the following functions:

  • List new users by comparing SAP Solution Manager and managed systems:

    • As administrator, check in which managed systems there are new users.

    • As SAP partner, find new managed systems for a customer and/or new users in a customer’s managed systems.

  • If your security policy permits it, you can automatically create or update new users and business partners in SAP Solution Manager.

Recommendation Recommendation

Schedule report AI_SDK_USER_BP_GEN to run the transaction regularly.

End of the recommendation.

Note Note

To only create business partners, you can also use transaction BP_GEN.

End of the note.

Prerequisites

  • The ST-PI plug-in is installed in the managed systems.

  • Users created in SAP Solution Manager must exist in the managed system with an e-mail address or the same user name. These are their central identification attributes.

  • For scheduling the report: You are authorized to use transaction SE38 and to run the report.

Activities

Execute in test mode

Test mode is the default mode, to initially simulate the result.

  1. To restrict users by change date, in the Select Users from Managed System group box, choose Select via last changed Date.

    • Enter the RFC destinations you want to consider.

    • To search for users by existing RFC connections between SAP Solution Manager and managed systems of type READ, choose Existing Read RFCs.

    • To use enhanced authorizations to search for users, choose Trusted RFCs.

      Use this option, for example, if you did not find the users you expected to find.

    • Enter the selection date in the Users changed since field to check which users have been added since the entered date. The system date is set as the default.

  2. To restrict users by user name, in the Select Users from Managed System group box, choose Select via User Name.

    • Enter an RFC connection in the field RFC Connection.

    • Specify which users you want to take into account, under Users.

  3. In the Users group box, under Get Users and Business Partners by, choose whether to get users by their e-mail address or user name.

  4. To create business partners automatically, choose Create Business Partner (BP).

    To ensure that newly-created business partners can log on to SAP Solution Manager, they must also be created as users.

  5. To update the identification numbers of already created business partners, choose Update Business Partners (BP).

  6. To update the master data of the business partner with the master data from the managed system, choose Update BP Master Data as well.

    Note Note

    Available only if you select users by user name from the managed system and entered an RFC destination.

    End of the note.
  7. To create users automatically, proceed as follows:

    • Choose Create Users.

    • Choose users creation options:

      • Enter the name of a template or reference user.

      • Specify whether the users get the SAP Solution Manager logon password by e-mail.

        Caution Caution

        Only choose Send Mail to New Users if the security policy permits sending passwords by e-mail.

        End of the caution.
  8. In the Program group box, choose the execution options:

    • To display all details, choose Display Details.

      To display only called RFC connections, summaries of subfunctions and error messages, remove the checkmark.

    • To also display invalid users, to whom no e-mail address is assigned in the managed system, deselect Hide Skipped Entries.

    • Make sure that the Test Mode check box is selected.

      The system shows the result of the simulation.

  9. Choose Execute.

    The system checks the RFC connections to the managed system and, depending on the execution option, also displays the following information:

    • Which systems were not reachable and for what reason (for example, no current ST-PI plug-in installed)

    • The total number of new users in each managed system that can be processed

    • Which new users could be identified using an e-mail address or a user name, and are therefore valid users

      The valid users are selected and can be automatically created as users and business partners in the SAP Solution Manager system.

    • Which new users have already been created as users and business partners in SAP Solution Manager.

      If a business partner has already been created, the system checks whether the identification numbers in SAP Solution Manager and in the managed systems match, and whether the role Team Member has been assigned to the user.

      If the identification numbers do not match, the system adds the correct identification number for the business partner, in SAP Solution Manager.

      If SAP Solution Manager is operated by an SAP partner and data separation is active, the customer number is also added.

    • Which new users and business partners the system would create because they have not been created in SAP Solution Manager yet.

    • Whether central user administration (CUA) is active.

      If CUA is active, the CUA master system is displayed. In this case, the transaction creates users in the system.

Create Users or Business Partners Automatically in SAP Solution Manager

Caution Caution

Create users and business partners automatically only if your company’s security policy allows this. If not, create the users and business partners manually.

End of the caution.

Caution Caution

You can only manually undo the creation of users and, in particular, business partners, with considerable manual effort.

End of the caution.
  1. To actually create or update the users and business partners, deselect Test Mode.

  2. Execute the transaction again.

    Depending on the settings, the system creates new users and business partners or updates existing business partners.

More Information

Managing RFC Connections for Application Server ABAP

For creating users and business partners in customer-specific developments, see SAP Note 1515054Information published on SAP site.