Do you have any question about this error?
Message type: E = Error
Message class: PD - HR-PD: Reserved
Message number: 002
Message text: Company code change involves invalid change of country
The change that you want to make leads to a change in company code for
the persons linked to the organizational objects. When this particular
company code changes, the country also changes or the new company code
is not assigned to any country. It is not possible to change a company
code for a new company code which belongs to another country, or is not
assigned to a country. The change is therefore terminated. terminated.
The action is terminated. No organizational change is carried out.
Changes can only be carried out within a country. The country change
cannot be carried out from the current action.
Error message extract from SAP system. Copyright SAP SE.
PD002
- Company code change involves invalid change of country ?The SAP error message PD002, which states "Company code change involves invalid change of country," typically occurs when there is an attempt to change the company code in a way that would result in an invalid country assignment. This error is often encountered in the context of personnel administration or organizational management when trying to change the company code for an employee or organizational unit.
Cause:
- Country Mismatch: The company code you are trying to assign to an employee or organizational unit is associated with a different country than the one currently assigned.
- Configuration Issues: The country settings in the SAP system may not be properly configured, leading to inconsistencies.
- Data Integrity: The employee or organizational unit may have data that is tied to a specific country, and changing the company code would violate the data integrity rules set by SAP.
Solution:
Check Company Code Configuration: Verify the country associated with the new company code and ensure it matches the country of the employee or organizational unit.
- Navigate to the configuration settings for company codes in SAP (Transaction Code: OX02) and check the country settings.
Review Employee Data: Check the employee's master data to see what country is currently assigned. You can do this using Transaction Code PA20 (Display HR Master Data).
- If the employee is linked to a specific country, you may need to update their data to match the new company code's country.
Data Migration: If you need to change the country for an employee or organizational unit, consider using data migration tools or processes to ensure that all related data is updated correctly.
Consult Documentation: Review SAP documentation or help files related to company code changes and country assignments for any specific guidelines or restrictions.
Seek Help from SAP Support: If the issue persists, consider reaching out to SAP support or your internal SAP team for further assistance, especially if there are complex configurations involved.
Related Information:
By following these steps, you should be able to identify the cause of the PD002 error and implement a solution to resolve it.
Get instant SAP help. Start your 7-day free trial now.
PD001
The system will use the business area of the cost center
What causes this issue? The position you have entered is assigned a cost center of a business area which is different from that of the employee.Syste...
PCUSCLM017
Errors occured while creating infotypes for certain personnel Assignments
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
PD003
No company code for controlling area &, cost center & on &
What causes this issue? The system could not determine the company code for the controlling area and cost center specified. Please check which compan...
PD004
Insert error during company code change. Process terminated.
What causes this issue? A write error has occurred on the database while marking persons being assigned to a new company code, or due to a manual tri...
Click on this link to search all SAP messages.