Skip to Content

For those that are planning to upgrade the systems to a higher EhP, the dump ITS_UNEXPECTED_TOKEN (or ITS_UNDECLARED_FUNCTION) might happen in your ITSmobile applications.

This blog shows information about the dump and the solution for the issue.

ST22 Short dump

Looking at ST22, a short dump like the example below can be found:


Category                ABAP Programming Error

Runtime Errors          ITS_UNEXPECTED_TOKEN

ABAP Program            <ABAP Program>

Application Component   Not assigned

Date and Time  hh:mm:ss

Short Text

       Template interpretation terminated, syntax error.

What happened?

       The template templates/itsmobile/99/include/<template>.html

       contains syntax errors and therefore could not be compiled. Cause of

       error: The token “(” (“(“) was not recognized.

       The syntax error is in row: XX, column: YY

       The HTMLB row with errors is:

       ”     …        src=”`mimeURL(~service=”itsmobile”,

       ~theme=99, ~language=””, `sh()`>”



Please read KBA 2221538 for the solution. It contains the instructions to edit the necessary template and additional steps to be performed.

To report this post you need to login first.

Be the first to leave a comment

You must be Logged on to comment or reply to a post.

Leave a Reply