SAP Knowledge Base Article - Public

3661071 - Error "Packed field contains incorrect BCD format" in SRTUTIL during employee replication

Symptom

When replication is run using HRSFEC_PTP_EE_REPL, there are no logs shown in SLG1.

You see the following error in SRTUTIL which corresponds to the time the replication was run:

"Packed field contains incorrect BCD format"

You see the following dump in ST22 which aligns with the time that the replication was run:

"An arithmetical operation in the current program "CL_HRSFEC_INFTY_0007==========CP" tried to process a field of type P that does not contain a valid BCD format."

Environment

SAP SuccessFactors Employee Central Payroll

Reproducing the Issue

Replicate employee from EC to ECP using HRSFEC_PTP_EE_REPL 

Cause

The error is being raised in the method MAP_PLANNED_WORKING_TIME of class CL_HRSFEC_INFTY_0007 in the following line of code:

  • TRY.
    <ls_p0007>-arbst = lv_hours_per_week / <ls_p0007>-wkwdy. 

The issue here is with the arithmetic operation "daily working hours = weekly hours / days per week". 

Should LV_HOURS_PER_WEEK be equal to 0, the above division is aborted, and the exception falls under the catch cx_sy_arithmetic_overflow. 

Resolution

As per KBA 2984800 , the Weekly working hours is filled based on the value stored in the field "Standard weekly hours" in the Job Information of EC. 

To resolve this:

1. Configure V_HRSFEC_EXTMAP as in KBA 2984800 in part "Filling the Working Hours".
2. Ensure that value "Standard weekly hours" in the Job Information of EC is being replicated.

Keywords

"Standard weekly hours" "BCD" "HRSFEC_PTP_EE_REPL" "V_HRSFEC_EXTMAP" "dump" , KBA , LOD-EC-ECP-EDR , Employee Data Replication , Problem

Product

SAP SuccessFactors HCM Core 2505