How To Fix GS274 - Invalid interval: From-value is greater than to-value


SAP Error Message - Details

  • Message type: E = Error

  • Message class: GS - Sets

  • Message number: 274

  • Message text: Invalid interval: From-value is greater than to-value

  • Show details Hide details
  • What causes this issue?

    The variable &V1& is replaced by an entered value or by your default
    value. This leads to a set line containing an invalid interval. The
    lower limit (&V3&) is greater than the upper limit (&V4&).

    System Response

    The system cancels replacement of variables with values.

    How to fix this error?

    If the error is caused by an entered value, choose a permitted value.
    If the default value of the variables causes the error, change the
    default value or remove the variable from set &V2& or from the Report
    Painter report definition.

    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message GS274 - Invalid interval: From-value is greater than to-value ?

    The SAP error message GS274 "Invalid interval: From-value is greater than to-value" typically occurs in the context of data entry or configuration where a range of values is expected. This error indicates that the "From" value in a range is greater than the "To" value, which is logically incorrect.

    Cause:

    1. Data Entry Error: The most common cause is a simple mistake during data entry where the user inadvertently enters a higher value in the "From" field than in the "To" field.
    2. Configuration Issues: In some cases, this error can arise from incorrect configuration settings in the system, such as in pricing conditions, validity periods, or other range-based settings.
    3. Data Migration Issues: If data has been migrated from another system, it’s possible that the data integrity was not maintained, leading to invalid ranges.

    Solution:

    1. Check Input Values: Review the values entered in the fields. Ensure that the "From" value is less than or equal to the "To" value. Correct any discrepancies.
    2. Validation Rules: Implement validation rules in the input forms to prevent users from entering invalid ranges in the future.
    3. Review Configuration: If the error occurs in a configuration setting, review the relevant configuration to ensure that all ranges are set correctly.
    4. Data Cleanup: If the error is due to data migration, perform a data cleanup to correct any invalid ranges in the database.
    5. Testing: After making corrections, test the changes to ensure that the error no longer occurs.

    Related Information:

    • Transaction Codes: Depending on where the error occurs, you may be using different transaction codes (e.g., VA01 for sales orders, ME21N for purchase orders, etc.).
    • SAP Notes: Check SAP Notes for any known issues or patches related to this error message.
    • Documentation: Refer to SAP documentation for the specific module you are working with to understand the expected input formats and constraints.

    If the problem persists after checking these areas, it may be beneficial to consult with your SAP support team or refer to SAP community forums for additional insights.

    • 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