SAP Knowledge Base Article - Preview

2422976 - Dump SAPSQL_PARSE_ERROR referring to comma-separated lists

Symptom

An Open SQL code in a custom program causes a SAPSQL_PARSE_ERROR dump, which refers to an issue related to missing comma-separated lists.

Category               ABAP Programming Error                                                       
Runtime Errors         SAPSQL_PARSE_ERROR                                                           
Except.                CX_SY_DYNAMIC_OSQL_SEMANTICS                                                                                                  

 

Error analysis                                                                                    
    An exception occurred that is explained in detail below.                                      
    The exception, which is assigned to class 'CX_SY_DYNAMIC_OSQL_SEMANTICS', was                 
     not caught and                                                                               
    therefore caused a runtime error.                                                             
    The reason for the exception is:                                                              
    Das laufende ABAP-Programm wollte eine Open SQL-Anweisung ausführen,                          
    die eine dynamische Angabe enthält. Der Parser lieferte jedoch den                            
    Fehler: "Die Elemente der "SELECT LIST"-Liste müssen mit Kommata getrennt                     
     werden."                                                                                     


Read more...

Environment

SAP NetWeaver 7.40 SP05 and higher

Product

SAP NetWeaver 7.4

Keywords

Conditions for the Strict Mode, Rules for the Strict Mode, Comma-separated lists, Escape character for host variables, SQL expressions, Switching automatic client handling, Rule changes for joins, Access to CDS views, Stricter checks for syntax rules, Strict mode in the syntax check,, Inline declarations for the target area of SELECT. Escape Character for Host Variables,  Kommaseparierte Listen, Fluchtsymbol für Hostvariablen, SQL-Ausdrücke, Umschalten der automatischen Mandantenbehandlung, Regeländerungen für Joins, Auswertung von INTO CORRESPONDING, Zugriff auf CDS-View, Strengere Überprüfung von Syntaxregeln, Strikter Modus der Syntaxprüfung, german dump, german text   , KBA , BC-ABA-LA , Syntax, Compiler, Runtime , BC-DB-DBI , DB Independent Database Interface , BC-ABA , ABAP Runtime Environment - ABAP Language Issues Only , How To

About this page

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

Search for additional results

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