Ansicht
Dokumentation

R_HRWFD_LOG_MGR_DETERMINATION - Manager Determination

R_HRWFD_LOG_MGR_DETERMINATION - Manager Determination

BAL Application Log Documentation   CPI1466 during Backup  
This documentation is copyright by SAP AG.
SAP E-Book

Purpose

With this report, you can identify manager changes for a respective workforce person, and the data is persisted. The DRF replication is triggered, and updates are sent to SAP Master Data Integration for the identified workforce person with a manager change.

Integration

Prerequisites

  • The authorization object P_ORGIN is assigned to you.
  • The switch H4S4_SFWS_SC_01 is active.
  • The replication model created from SAP Master Data Orchestration must be active. The report checks if the replication model is active. If it is not, an error message is displayed.
  • The report uses the fallback logic of the BAdI HROM_MGR_B_DETERMINATION by default. If you have a custom implementation, it must be active.

The deployment scenario SAP_AIF_0064 must be extracted to view various logs/messages of the manager determination report in AIF. You can find more information in the documentation of Extraction.

The report uses the background Remote Function Call (bgRFC) concept for parallelization. Therefore, adapt the report's configuration to your requirements to ensure a successful parallelization. To do this, follow the steps on SAP Help Portal under SAP NetWeaver 7.5 -> Use -> SAP NetWeaver Library: Function-Oriented View -> Application Server -> Application Server Infrastructure -> Functions and Tools of SAP NetWeaver Application Server -> Connectivity -> Components of SAP Communication Technology -> Classic SAP Technologies (ABAP) -> RFC -> Background Communication and then refer to Queued Remote Function Call (qRFC) and bgRFC (Background Remote Function Call), in particular bgRFC Configuration.

If you want to make system default-specific changes that require authorization, follow the steps on SAP Help Portal under SAP NetWeaver 7.5 -> Use -> SAP NetWeaver Library: Function-Oriented View -> Application Server -> Application Server Infrastructure -> Functions and Tools of SAP NetWeaver Application Server -> Connectivity -> Components of SAP Communication Technology -> Classic SAP Technologies (ABAP) -> RFC -> Background Communication -> bgRFC (Background Remote Function Call) -> bgRFC Administration -> bgRFC Authorization.

Features

The report can either be executed in the foreground or it can be scheduled to run in the background using transaction HRWFD_MGR_DETN_JOBor the Customizing activity Schedule Manager Determination Report.

The manager determination table will not contain any data initially. When the report is executed for the first time, it persists all the manager-workforce person pairs in the table with the date of the report execution as the key date, except for workforce persons without a manager. This will be the initial load and the DRF replication is triggered for the identified workforce with a manager change.

For any subsequent execution, the report checks if there is a change in any of the manager-workforce person pairs based on the persisted manager determination data. It then persists the respective pair with the latest manager based on the date of the report's execution. For any workforce person, the data will only be persisted if the workforce person has been assigned or unassigned to a manager.

The report then triggers the DRF replication and sends the information to SAP Master Data Integration every time it is executed for the identified workforce with a manager change.

The report supports parallel execution in batches. It is thus recommended to execute or schedule the report using parallel execution for a large number of workforce persons. You can also execute the report without parallel batches when the data volume is comparatively low. Relevant messages are logged in AIF for each batch after the execution.

Selection

To execute the report in parallel batches, you have to enter the number of personnel numbers per batch and then choose a valid inbound destination using the value. The number of personnel numbers per batch must always be positive. When creating the variant, you can specify the parameters Personnel Numbers per Batch and Inbound Destination.

If you decide to not execute the report in parallel batches, you should not provide any input selections. The report is then executed in one batch only.

Standard Variants

Output

If the report is executed successfully in the foreground, an information message is displayed. Clicking on the message will take you to AIF, where you can find the relevant logs the report displays after it has been executed as well as the list of personnel numbers with a manager change.

If the report is executed in the background, the relevant messages are still logged in AIF. However, there is no navigation to AIF from within the message. To get there, you can either use the Customizing activity or the transaction HRWFD_AIF_MGR_DETN.

Furthermore, you can use the transaction HRWFD_H4S4_AIF_MNTRor Customizing to check whether the replication has been successful for the workforce person with a manager change.

For a person with multiple managers on the same day, the manager with the lowest personnel number will be persisted and the replication is triggered for this workforce person with the manager with the lowest personnel number.

Activities

Example






ABAP Short Reference   BAL Application Log Documentation  
This documentation is copyright by SAP AG.

Length: 6180 Date: 20240601 Time: 061255     sap01-206 ( 127 ms )