How To Fix HRPAY99CUMU161 - Personnel no. & has more PCL2(Rx) data records than entries in RGDIR


SAP Error Message - Details

  • Message type: E = Error

  • Message class: HRPAY99CUMU - Messages for Cumulations

  • Message number: 161

  • Message text: Personnel no. & has more PCL2(Rx) data records than entries in RGDIR

  • Show details Hide details
  • What causes this issue?

    In table PCL2, cluster Rx, there are data records that do not have a
    corresponding entry in RGDIR.

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

    System Response

    This database inconsistency would lead to incorrect cumulations in the
    CRT during a conversion. The payroll results for the personnel number
    are not converted.

    How to fix this error?

    Determine the incorrect payroll result:
    Using transaction PC_PAYRESULT, call up the available RGDIR entries.
    Use transaction SE16 --> Table PCL2 --> RELID = (for example, RU for
    the USA), SRTFD = PERNR* (for example, 00123456* ) --> F8 to display
    the entries for the affected personnel number.
    In the RGDIR compare the entries in the field SEQNR with the entries in
    table PCL2. Here you find the SEQNR in the field SRTFD+8(5). The field
    SRTFD contains the personnel number in the first 8 digits and the next
    5 digits are the SEQNR. The payroll result for which you could
    determine a sequence number in table PCL2, but not in the RGDIR has the
    inconsistency.
    Analysis of the affected payroll result:
    Start report RPUDIR00 with extended log for the affected personnel
    number. The log shows you whether the payroll result with the affected
    sequence number is available with another sequence number. If this is
    the case you can repair the inconsistency by deleting the entry for the
    the inconsistent sequence number from table PCL2. Then restart report
    RPUDIR00.
    If you cannot repair the error in this way, you need to make further
    analyses, Contact the hotline with the following data, if the data is
    from a live run.
    Affected personnel and sequence number
    Variant for report H99U_CONVERSION_46C with the affected personnel
    number
    Variant for report RPUDIR00 with the affected personnel number
    In table PCL2 you can see the last "SAP Standard report" with which the
    payroll result was processed, but this does not give any information
    about the report from which the inconsistency was created originally.
    Contact your project leader, or consultant, or create an OSS message
    under component XX-RC-PY if the problem is with old results of a test
    scenario or if you use your own report to change the payroll results.

    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 HRPAY99CUMU161 - Personnel no. & has more PCL2(Rx) data records than entries in RGDIR ?

    The SAP error message HRPAY99CUMU161 indicates that there is a discrepancy between the number of PCL2 (Payroll Cluster 2) data records for a specific personnel number and the entries in the RGDIR (Payroll Data Directory). This typically occurs during payroll processing when the system expects a certain number of records in the RGDIR but finds more records in the PCL2.

    Cause:

    1. Data Inconsistency: The primary cause of this error is often due to inconsistencies in the payroll data. This can happen if there are multiple payroll runs or if the data was not properly updated or deleted in the RGDIR.
    2. Incorrect Configuration: Misconfiguration in the payroll schema or issues with the payroll processing logic can lead to this error.
    3. Manual Changes: If manual changes were made to the payroll data or if there were issues during data migration, it could lead to discrepancies.
    4. Incomplete Payroll Runs: If a payroll run was interrupted or not completed successfully, it might leave behind orphaned records.

    Solution:

    1. Check RGDIR Entries: Verify the entries in the RGDIR for the personnel number in question. Ensure that the number of entries matches the expected number of PCL2 records.
    2. Reprocess Payroll: If the payroll run was incomplete, consider reprocessing the payroll for the affected personnel number. This may help to synchronize the data.
    3. Delete Orphaned Records: If there are orphaned records in the PCL2, you may need to delete them or correct the data. This should be done with caution and ideally in a test environment first.
    4. Use Transaction PC00_M99_CUMU: You can use the transaction code PC00_M99_CUMU to check the cumulative payroll results and see if there are any discrepancies.
    5. Check for Updates: Ensure that your SAP system is up to date with the latest patches and updates, as some issues may have been resolved in newer versions.
    6. Consult SAP Notes: Look for relevant SAP Notes that may address this specific error. SAP Notes often provide solutions or workarounds for known issues.
    7. Engage SAP Support: If the issue persists, consider reaching out to SAP support for assistance. They can provide more detailed analysis and guidance based on your specific system configuration.

    Related Information:

    • PCL2: This is the cluster where payroll results are stored. It contains detailed payroll information for each employee.
    • RGDIR: This is the directory that contains pointers to the payroll results for each employee. It helps the system to manage and access payroll data efficiently.
    • Transaction Codes: Familiarize yourself with relevant transaction codes such as PA03 (for maintaining payroll areas), PC00_M99_CUMU (for cumulative payroll), and SE16 (for data browsing) to help diagnose and resolve issues.

    Always ensure that you have proper backups and that you are following your organization's change management procedures when making changes to payroll data.

    • 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