Symptom
Address Validation error when entering Apt/Unit field value. Field Apt/Unit being added to the first address line after validation.
Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental.
Environment
- SAP SuccessFactors HCM Suite
- SAP SuccessFactors Employee Central - DQM
Reproducing the Issue
- Go to Employee Profile
- Address Information
- History
- Insert New Record
- Clear the existing Apt/Unit # (address2 field)
- Click on Validate Address
- Validation Response appears
- Continue
- The Apt Number is getting added to the address line instead of Apt/Unit# field.
OR
- Go to Employee Profile
- Address Information
- Edit
- Enter new Address (address1 field) and Apt/Unit # (address2 field)
- Click on Validate Address
- Validation Response appears
- Continue
- The Apt Number is getting added to the address line instead of Apt/Unit# field.
Cause
When a delivery address consists of an exterior portion and an interior portion, the Street Address (std_addr_prim_address) property contains the exterior portion (usually the street address) and the Secondary Address (std_addr_sec_address) property contains the interior portion (the secondary part that usually represents a floor number, unit number, stairwell name, or wing name).
For example, the following illustrates how the address “100 Main St Apt 201” is split.
Property |
Value |
std_addr_prim_address |
100 Main St |
std_addr_sec_address |
Apt 201 |
Resolution
Country USA uses the default template for Address Validation. However, if a customer wishes to customize the output value, they must update the configuration as follows:
- In DQM - SAP SuccessFactors Employee Central > Standard Configuration
- Map Street Address with address1 and
- Secondary Address with address2.
Subsequently, the customer will receive the required values:
See Also
Keywords
Address Validation Service, address validation, address line, number, apartment, unit, secondary, validation, , KBA , LOD-SF-EC-PER-ADR , Home Adress - Config, Rules, RBP, UI , Problem