How To Fix SDDL_PARSER_MSG518 - Function "&1" cannot be used in arithmetic expressions


SAP Error Message - Details

  • Message type: E = Error

  • Message class: SDDL_PARSER_MSG - Message Class for DDL Parser

  • Message number: 518

  • Message text: Function "&1" cannot be used in arithmetic expressions

  • Show details Hide details
  • What causes this issue?

    Time stamps cannot be used in arithmetic expressions, since calculations
    of this type cannot make automatic adjustments (for example, for minutes
    or calendar days).

    How to fix this error?

    The alternative is to use functions that handle time stamps correctly.
    UTCL_CURRENT()
    UTCL_ADD_SECONDS(utcl,seconds)
    UTCL_SECONDS_BETWEEN(utcl1,utcl2)
    TSTMP_IS_VALID(tstmp)
    TSTMP_CURRENT_UTCTIMESTAMP()
    TSTMP_SECONDS_BETWEEN(tstmp1,tstmp2,on_error)
    TSTMP_ADD_SECONDS(tstmp,seconds,on_error)

    Error message extract from SAP system. Copyright SAP SE.


Smart SAP Assistant

  • What is the cause and solution for SAP error message SDDL_PARSER_MSG518 - Function "&1" cannot be used in arithmetic expressions ?




    • 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's SAP support assistant is amazing. Saves me countless hours trying to solve complex SAP issues myself. It's a real game changer!
Rate 1
Thomas Michael
SAP Consultant, Author & Speaker