Symptom
You have ran a purge request and in the report some users are being shown with the error There is no country specified for this user or user's country is not DRM enabled. or Country code doesn't exist or this country doesn't enable DRM. Please check picklist country or MDF country configuration for identity: or There is no retention time defined for this country
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 HXM Suite
Cause
Users country field is not the same as MDF country entity so there is country convert in the backend. In this case, we must also ensure that the country field value should be the same as the MDF country entity default value.
Resolution
To use the master data purge, you need to enable the new data retention time management (DRTM) solution and the DRTM Master Data purge object and ensure that General Permission Check is completed this is for Both EC /Non EC enabled instances, please, for additional information follow the KBA 2615360
- Checks to ensure that Country Field is matching MDF Country Entity:
- Admin Center > Search for Manage Data
- Search for Country and ensure in Data Retention Enabled field the option Yes is selected;
- Still in Country > Click on Country Translation and place the same value the is placed in Country field
- For example, if in Country Field is place United States in the Country Translation you must to place United State as well
- Ask for a partner or open an case with SAP Support to check if the standard element "country" in your company whether mapping to any picklist id has been configured;
- For partners:
- Go in Provisioning > Export Data Model and check standard element "country" whether mapping to any picklist ID;
- For Customer:
- Open an case mentioning this KBA with the following information:
- CompanyID:
- Support Access:
- If Country is not mapped to any picklist, make sure the user's country field as shown in the image above is the same as the MDF country's default value field, provide country default value of the to be purged user and proceed with the Purge;
- If Country is mapped to a picklist ID, perform the steps below:
- Go to Admin Center > Picklist Management > Export all picklist.
- If your company has complete MDF picklist migration, there is no "Picklist Management" in Admin Center, please, follow steps on 2674970 to get picklist related optionId;
- Find optionId of the country of the purged user;
- Make sure external_code was configured and external-code is equal to the country code in MDF side;
- Provide country related optionId of the to be purged user and proceed with the purge;
Please reference SAP Guide for further Guidance reference Data Purge
Note :
- If Job Info Start date is in the future for the user, then you might get the error also. You will only be able to purge the user with DRTM Master Data Purge on/after the Job Info Start date
- If Learning Module is enabled in your instance ensure the following permissions are granted see KBA 2675172
See Also
Related errors encountered when running the DRTM Purge :
- 2647803 - Show with "Part of audit data is not available and hence cannot be purged" comment in master data purge report
- 2675172 - Request failed and get "The user is not permitted to perform the requested operation" exception in server log
- Errors in master data purge preview report "There is no exit date assigned to this user" reference Adding CompanyExitDate Field to Your Data Model
Keywords
DRTM, Country Code, Failed, Straight to failed, Country code doesn't exist, country code doesn't exist, error, There is no retention time defined for this country, picklist, Data retention management, There is no country based data retention configured for the selected purge criteria , KBA , LOD-SF-PLT-DRM , Data Retention Management , LOD-SF-PLT , Platform Foundational Capabilities , Problem