How To Fix RSAR145 - Error in the If function: incorrect value in ARG2 or 3: '&' / '&'


RSAR145 - Overview

  • Message type: E = Error

  • Message class: RSAR - Data Transfer and Metadata Maintenance

  • Message number: 145

  • Message text: Error in the If function: incorrect value in ARG2 or 3: '&' / '&'

  • Show details Hide details
  • What causes this issue?

    An invalided value was recognized when the If-function in a formula was
    evaluated.
    Argument 2 (IF-branch) : ,,,,'&SYST-MSGV1&'
    Argument 3 (ELSE-branch): ,,'&SYST-MSGV2&'
    Possibly, a numerical value with decimal points was entered with a
    comma separating the decimals ( ' 9,99' ).
    In order for a figure to be interpreted correctly, a period must be
    used to separate the decimals ( ' 9.99' ).

    System Response

    The system triggered an exception CX_SY_CONVERSION_NO_NUMBER.

    How to fix this error?

    Correct the formula for the InfoObject.

    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.


RSAR145 - Details

  • The SAP error message RSAR145 indicates that there is an issue with the IF function in a query or report, specifically related to the arguments being passed to the function. The error message suggests that the values in ARG2 or ARG3 are incorrect, which typically means that the function is not receiving the expected data types or values.
    
    Cause: Incorrect Data Types: The IF function expects certain data types for its arguments. If ARG2 or ARG3 are not of the expected type (e.g., string, numeric), it can lead to this error. Invalid Values: The values being passed to the IF function may not be valid. For example, if you are using a logical condition that evaluates to an unexpected result, it can trigger this error. Syntax Errors: There may be a syntax error in the way the IF function is written, such as missing parentheses or incorrect operators. Data Issues: The underlying data might have

    Already have an account? Login here!




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


RSAR145 - Related SAP Errors

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