To enable the data extraction programs to extract the correct SAP S∕4HANA information for the correct Employee Central fields, you must map SAP S∕4HANA fields to Employee Central fields.
To map fields, go to the Define Field Mapping for Organizational Data Customizing step, which has the VC_ECPAO_MAP_OM view cluster assigned. The configuration in this view cluster is carried out in the following steps:
Create at least one transformation template group. A template group bundles all field mappings that you want to use when running the data extraction program. This is the entity that you specify on the program selection screen. From the transformation template group, the data extraction program determines all information that it must extract data from SAP S∕4HANA fields and map it to Employee Central field IDs.
Create at least one transformation template for your transformation template group. A transformation template groups information from the SAP S∕4HANA system that belongs together logically. It is the SAP S∕4HANA counterpart of the Employee Central entity.
Define a primary mapping for each of your transformation templates. This means you choose Employee Central field IDs from the Employee Central entity assigned to the transformation template, and you map suitable SAP S∕4HANA fields to these Employee Central field IDs.
The Employee Central Instance ID and the Transformation Template Group are the main configuration elements of the Business Integration Builder.
Employee Central Instance ID
Transformation Template Group
If you want to map organizational units, consider that business units, divisions, and departments from Employee Central all map to organizational units in the SAP S∕4HANA system. Therefore, you must decide how to handle the organizational unit templates:
Either you decide which of these object types you want to use. For example, if you decide to always replicate organizational units to departments, only add a transformation template to your transformation template group if the template has the Department Employee Central entity assigned.
If you want to use all three templates in your transformation template group, implement the Validity Periods for Data Replication to EC(EX_ECPAO_EMP_VALIDITY_TAB) Business Add-In (BAdI). This add-in defines to which object in Employee Central each organizational unit is mapped.
The following sample transformation template groups are defined for the Employee Central company SBS_MODEL in the delivered sample Customizing:
SBS_OM_MODEL_CSV
This is an example of the replication of organizational data using the CSV File-Based Transfer communication channel.
SBS_OM_MODEL_WS
This is an example of the replication of organizational data using the Web Service Transfer communication channel.
You can copy the transformation template group to your Employee Central company and change the field mapping of the transformation templates to suit your requirements.