Ansicht
Dokumentation

RCBIH_BUPA_ROLE_ASSIGN - EHS: Assign Roles for Business Partners (Based on Type)

RCBIH_BUPA_ROLE_ASSIGN - EHS: Assign Roles for Business Partners (Based on Type)

Fill RESBD Structure from EBP Component Structure   ABAP Short Reference  
This documentation is copyright by SAP AG.
SAP E-Book

Title

Assignment of roles to business partners taking the business partner type into account.

Purpose

This report program assigns special roles to the business partners that were created as general business partners and are not yet assigned to any special roles. Special business partner types are used for the assignment.

Features

The report program can be started in a test mode in which no data records are changed in the tables.

The report program can be started in a full or shorter documentation mode (LONGLIST).

Activities

The program comprises the following steps:

  • Define the assignment relationship: partner type to partner role.
    The following rules for assigning business partner types to business partner roles are used:
    AA --> HEA010
    ARZT --> HEA010
    DA --> HEA010
    HNOA --> HEA010
    INST --> CBIH20
    KKH --> HEA030
    SP --> CBIH10
    UNFI --> HEA050
    UNMA --> CBIH10
    ZA --> HEA010
  • Read all data to the memory.
  • Check whether all defined roles exist in the system.
  • Check whether all partner types found are assigned to a role.
  • Check whether roles were already assigned to persons.
No new roles are then assigned to these persons.
  • Assign the remaining persons to roles.

Notes

The report program serves as an example of a special combination of partner types and partner roles. The program can be copied and used for another assignment between partner types and roles, and the assignments redefined in the source text under '* define assignment'. Other source text changes are not necessary.

In each case, Customizing for the roles and types must be modified. For example, the field modifications for the roles for all fields must be set to not specified, in order to identify the settings for the type as decisive.

Change documents are not written.






rdisp/max_wprun_time - Maximum work process run time   SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up  
This documentation is copyright by SAP AG.

Length: 2360 Date: 20240520 Time: 130937     sap01-206 ( 35 ms )