How To Fix DGA135 - The valid-from date (&1) is later than the valid-to date (&2)


SAP Error Message - Details

  • Message type: E = Error

  • Message class: DGA - DG: Messages for Dangerous Goods Management (A)

  • Message number: 135

  • Message text: The valid-from date (&1) is later than the valid-to date (&2)

  • Show details Hide details
  • What causes this issue?

    In order to be able to select data records in display mode, you must
    specify a time interval that restricts the search period.
    The lower interval limit is greater than the upper interval limit.

    System Response

    The system cannot perform a selection.

    How to fix this error?

    Enter a correct interval.

    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message DGA135 - The valid-from date (&1) is later than the valid-to date (&2) ?

    The SAP error message DGA135 indicates that there is a date inconsistency in your data entry, specifically that the "valid-from" date is later than the "valid-to" date. This typically occurs in scenarios where date ranges are defined, such as in master data maintenance, pricing conditions, or validity periods for various objects in SAP.

    Cause:

    The error arises when:

    • You are trying to create or modify a record (like a pricing condition, master data, etc.) where the valid-from date is set to a date that is after the valid-to date.
    • This can happen due to manual data entry errors, incorrect data migration, or system logic that does not properly handle date ranges.

    Solution:

    To resolve this error, you should:

    1. Check the Dates: Review the valid-from and valid-to dates you are trying to enter. Ensure that the valid-from date is earlier than or equal to the valid-to date.
    2. Correct the Dates: If you find that the valid-from date is indeed later than the valid-to date, adjust the dates accordingly:
      • Change the valid-from date to an earlier date.
      • Or, if appropriate, change the valid-to date to a later date.
    3. Data Validation: Implement validation checks in your data entry process to prevent this error from occurring in the future.
    4. Review Related Records: If the record you are trying to create or modify is related to other records, ensure that those records do not have conflicting date ranges.

    Related Information:

    • Transaction Codes: Depending on the context, you may be using transaction codes like MEK1 (Create Condition), MEK2 (Change Condition), or others related to master data maintenance.
    • Date Formats: Ensure that the date formats are consistent with your system settings, as discrepancies in date formats can sometimes lead to confusion.
    • Documentation: Refer to SAP documentation or help files for specific modules you are working with, as they may provide additional context on how to manage date ranges effectively.

    By following these steps, you should be able to resolve the DGA135 error and ensure that your date entries are valid.

    • 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