How To Fix PN167 - Schema &1 is not allowed for this country


SAP Error Message - Details

  • Message type: E = Error

  • Message class: PN -

  • Message number: 167

  • Message text: Schema &1 is not allowed for this country

  • Show details Hide details
  • What causes this issue?

    You have chosen a schema that is not allowed for this country.

    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?

    Use the possible entries function to choose a schema that is valid for
    this country.

    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 PN167 - Schema &1 is not allowed for this country ?

    The SAP error message PN167, which states "Schema &1 is not allowed for this country," typically occurs in the context of payroll processing. This error indicates that the payroll schema specified in the system is not valid for the country in which the payroll is being processed. Here’s a breakdown of the cause, potential solutions, and related information:

    Cause:

    1. Incorrect Schema Assignment: The payroll schema assigned to the employee or the payroll area is not compatible with the country settings in the system.
    2. Configuration Issues: The payroll schema may not have been properly configured for the specific country in the SAP system.
    3. Country-Specific Payroll Requirements: Different countries have specific payroll requirements and schemas that must be adhered to. If the schema does not meet these requirements, the error will occur.

    Solution:

    1. Check Schema Assignment:

      • Go to the relevant configuration in SAP (usually in the IMG under Payroll settings).
      • Verify that the correct payroll schema is assigned to the country in question.
      • Ensure that the employee's payroll area is correctly set up to use the appropriate schema.
    2. Review Payroll Configuration:

      • Navigate to the payroll configuration for the specific country (e.g., through transaction code SPRO).
      • Check if the schema is defined for the country and if it is correctly configured.
      • If necessary, consult with your SAP HR consultant to ensure that the schema is set up according to the legal requirements of the country.
    3. Use the Correct Payroll Area:

      • Ensure that the employee is assigned to the correct payroll area that corresponds with the schema being used.
      • If the employee is in the wrong payroll area, update their assignment accordingly.
    4. Testing:

      • After making changes, run a test payroll to ensure that the error does not reoccur.
      • Monitor for any other related errors that may arise during the payroll process.

    Related Information:

    • Transaction Codes: You may need to use transaction codes such as PA30 (Maintain HR Master Data), PA40 (Personnel Actions), or SPRO (SAP Project Reference Object) to access the relevant configuration settings.
    • Documentation: Refer to SAP documentation or help files for detailed information on payroll schema configuration for specific countries.
    • SAP Notes: Check for any relevant SAP Notes that may address this error or provide additional guidance on payroll schema configuration.

    If the issue persists after following these steps, it may be beneficial to consult with an SAP HR expert or your organization's SAP support team for further assistance.

    • 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