Ansicht
Dokumentation

/SHCM/RH_SYNC_BUPA_FROM_EMPL - S/4HANA BP Synchronization

/SHCM/RH_SYNC_BUPA_FROM_EMPL - S/4HANA BP Synchronization

BAL Application Log Documentation   General Material Data  
This documentation is copyright by SAP AG.
SAP E-Book

Purpose

You can use this report to daily synchronize employee data for internal employees and external employees (contingent workers) stored in HCM master data persistences (infotypes) with the business partner (BP). The report locks the relevant employee during the execution of the BP synchronization. If possible, block all users or restrict users from using relevant transactions like PA30or PA40when the report is being executed.

The report checks whether an update is required, and, if so, executes the update for the following data:

  • Data sets with end date of validity period = yesterday
  • Data sets with begin date of validity period = today

If a synchronization is unsuccessful, the corresponding employee data is transferred to the table /SHCM/D_BP_SYNC and then updated in the next synchronization run.

Note: If initial BP synchronization has to be executed in parallel jobs due to a large volume of employees or during testing cycles, use the report /SHCM/RH_SYNC_BUPA_EMPL_SINGLE.

Integration

Prerequisites

  • Additionally, you can implement the method MODIFY_LIST_OF_PERNRS_TO_SYNC of BAdI /SHCM/B_EE_BP_SYNC to specify the employees that are relevant for Business Partner synchronization.
  • No employees are locked (no parallel execution of the report /SHCM/RH_SYNC_BUPA_EMPL_SINGLE or other actions that lock employees).
  • User authorizations for updating the table /SHCM/D_SYNC_RUNand for adapting reports in the job repository (transaction SJOBREPO) exist.
  • In the job repository, the report is activated and scheduled to run daily.

Features

The following employee master data infotypes are synchronized:

  • Infotype 0000(Actions)
  • Infotype 0001(Organizational Assignment)
  • Infotype 0002(Personal Data)
  • Infotype 0006(Addresses) – subtype 0001(Permanent residence)
  • Infotype 0009(Bank Details)
Subtype 0 (Main bank)
  • Infotype 0105(Communication) – subtype 0001(System user name)
  • Infotype 0105(Communication) – subtype 0010(E-mail)
  • Infotype 0105(Communication) – subtype 0020(First telephone number at work)
If SAP SuccessFactors integration is used, the subtype ECPB(Landline) is considered.
  • Infotype 0105(Communication) – subtype CELL
If SAP SuccessFactors integration is used, the subtype ECPC(Cell Phone) is considered.

Employee data is created or changed in the following ways:

  • During inbound processing in Employee Central: Synchronization is triggered automatically.
  • During inbound processing using ALE: Synchronization is triggered automatically, provided the BAdI implementation /SHCM/BUPA_SYNC_TRIG(BAdI HRALE00INBOUND_IDOC) has been manually activated.
  • During personnel master data maintenance: Synchronization is triggered automatically.

Note: If you have switched on the business function /SHCM/EE_BP_1, the data is synchronized according to the new BP model, setting up two BPs for the corresponding employee: one BP with the Employeerole (BUP003) and one BP with the Employmentrole (BUP010) If these BP instances already exist, both of them are updated accordingly. Moreover, the two reports /SHCM/R_EMPL_HDLE_BPRLES_DELTAand /SHCM/R_EMPL_HANDLE_BPROLESare available, which can be used to assign additional roles to personnel numbers with an existing BP instance with the Employmentrole. If the business function is switched off, the data is synchronized according to the old BP model, only creating the Employeerole. Further details and information on the impacts of the new BP model can be found in the documentation of the business function New Employee-Business-Partner Model in S/4HANA (CA-HR-S4).

Parallelization of the BP synchronization report

For parallelization, it is recommended to run both this report and the report /SHCM/RH_SYNC_BUPA_EMPL_SINGLEas background jobs. If you have existing background jobs scheduled for the report /SHCM/RH_SYNC_BUPA_EMPL_SINGLE, you first need to deactivate them and reschedule the report again by entering a variant. While creating the variant, you can specify the parameters Personnel Numbers per Batchand Inbound Destination.

Note: Both reports use the Background Remote Function Call (bgRFC) concept for parallelization. Therefore, adapt the reports' configuration to your requirements to ensure a successful parallelization. For this purpose, follow the steps on SAP Help Portal under SAP NetWeaver >SAP NetWeaver 7.5 >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 >Queued Remote Function Call (qRFC) >bgRFC (Background Remote Function Call) >bgRFC Configuration.

If you or other users want to make system defaults-specific changes that require an authorization, follow the steps on SAP Help Portal under SAP NetWeaver >SAP NetWeaver 7.5 >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 >Queued Remote Function Call (qRFC) >bgRFC (Background Remote Function Call) >bgRFC: Administration>bgRFC Authorizations.

Selection

Standard Variants

Output

After the synchronization, the according BP data is updated with the appropriate roles and employee information. For more details, refer to the documentation of the business function New Employee-Business-Partner Model in S/4HANA (CA-HR-S4).

A log is written and can be found via the transaction SLG1, using the object SHCM_EE_INTEGRATION and the subobject BUPA_SYNC. The log informs you whether the synchronization has been successful and lists all errors occurred.

Further information

Refer to the BAdIs Mapping of Employees to BP fields, and Sync of Roles.






RFUMSV00 - Advance Return for Tax on Sales/Purchases   PERFORM Short Reference  
This documentation is copyright by SAP AG.

Length: 10631 Date: 20240329 Time: 101906     sap01-206 ( 147 ms )