How To Fix HRPANL_EN152 - Inconsistency between error message code '02' and column 'AP'


SAP Error Message - Details

  • Message type: E = Error

  • Message class: HRPANL_EN - Messages for NL Master Data

  • Message number: 152

  • Message text: Inconsistency between error message code '02' and column 'AP'

  • Show details Hide details
  • What causes this issue?

    Error message code '02' <ZK>Insured person is deceased</> can only occur
    in combination with a date in column AP (DT_OVERL).

    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 the error message code in view <ZK>Manually Maintain Error
    Messages for HCIB Files</> (V_P05T_CVZ_UITW) or take care that the
    deceasing is handled properly in the masterdata.
    To do so, please execute the relevant IMG step for a deceased person
    <DS:SIMG.PAY_NL_CVZ_135>Occurrence of death for HCIB</> and run the
    leaving action with reason decease.
    Check infotype <ZK>Actions</> (000) afterwards and run report <ZK>HCIB:
    Upload transfer file</> (RPCVZUN0) and report <ZK>Main Payroll Driver
    (NL)</> (RPCALCN0).

    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message HRPANL_EN152 - Inconsistency between error message code '02' and column 'AP' ?

    The SAP error message HRPANL_EN152 indicates an inconsistency in the payroll processing, specifically related to the error message code '02' and the column 'AP'. This error typically arises during the payroll run or when processing payroll-related data in the Human Resources (HR) module.

    Cause:

    1. Data Inconsistency: The error often occurs due to inconsistencies in the payroll data, such as missing or incorrect entries in the relevant tables.
    2. Configuration Issues: There may be issues with the configuration of the payroll schema or rules that lead to discrepancies in the expected data.
    3. Custom Code: If there are custom enhancements or modifications in the payroll processing logic, they might not align with the standard SAP processes, leading to errors.
    4. Master Data Issues: Problems with employee master data, such as incorrect infotypes or missing information, can also trigger this error.

    Solution:

    1. Check Payroll Data: Review the payroll data for the affected employee(s) to ensure that all necessary information is complete and accurate. Look for missing infotypes or incorrect entries.
    2. Review Configuration: Examine the payroll schema and rules to ensure they are correctly configured. Pay special attention to the rules that relate to the error message code '02' and the column 'AP'.
    3. Debugging: If you have access to the SAP system, you can use transaction codes like SE80 or SE37 to debug the payroll processing logic and identify where the inconsistency arises.
    4. Check Custom Code: If there are any custom enhancements, review them to ensure they are not causing the inconsistency. You may need to consult with your ABAP developers for this.
    5. Consult SAP Notes: Check the SAP Support Portal for any relevant SAP Notes that might address this specific error message. There may be patches or updates that resolve known issues.
    6. Run Consistency Checks: Use transaction codes like PE51 or PC00_MXX_CALC to run consistency checks on payroll data and identify any discrepancies.

    Related Information:

    • Transaction Codes: Familiarize yourself with relevant transaction codes such as PA30 (Maintain HR Master Data), PC00_MXX_CALC (Payroll Calculation), and PE02 (Payroll Results).
    • Documentation: Review SAP documentation related to payroll processing and error handling to understand the context of the error better.
    • SAP Community: Engage with the SAP Community forums to see if other users have encountered similar issues and what solutions they found effective.

    If the issue persists after following these steps, it may be necessary to escalate the problem to your SAP support team or consult with SAP directly 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 simplifies finding the accurate answers to SAP message errors. I now use every week. A must have tool for anyone working with SAP! Highly recommended!
Rate 1
Kent Bettisworth
Executive SAP Consultant