How To Fix PB317 - Person & has different company code to cost center &


SAP Error Message - Details

  • Message type: E = Error

  • Message class: PB - PD: Message IDs Org. Management

  • Message number: 317

  • Message text: Person & has different company code to cost center &

  • Show details Hide details
  • What causes this issue?

    As person &V1& (company code &V2&) has a different company code from
    cost center &V3& (company code &V4&) which they are assigned, no
    entries have been made in the batch input folder.

    System Response

    The system issues an error message and will not allow you to continue with this transaction until the error is resolved.

    How to fix this error?

    Correct this inconsistency, by assigning another company code to person
    &V1& using a personnel action from Personnel Administration or by
    assigning the person a cost center with a different company code in
    Organizational Management (OM). In OM, a person's position inherits
    their cost center, in the same way, cost center assignment can be
    inherited from superior organizational units.

    Procedure for System Administrators


    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message PB317 - Person & has different company code to cost center & ?

    The SAP error message PB317 indicates that there is a mismatch between the company code of the employee (person) and the company code associated with the cost center in the system. This error typically arises during payroll processing or when trying to assign a cost center to an employee in a specific company code.

    Cause:

    1. Different Company Codes: The employee is assigned to a different company code than the one associated with the cost center.
    2. Master Data Issues: The employee's master data (infotype 0001 - Organizational Assignment) may not be correctly set up to reflect the appropriate company code.
    3. Cost Center Assignment: The cost center may belong to a different company code than the one assigned to the employee.

    Solution:

    1. Check Employee Master Data:

      • Go to the employee's master data (transaction code PA20 or PA30).
      • Verify the company code in infotype 0001 (Organizational Assignment).
      • Ensure that the company code matches the one associated with the cost center.
    2. Check Cost Center:

      • Use transaction code KS03 to display the cost center.
      • Verify the company code associated with the cost center and ensure it matches the employee's company code.
    3. Correct Assignments:

      • If there is a mismatch, you may need to either change the employee's company code (if applicable) or assign the employee to a cost center that matches their company code.
      • If the employee should be associated with a different company code, you may need to update their organizational assignment.
    4. Consult with HR or Finance:

      • If you are unsure about making changes, consult with your HR or Finance department to ensure that the changes align with organizational policies.

    Related Information:

    • Infotype 0001 (Organizational Assignment): This infotype contains key information about the employee's organizational structure, including the company code.
    • Cost Center Master Data: Cost centers are used for internal accounting and must be correctly assigned to the appropriate company codes.
    • Transaction Codes:
      • PA20: Display HR Master Data
      • PA30: Maintain HR Master Data
      • KS03: Display Cost Center
    • Authorization: Ensure that you have the necessary authorizations to make changes to employee master data and cost center assignments.

    By following these steps, you should be able to resolve the PB317 error and ensure that the employee's assignments are correctly aligned with the appropriate company codes.

    • 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
ERPlingo's SAP support assistant is amazing. Saves me countless hours trying to solve complex SAP issues myself. It's a real game changer!
Rate 1
Thomas Michael
SAP Consultant, Author & Speaker