SAP Knowledge Base Article
2552488 - BIB full replication from EC to SAP ERP: Mapping location field
Component: LOD-EC-INT-EE (Employee Integration EC to ERP On Premise), Version: 3, Released On:
23.10.2017
Symptom
You are replicating an employee from Success Factors (Employee Central) to SAP HCM (ERP).
You are using BIB full replication from EC to SAP ERP.
You need map a single EC field "Location" to ERP fields P0001-WERKS and P0001-BTRTL.
Employee Central has one field for Location (8 chars) which should map to 2 fields (4 chars each field) in HCM
(personneal area and personnel subarea).
Value conversion configuration to extract the last chars of the location field to map to pers. subarea is tricky.
You may even experience a mapping error like:
Fill mandatory field : P0001-BTRTL for time segment 14.09.2017 to 31.12.9999
Message No. ECPAO_IN_PROCESSING039
Environment
Human Capital Management (HCM)
SAP R/3
SAP ERP Core Component
SAP ERP
SAP enhancement package for SAP ERP
SAP enhancement package for SAP ERP, version for SAP HANA
Cause
Resolution
Location is a concatenated field. To extract P0001-WERKS and P0001-BTRTL out of it, follow the steps and hints:
IMG (Transaction SPRO): Personnel Management -> Integration with SuccessFactors Employee Central -> Business
Integration Builder -> Employee Data Integration -> Define Field Mapping for Employee Data
Hint: Use
Extracting the 4 last characters of an string with 8 characters is very similar to extracting the 4 first characters. The
operation (.*)(.{4}$) splits a 8 length string e.g. ABCDEFGH into
$1: ABCD and
$2: EFGH.
See the followwing section of the guide:
Formatting the Employee Central Fields by Value Conversion
Use regular expressions / REGEX
Keywords
SF, Success Factors, Employee Central, ERP, SAP, xml file, SRTUTIL, SLG1, payload, REGEXP.
Attributes
Key Value
Other Components LOD-SF-INT-SAP (Please use LOD-EC-INT*)
Products
Products
SAP ERP Central Component for discrete industries all versions
SAP ERP all versions
SAP enhancement package for SAP ERP all versions
SAP enhancement package for SAP ERP, version for SAP HANA all versions
This document is referenced by
SAP Note/KBA Title