Stop googling SAP errors. Use our Free Essentials plan instead - no credit card needed. Start Now

Close

How To Fix HRPAYCH01022 - Obligatory field not filled: Municipality (&1)


SAP Error Message - Details

  • Message type: E = Error

  • Message class: HRPAYCH01 - Messages for Payroll Switzerland

  • Message number: 022

  • Message text: Obligatory field not filled: Municipality (&1)

  • Show details Hide details
  • What causes this issue?

    The municipality code is required for withholding tax accounting. In the
    <LS>Fiscal Data CH</> infotype (0038), however, no municipality is
    specified (<DS>Municipality</> field).

    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?

    In infotype 0038, enter the missing municipality code (usually the
    municipality of residence; you enter the municipality of work for
    cross-border employees only).
    Carry out retroactive accounting.
    Run the report for withholding tax accounting again.
    The report reads the municipality number from the tax calculation table
    ST.

    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 HRPAYCH01022 - Obligatory field not filled: Municipality (&1) ?

    The SAP error message HRPAYCH01022, which states "Obligatory field not filled: Municipality (&1)," typically occurs in the context of payroll processing in the SAP Human Resources (HR) module, particularly in the Swiss payroll system. This error indicates that a mandatory field related to the municipality is not filled in the employee's master data or payroll data.

    Cause:

    1. Missing Data: The municipality field in the employee's address or payroll information is not filled out. This is often required for tax calculations and other payroll-related processes.
    2. Incorrect Configuration: The system may be configured in such a way that it expects a municipality to be filled for certain payroll processes, and if it is not, the error will be triggered.
    3. Data Migration Issues: If data was migrated from another system, it’s possible that the municipality information was not transferred correctly.

    Solution:

    1. Check Employee Master Data:

      • Navigate to the employee's master data (transaction code PA30).
      • Check the address details and ensure that the municipality field is filled in correctly.
      • If the municipality is missing, enter the correct municipality information and save the changes.
    2. Review Payroll Configuration:

      • Ensure that the payroll configuration is set up correctly to require municipality information where necessary.
      • Consult with your SAP HR configuration team if you suspect that the configuration is incorrect.
    3. Data Validation:

      • If you are importing or migrating data, ensure that the municipality field is included and correctly populated in the data files.
      • Run validation checks on the data to identify any missing mandatory fields.
    4. Testing:

      • After making the necessary changes, run a test payroll to ensure that the error does not reoccur.

    Related Information:

    • Transaction Codes: Familiarize yourself with relevant transaction codes such as PA30 (Maintain HR Master Data), PA40 (Personnel Actions), and PC00_MXX_CALC (Payroll Calculation).
    • Documentation: Refer to SAP Help documentation for more details on payroll processing and mandatory fields in the HR module.
    • Support: If the issue persists after checking the above points, consider reaching out to your SAP support team or consulting SAP Notes for any known issues or patches related to this error.

    By ensuring that all mandatory fields, especially the municipality, are filled out correctly, you can resolve the HRPAYCH01022 error and proceed with payroll processing without further issues.

    • Do you have any question about this error?


      Upgrade now to chat with this error.


Instant HelpGet instant SAP help. Sign up for our Free Essentials Plan.


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