How To Fix HRPAYFR_DSN235 - Prohibited to delete last record of contract declared by DSN


SAP Error Message - Details

  • Message type: E = Error

  • Message class: HRPAYFR_DSN - Message class for DSN

  • Message number: 235

  • Message text: Prohibited to delete last record of contract declared by DSN

  • Show details Hide details
  • &V1&&CAUSE&
    The technical specifications for the DSN do not authorize the deletion
    of a contract that has been declared. You are trying to delete the
    latest existing occurrence of the contract reference &SYST-MSGV1& with
    the unique identifier &SYST-MSGV2&. This action is prohibited, as this
    contract was declared in the DSN for the month of &SYST-MSGV3&.

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

    System Response

    The system prohibits the deletion of contracts that have been declared
    in the DSN.

    How to fix this error?

    You cannot delete a contract declared in the DSN. You must therefore
    cancel all the amounts corresponding to this contract.

    Procedure for System Administrators

    The system has detected the unique identifier &SYST-MSGV2& of the
    contract in the closed payroll results for the employee or in the
    T5FDSNCT table.

    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message HRPAYFR_DSN235 - Prohibited to delete last record of contract declared by DSN ?

    The SAP error message HRPAYFR_DSN235 indicates that there is an attempt to delete the last record of a contract that has been declared in the DSN (Déclaration Sociale Nominative) process. This error typically arises in the context of payroll processing in France, where the DSN is a mandatory reporting system for social security contributions and other employee-related data.

    Cause:

    The error occurs because the last record of a contract is considered critical for maintaining the integrity of the employee's employment history and the associated payroll data. Deleting this record could lead to inconsistencies in the DSN reporting and violate regulatory requirements.

    Solution:

    To resolve this error, you should consider the following steps:

    1. Review the Employment Contract: Ensure that the employment contract is correctly maintained and that there are no errors in the records that would necessitate deletion.

    2. Check for Active Employment: If the employee is still active, you cannot delete the last record. Instead, you may need to update the record or terminate the employment properly.

    3. Use the Correct Termination Process: If the employee has left the company, ensure that you are following the correct termination process. This may involve creating a new record that reflects the termination rather than deleting the last record.

    4. Consult with HR/Payroll Team: If you are unsure about the correct procedure, consult with your HR or payroll team to ensure compliance with local regulations and internal policies.

    5. SAP Notes and Documentation: Check for any relevant SAP Notes or documentation that may provide additional guidance on handling this error. SAP frequently updates its systems, and there may be specific patches or updates that address this issue.

    6. Testing in a Sandbox Environment: If you need to make changes to the employee's records, consider testing the changes in a sandbox environment before applying them to the production system.

    Related Information:

    • DSN Reporting: Understand the requirements and processes involved in DSN reporting, as this will help you navigate issues related to employee records.
    • SAP HR Module: Familiarize yourself with the SAP HR module, particularly the functionalities related to employee records, contract management, and payroll processing.
    • Legal Compliance: Be aware of the legal implications of modifying or deleting employee records, especially in relation to labor laws and social security regulations in France.

    If the issue persists after following these steps, it may be beneficial to reach out to SAP support or your internal IT 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
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