How To Fix FDT_EXPRESSIONS140 - Line &1 is a subset of line &2 (unreachable in first match), move up


SAP Error Message - Details

  • Message type: E = Error

  • Message class: FDT_EXPRESSIONS - Formula & Derivation Tool: Expressions

  • Message number: 140

  • Message text: Line &1 is a subset of line &2 (unreachable in first match), move up

  • Show details Hide details
  • What causes this issue?

    In the current decision table, you have entered condition &v1& after
    condition &v2&. However, because the decision table has been defined to
    operate in first match mode, condition &v1& will never be checked
    although it is more specific than condition &v2&. This is due to the
    fact that the decision table conditions are always processed from top to
    bottom, and in first match mode, operation stops at the first condition
    that is satisfied, regardless if there is a better match below.

    System Response

    The decision table cannot be activated.

    How to fix this error?

    Reorganize the conditions in the decision table such that the most
    specific conditions are entered on top of the table, followed by
    conditions with an increasing degree of generality.

    Procedure for System Administrators

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


    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message FDT_EXPRESSIONS140 - Line &1 is a subset of line &2 (unreachable in first match), move up ?

    The SAP error message FDT_EXPRESSIONS140 indicates that there is an issue with the expression logic in your SAP application, specifically in the context of the Field Decision Table (FDT) or similar configuration. The message states that "Line &1 is a subset of line &2 (unreachable in first match), move up," which means that the condition defined in line &1 is too specific and is overshadowed by the broader condition defined in line &2.

    Cause:

    1. Overlapping Conditions: The conditions defined in your decision table or expression logic are overlapping, where line &1 is a more specific case of line &2. This means that when the system evaluates the conditions, it will always match line &2 first, making line &1 unreachable.
    2. Incorrect Order of Conditions: The order of the conditions in the decision table matters. More specific conditions should be placed before more general ones to ensure they are evaluated first.

    Solution:

    1. Rearrange the Lines: Move line &1 above line &2 in the decision table. This way, the more specific condition will be evaluated first, allowing it to be matched correctly.
    2. Review Conditions: Check the logic of the conditions defined in both lines. Ensure that they are distinct enough to avoid overlap. If necessary, modify the conditions to make them more specific or less specific as appropriate.
    3. Testing: After making changes, test the decision table to ensure that the conditions are evaluated correctly and that the error no longer occurs.

    Related Information:

    • Field Decision Table (FDT): This is a tool used in SAP to define rules and conditions for decision-making processes. Understanding how to structure these tables is crucial for avoiding such errors.
    • Debugging: If you continue to face issues, consider using debugging tools within SAP to trace how the conditions are being evaluated.
    • Documentation: Refer to SAP documentation or help resources for more detailed guidance on configuring decision tables and expressions.

    By following these steps, you should be able to resolve the error and ensure that your decision logic functions as intended.

    • 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