How To Fix FDT_EXPRESSIONS151 - No result value assigned to 'Otherwise' branch; see long text


SAP Error Message - Details

  • Message type: E = Error

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

  • Message number: 151

  • Message text: No result value assigned to 'Otherwise' branch; see long text

  • Show details Hide details
  • What causes this issue?

    For the current case expression, the system has determined that the
    'Otherwise' branch has no result value assigned. As a consequence, for
    proper operation at runtime it is necessary to cover all possible values
    for the test parameter in the explicit condition lines.
    Should a value be passed at runtime that has no individual result value
    assigned, then the expression processing is stopped and the expression
    result is undefined, which may lead to unpredictable system behavior or
    to a system dump. You can prevent this risk by assigning a result value
    to the 'Otherwise' branch. This value is then returned as the expression
    result in case all of the conditions that you have explicitly defined do
    not match the incoming value.

    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?

    To avoid running into the potential risk outlined above, we strongly
    recommend to define a result value for the 'Otherwise' branch of the
    case expression.

    Procedure for System Administrators


    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message FDT_EXPRESSIONS151 - No result value assigned to 'Otherwise' branch; see long text ?
    The SAP error message FDT_EXPRESSIONS151 indicates that there is an issue with the expression logic in a decision-making structure, specifically in the "Otherwise" branch of a conditional expression. This error typically arises in the context of SAP's Flexible Data Import (FDI) or similar data processing scenarios where expressions are used to determine values based on certain conditions.
    
    Cause: The error occurs when the "Otherwise" branch of an expression does not have a value assigned to it. In other words, if none of the preceding conditions are met, the system expects a default value to be provided in the "Otherwise" branch, but it is missing. This can lead to ambiguity in the logic, as the system does not know what value to return when all other conditions fail.
    Solution: To resolve this error, you need to ensure that the "Otherwise" branch of your expression has a valid result value assigned to it. Here are the

    Already have an account? Login here!




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


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