SAP Knowledge Base Article - Public

3834367 - Workforce replication fails with "Country/Region Key (LFA1-LAND1) is a required entry field" via MDI - SAP S/4HANA Cloud Public Edition

Symptom

  • Workforce replication from the source HR system to the target system via Master Data Integration (MDI) fails with the error: "Country/Region Key (LFA1-LAND1) is a required entry field."
  • The error occurs even though the incoming payload contains a country/region code.
  • Subsequent processing shows "Unable to process workforce person record."

Environment

SAP S/4HANA Cloud Public Edition

Reproducing the Issue

  1. Prepare a workforce replication payload in which the work assignment start date is earlier than the validity start date (Valid From) of the worker’s address that contains the country/region code.
  2. Send the payload from the source HR system to the target system via MDI.
  3. Monitor error handling or interface logs and observe the error: "Country/Region Key (LFA1-LAND1) is a required entry field."

Cause

A mismatch exists between the work assignment start date and the validity period of the worker’s address. The assignment begins before the address (with the country/region code) becomes valid, leading to the required country/region field being unavailable at the key date.

Resolution

1.Verify the work assignment start date in the source HR system.

2.Verify the address validity period (Valid From) and ensure the address with the country/region code is valid on the assignment start date.

3.Align dates by either:

  • Adjusting the work assignment start date to be on or after the address Valid From date, or
  • Adjusting the address Valid From date so it is on or before the work assignment start date, ensuring the country/region code is maintained.

4.Re-trigger the workforce replication via MDI.

Keywords

MDI, workforce replication, LFA1-LAND1, Country/Region Key, required entry field, Manage Workforce, address validity, Valid From, work assignment start date, country code, replication failure, integration error, error handling, SAP S/4HANA Cloud, SuccessFactors integration , KBA , CA-WFD-INT , S/4HANA Cloud Workforce Domain Integration , Problem

Product

SAP S/4HANA Cloud Public Edition all versions