Ansicht
Dokumentation
/SHCM/R_EMPL_HANDLE_BPROLES - Assignment of Additional Roles to "Employment" Business Partners
ROGBILLS - Synchronize billing plans CL_GUI_FRONTEND_SERVICES - Frontend ServicesThis documentation is copyright by SAP AG.
Purpose
You can use this report, which is based on the logical database PNP, to assign additional roles to personnel numbers with an existing business partner (BP) instance with the Employmentrole. If the additional role already exists, the system only updates the according BP master data. You can use the various options on the selections screen to filter the employees for whom you want to run the report. The additional roles are to be specified by means of either the BAdIs /SHCM/B_EE_BP_SYNC, and /SHCM/B_EP_BP_ROLE_SYNC, or the BAdI BADI_FITV_VENDOR_SYNC.
You can parallelize the report by entering the following parameters:
- Personnel Numbers per Batch
- Inbound Destination
Note: For the initial generation and update of additional roles, use this report, Afterwards, always use the report /SHCM/R_EMPL_HDLE_BPRLES_DELTA.
Integration
The delta report /SHCM/R_EMPL_HDLE_BPRLES_DELTA can be used to update or delete the roles additionally assigned.
Prerequisites
- The business function /SHCM/EE_BP_1is switched on.
- The BAdI /SHCM/B_EP_BP_ROLE_SYNC is implemented. In case you have implemented the BAdI BADI_FITV_VENDOR_SYNC, it is used as a fallback.
- A BP instance has been created for the personnel number in the Employmentrole through the synchronization reports /SHCM/RH_SYNC_BUPA_EMPL_SINGLE and /SHCM/RH_SYNC_BUPA_FROM_EMPL.
Features
The system assigns the additional roles to the selected personnel numbers with an associated BP instance with the Employmentrole. As a result, BPs can have both the Employmentrole and other roles at the same time. Thus, concurrent employment is possible. By this, you can flexibly adapt the roles in case of change of main employment.
Note: If the field Block days in the Customizing view PTRV_VENDOR_SYNC is filled, this report will update the Vendor block date in table /SHCM/D_RLE_SYNC. This means that the corresponding Vendor role will remain unblocked for further processing purposes for the indicated number of days after the date of the employee's termination. As soon as the specified block date is reached, the report will update the block flag (field SPERRof table LFB1) of the Vendor.
Selection
You have the following options to restrict the number of selected employees:
- Period: You can select all employees who are active during an indicated period.
- Selection: You can further restrict the results by filling the fields in the Selectionsection. You can customize the selection options through Further Selections.
- Personnel Numbers per Batch: You can determine the number of personnel numbers to be processed per batch.
- Inbound Destination
- Override Vendor with Defaults: If this field is checked, the vendor data is updated according to the reference data in table PTRV_VENDOR_SYNC.
Standard Variants
Output
A log is written and can be found via the transaction SLG1, using the object SHCM_EE_BP_ROLES and the subobject ROLE_HANDLE. The log informs you whether the synchronization has been successful and lists all errors occurred.
Activities
Example
CL_GUI_FRONTEND_SERVICES - Frontend Services SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up
This documentation is copyright by SAP AG.
Length: 4760 Date: 20240426 Time: 082916 sap01-206 ( 75 ms )