How To Fix SEEF_BADI118 - Enclosing literal characters '...' or `...` are superfluous


SEEF_BADI118 - Overview

  • Message type: E = Error

  • Message class: SEEF_BADI - Messages on BAdIs

  • Message number: 118

  • Message text: Enclosing literal characters '...' or `...` are superfluous

  • Show details Hide details
  • What causes this issue?

    You want to define a comparison value for a character-type or
    string-type filter, whose first and last character is a literal delimi
    ter.

    System Response

    At runtime, the comparison value is automatically enclosed by suitable
    literal delimiters.

    How to fix this error?

    Check whether you need delimiters in addition to the automatically
    generated literal delimiters.

    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.


SEEF_BADI118 - Details

  • The SAP error message SEEF_BADI118, which states "Enclosing literal characters '...' or ... are superfluous," typically occurs in ABAP code when there are unnecessary quotation marks or backticks around a string literal. This can happen in various contexts, such as when defining strings or using them in method calls.
    
    Cause: The error is caused by the presence of superfluous enclosing characters around a string literal. For example, if you have a string defined like this: DATA(lv_string) = 'Hello World'. And you mistakenly write it as: DATA(lv_string) = ''Hello World''. or DATA(lv_string) = ``Hello World``. In these cases, the additional quotes or backticks are unnecessary and lead to the error.
    Solution: To resolve this error, you need to remove the extra enclosing characters. Ensure that string literals are defined correctly. For example, change: DATA(lv_string) = ''Hello World''. to: DATA(lv_string) = 'Hello World'. or if you are using backticks, ensure they are used correctly in the context of the code.
    Related Information: ABAP Syntax: Familiarize yourself with the

    Already have an account? Login here!




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


SEEF_BADI118 - 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