SAP Knowledge Base Article - Public

2642229 - Country Code Instead of Country Name in Country Dropdown

Symptom

What is the solution to follow when Country codes show up in place of Country names?

CodeCountry.JPG

Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental.

Environment

Employee Central - Localization

Reproducing the Issue

  1. Go to Home Address of any employee and click on Country dropdown
  2. Country codes are displayed in the dropdown instead of Country names.

Cause

Configuration Issue:

This can indicate a configuration issue, such as missing translations for the country in question.

MDF Cache:

MDF Cache needs to be refreshed. This scenario rarely occurs when MDF configurations are sync'ed from one instance to another whilst other objects are also being updated at the same time, and the cache might become stale or not fully refresh.

Resolution

  1. Check Configuration
    • First check that Labels and Translations are properly maintained for the Country:
      1. Go to Admin Center > Manage Data
      2. Search for the MDF Object "Country"
      3. Verify that the Country has a Label & Translations
    • Alternatively, you can go to Admin Center > Import and Export Data, and export the Country Object data to check all Countries.

  2. Refresh MDF Cache
    • If all the Labels are set correctly, perform a manual MDF Cache Refresh by changing the Country name in any of Translation as mentioned in article 2222723.
    • Once you have changed the Label and saved, you can immediately revert the Translation label back to the original value. This will trigger the cache to be refreshed.
      • Before refresh:

        CodeCountry.JPG
      • After refresh:

        NameCountry.JPG
    • If the cache is successfully refreshed, you will find the country name instead of code now appearing in the related menu's.
    • If this does not resolve the problem and the Country Code is still displayed instead of the label this might indicate that the MDF Cache Refresh did not trigger which would require manual triggering or possibly even a configuration issue. 
  3. Refresh MDF Cache from Instance and Provisioning
    1. Go to Admin Center and search for OData API Metadata Refresh and Export.
    2. For Cache, click Refresh.
    3. Logout of your Instance and go to Provisioning.
    4. Click the Company ID in Provisioning.
    5. Look for MDF Cache Tool > Clear Cache.
    6. Then, click on the "Click to clear cache" button.
    7. Login back to your Instance. In Admin Center and search for OData API Metadata Refresh and Export.
    8. For Cache, click Refresh again to make sure everything is clean.
    9. Logout of your Instance. In a new browser session, log in back to your Instance.
    10. Check if the Country Code continues showing in the Profile instead of the Labels.    

Therefore, if you continue to experience this problem, please raise an case with SAP Cloud Product Support, and provide this article's number as well as a brief recap of the issue.

@Cloud Product Support: Refer to the Internal Memo for more details.

See Also

2222723 - How to Change Country Name and Translations

2826293 -  Country code showing Instead of Country Name for Country Fields

2171588 - OData API Metadata Refresh and Export - SuccessFactors

Keywords

country code, country name, cache, refresh, mdf country, business address, national id, mdf cache refresh, iso country code, , KBA , LOD-SF-EC-PER-ADR , Home Adress - Config, Rules, RBP, UI , Problem

Product

SAP SuccessFactors Employee Central all versions