How To Fix PD002 - Company code change involves invalid change of country


SAP Error Message - Details

  • Message type: E = Error

  • Message class: PD - HR-PD: Reserved

  • Message number: 002

  • Message text: Company code change involves invalid change of country

  • Show details Hide details
  • What causes this issue?

    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.

    System Response

    The action is terminated. No organizational change is carried out.

    How to fix this error?

    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.


Smart SAP Assistant

  • What is the cause and solution for SAP error message 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:

    1. 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.
    2. Configuration Issues: The country settings in the SAP system may not be properly configured, leading to inconsistencies.
    3. 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:

    1. 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.
    2. 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.
    3. 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.

    4. Consult Documentation: Review SAP documentation or help files related to company code changes and country assignments for any specific guidelines or restrictions.

    5. 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:

    • Transaction Codes: Familiarize yourself with relevant transaction codes such as PA20 (Display HR Master Data), PA30 (Maintain HR Master Data), and OX02 (Change Company Code).
    • SAP Notes: Check for any SAP Notes related to this error message for additional insights or patches that may address the issue.
    • User Roles and Authorizations: Ensure that the user attempting to make the change has the necessary authorizations to modify company codes and employee data.

    By following these steps, you should be able to identify the cause of the PD002 error and implement a solution to resolve it.

    • Do you have any question about this error?


      Upgrade now to chat with this error.


Instant HelpGet instant SAP help. Start your 7-day free trial now.


Related SAP Error Messages

Click the links below to see the following related messages:

Click on this link to search all SAP messages.


Rating
The AI Support Assistant is great. It provides comprehensive assistance even on the most difficult issues. I highly recommend this service.
Rate 1
John Jordan
SAP Consultant & Author