2433966 - Programs contained Host Variables are terminated with SYNTAX_ERROR | SAP Knowledge Base Article

SAP Knowledge Base Article - Preview

2433966 - Programs contained Host Variables are terminated with SYNTAX_ERROR

Symptom

When you use the host variables in the programs with the new open SQL grammar, e.g. WHERE carrid = @carrid, the programs are terminated with the SYNTAX_ERROR dump as below:

Category               ABAP Programming Error

Runtime Errors         SYNTAX_ERROR

ABAP Program           Z_XXXX

Error analysis                                                      
The following syntax error has occurred in program Z_XXXX:
"@carrid" is invalid here (due to grammar). contains an invalid character
or it is a keyword. (It might be possible to escape it using"!").
Or a space is missing or there is one space too many.”


Read more...

Environment

SAP NetWeaver ABAP System lower than 740 SP08  and with Kernel 7.49

Product

SAP NetWeaver 7.4

Keywords

downward compatible kernel, SAP_BASIS 740, regressions, inner join statement, Z-report, Z-program, open SQL syntax , KBA , BC-ABA-LA , ABAP Syntax, Compiler, Runtime , BC-CST , Client/Server Technology , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP ONE Support launchpad (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.