How To Fix DA104 - Two variables delimiters & in sequence in &


SAP Error Message - Details

  • Message type: E = Error

  • Message class: DA - Dictionary: Compare, distribution, timer, instantiation

  • Message number: 104

  • Message text: Two variables delimiters & in sequence in &

  • Show details Hide details
  • What causes this issue?

    No variable name falls within the variable delimiters.

    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?

    Specify variable names or remove variables delimiter '&'.

    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message DA104 - Two variables delimiters & in sequence in & ?

    The SAP error message DA104 indicates that there is an issue with the way variables are being defined or used in a query or report. Specifically, the error message "Two variable delimiters & in sequence" suggests that there are two consecutive variable delimiters (&) in the context where they are not allowed. This typically occurs in the context of variable substitution in queries, reports, or selection screens.

    Cause:

    1. Incorrect Syntax: The most common cause of this error is that the syntax used to define or reference variables is incorrect. For example, if you have a string like &VAR1&&VAR2, it will trigger this error because of the consecutive &&.
    2. Variable Definition: If you are defining variables in a way that leads to two delimiters being interpreted in sequence, this can also cause the error.
    3. Copy-Paste Errors: Sometimes, copying and pasting code or text can inadvertently introduce extra delimiters.

    Solution:

    1. Check Variable Syntax: Review the syntax where the error occurs. Ensure that there are no consecutive & symbols. For example, if you need to concatenate variables, use a single & for each variable.

      • Correct: &VAR1&VAR2
      • Incorrect: &VAR1&&VAR2
    2. Variable Definitions: If you are defining variables, ensure that each variable is properly defined and that there are no syntax errors in the definitions.

    3. Debugging: If the error occurs in a complex query or report, try simplifying the query to isolate the part that causes the error. This can help you identify where the issue lies.

    4. Documentation: Refer to SAP documentation or help resources for the specific context in which you are working (e.g., ABAP, BW queries, etc.) to ensure you are following the correct syntax and guidelines.

    Related Information:

    • SAP Notes: Check SAP Notes for any known issues or patches related to this error message.
    • SAP Community: Engage with the SAP Community forums to see if others have encountered similar issues and what solutions they found.
    • Testing: After making changes, test the query or report to ensure that the error is resolved and that the output is as expected.

    By carefully reviewing the syntax and ensuring that variable delimiters are used correctly, you should be able to resolve the DA104 error.

    • 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
ERPlingo simplifies finding the accurate answers to SAP message errors. I now use every week. A must have tool for anyone working with SAP! Highly recommended!
Rate 1
Kent Bettisworth
Executive SAP Consultant