SAP Knowledge Base Article - Public

3776312 - Error "Postal Code XXXXX must have the length Y" occurs when saving a work agreement in Manage Workforce app

Symptom

In the "Manage Workforce" application, the error message "Postal Code XXXXX must have the length Y" occurs when attempting to save changes to a worker's work agreement.

The postal code field is not visible or available within the application, preventing the administrator from correcting or filling it in.

Environment

SAP S/4HANA Cloud Public Edition

Reproducing the Issue

  1. Open the "Manage Workforce" application.
  2. Create or update a work agreement for a worker.
  3. Fill in the available required fields and select Save.
  4. Observe the validation error: "Postal Code XXXXX must have the length Y"
  5. Note that the postal code field is not available in the UI to resolve the error.

Cause

The current Country-Specific check for the used country does not meet the business requirements.

Resolution

  1. Open "Manage your Solution" or "SAP Central Business Configuration" (CBC)
  2. Access SSCUI 102592 (Set Country-Specific Checks).
  3. Select the affected Country/Region.
  4. Change the required fields:
    1. E.g: For Argentina, set the postal code length to 8.
    2. Set the checking rule to 1.
  5. Save the changes and now it will be possible to create/update the work agreements in app "Manage Workforce".

See Also

  • KBA 2784057 - How to Define Country-Specific Checks in SAP S/4HANA Cloud Public Edition
  • KBA 3636960 - Vietnam postal code validation failing with error ' Postal code XXXXX must have the length 6'

Keywords

manage workforce, postal code must have a length of 4 digits, missing postal code field, contract save error, worker contract, credit note workflow, country-specific checks, SSCUI 102592, CBC, central business configuration, postal code length, checking rule , KBA , CA-GTF-BUM , Business User Management , BC-SRV-ADR , Address Management / Business Address Services , CA-BK-2CL , Bank (Public Cloud) , Problem

Product

SAP S/4HANA Cloud Public Edition all versions