Black Friday is ending this Friday! 40% off with coupon CYBER40 - Sign up here

Close

How To Fix 5A158 - End date corrected to the maximum date allowed &


5A158 - Overview

  • Message type: E = Error

  • Message class: 5A - Basis Personnel Management

  • Message number: 158

  • Message text: End date corrected to the maximum date allowed &

  • Show details Hide details
  • What causes this issue?

    The end date of a relationship cannot be after the end date of the
    related objects. It has therefore been corrected.

    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?


    Error message extract from SAP system. Copyright SAP SE.


5A158 - Details

  • The SAP error message 5A158 ("End date corrected to the maximum date allowed") typically occurs in the context of date fields in SAP, particularly when dealing with time management, personnel administration, or project management modules. This error indicates that the end date you are trying to enter exceeds the maximum date limit set in the system.
    
    Cause: Date Limit Exceeded: The end date you are trying to input is beyond the maximum date allowed by the system. SAP has predefined limits for date fields, and if you attempt to enter a date that exceeds this limit, the system will automatically correct it to the maximum allowable date. Configuration Settings: The maximum date limit can be configured in the system settings, and it may vary based on the specific implementation or version of SAP you are using. Data Entry Error: Sometimes, this error can occur due to a simple data entry mistake, such as entering

    Already have an account? Login here!




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


5A158 - Related SAP Errors

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