Ansicht
Dokumentation

CRM_BUPA_USERSTATUS_CONV2ROLE - CRM BP: Convert User Status to BP Role

CRM_BUPA_USERSTATUS_CONV2ROLE - CRM BP: Convert User Status to BP Role

TXBHW - Original Tax Base Amount in Local Currency   Addresses (Business Address Services)  
This documentation is copyright by SAP AG.
SAP E-Book

Purpose

A user status cannot be maintained for business partners in the CRM WebClient UI due to conceptual changes. The functionality provided instead focuses on life cycle statuses based on the business partner roles assigned to a business partner.

If you still want to use your user status information (configuration of status profiles and assignments of user status to business partners) in the CRM WebClient UI, two reports are available that enable you to convert your existing user status data into business partner roles:

  • You can convert a status profile for the object type "Business Partner" to a role exclusion group (which comprises the roles corresponding to individual statuses) using the report BUP_STATUSPROFILE_CONVERT.
  • You can subsequently convert the user status master data into roles for use with the account life cycle using this report, CRM_BUPA_USERSTATUS_CONV2ROLE (also see note 1097651).

Integration

Prerequisites

Before starting this report, make sure that there is at least one business partner role exclusion group available in the system. The roles assigned to this exclusion group serve as the targets for mapping each individual user status contained within the status profile.

Ideally the role exclusion group will contain the same number of roles as the number of individual user statuses within the status profile so that a proper one-to-one mapping of user status to role can be done.

You can create a role exclusion group to which a status profile can be mapped using the report BUP_STATUSPROFILE_CONVERT.

Features

To convert user status master data assigned to a business partner, you need to specify the roles to which each user status should be mapped. You do this manually after specifying the status profile and role exclusion group.

When the report is executed, the relevant business partners are updated according to the defined mapping. The relevant business partners are those for which a user status exists, based on the status profile.

The report can be started in dialog mode or in the background. If you want to run the report in the background, you need a variant containing the selection criteria (such as status profile, role exclusion group, business partner range).

If you intend to convert a large amount of data (in particular, status profiles and user statuses assigned to business partners in the tables CRM_JSTO and CRM_JEST), it is advisable to run the report in the background to prevent a timeout during online processing and to reduce the system load. Using the transaction SA38, you can either execute the report immediately or schedule it for a later point in time.

The mapping of user statuses to roles for any status profile and role exclusion group can be saved to the Customizing table CRMC_BUP_STATMAP. If you run the report in the background, the mapping is read from this table as no entries can be made manually.

Before starting the report in the background with a variant comprising a valid status profile and role exclusion group, make sure that the mapping is saved to the table CRMC_BUP_STATMAP. You can also maintain the table using the transaction SE16.

Selection

  1. On the selection screen, enter the status profile and the role exclusion group. You also can limit the range of business partners to be converted.
The conversion can be executed in test mode. This does not update the master data. To do this, make sure the Test Run indicator is set (default setting).
  1. On the next screen, specify the mapping for the statuses contained in the selected status profile to the business partner roles contained in the selected role exclusion group.
Note that the mapping needs to be specified for all statuses before performing the conversion. You can assign the same role more than once. However, we recommend that you define a distinct assignment between a user status and role.
If you intend to use the mapping of user statuses to roles to run the report in the background, save the mapping specified to the table CRMC_BUP_STATMAP. To do this, choose Save.
  1. After specifying the mapping, choose Execute to start the conversion in either test or update mode.

Standard Variants

Output

In dialog mode, the application log is displayed automatically after every conversion, and shows all business partners that were updated. You can also display the log by choosing Application Log.

In background mode, the job log merely gives the result of the conversion, and does not list the individual business partners.

Activities

Example






General Material Data   CPI1466 during Backup  
This documentation is copyright by SAP AG.

Length: 5202 Date: 20240520 Time: 044533     sap01-206 ( 99 ms )