Symptom
During PTP replication, the following error prompts:
Program condition violated(\CLASS=CX_HRPA_VIOLATED_ASSERTION)
Message No. HRSFEC_PTP102
Environment
Implementing Employee Central Payroll
Reproducing the Issue
Replicate employees using PTP
Cause
Wrong actions configuration
Resolution
One of the possible reasons for this error is that the MASSN value do not exist or it is wrongly configured in table T529A.
For expert consultants they can debug using a break point to check if the execption is raised after checking T529A. This is the exact code to use:
SPECIFIC_INITIAL_COMPUTATIONS CL_HRPA_INFTY_0000============CP
IF evsup = yes AND
i529a-p0000 IS INITIAL AND
i529a-p0302 IS INITIAL.
RAISE EXCEPTION TYPE cx_hrpa_violated_assertion.
ENDIF.
Remember replication can be simulated using report RP_HRSFEC_REPLICATION_STATUS.
Keywords
KBA , LOD-EC-GCP-PY-EDR , Employee Data Replication , Problem