in SAP Standard core hybrid employee master data replication, we observed an issue while postpone of hire date for already replicated new hire employee if additional actions usage is activated in the system. in such case we got an error like below.
Error during Postpone of hire date for new hire
The reason for this error is SAP standard code deriving 0302 not to be deleted records based on Protected Actions.
So we implemented below Enhancement ZCL_ECPAO_IN_INFOTYPE_0000 in class CL_ECPAO_IN_INFOTYPE_0000 method GET_P0302_NOT_TO_BE_DELETED to overcome the issue.
Enhancement ZCL_ECPAO_IN_INFOTYPE_0000
Code should like below.
Sample code
After correction it got replicated.
Successfully replicated
Please share your feedback with us in comments.
For further reading please visit the below blogs
the SAP Integration Strategy environment Topic page:
https://community.sap.com/topics/integration-strategy,
post and answer questions:
https://answers.sap.com/tags/e26e2f63-fcc1-42a7-af06-decec0762b90
Please find other blogs from me on core hybrid replication :
https://blogs.sap.com/2023/04/14/exclusion-of-employees-in-core-hybrid-replication/
https://blogs.sap.com/2023/04/25/core-hybrid-new-hire-replication-it-0002-first-record-start-date-is...
Best Regards,
Prakash Bellamkonda