Symptom
- An ABAP dump SAPSQL_PARSE_ERROR occurs while executing a Z* custom transaction/program which has include LSVIMFTX.
- ST22 Error states: The exception "CX_SY_DYNAMIC_OSQL_SYNTAX" was not caught in the procedure "TABLE_GET_DATA" and was not propagated by a RAISING clause, causing the program to terminate.
- The error was caused by an invalid dynamic Open SQL statement, with the parser returning a syntax error at "An error has occurred while parsing a dynamic entry. "
- Source Code Extract in Line is with coding:
|>>>>>| SELECT * FROM (x_header-maintview) INTO TABLE <primtab> "Note-1859065
Read more...
Environment
- SAP NetWeaver
- SAP S/4 HANA
Product
SAP NetWeaver all versions ; SAP S/4HANA all versions
Keywords
SAPSQL_PARSE_ERROR, CX_SY_DYNAMIC_OSQL_SYNTAX, SAPMSVMA, SM30, SM34, SIMG, SPRO, S_TABU_LIN, CL_ORGCRIT, VIM_WHERETAB, GET_DATA, 3282117, Dump, LSVIMFTX, SAP S/4HANA, CX_SY_DYNAMIC_OSQL_SYNTAX, TABLE_GET_DATA, Open SQL statement, Custom, FETCH NEXT CURSOR, SAP Note 3409026, SAP Note 3355240, CX_SY_DYNAMIC_OSQL_SYNTAX, SAPSQL_PARSE_ERROR, Maintenance object type S, TMG. , KBA , BC-CUS-TOL-TME , View Maintenance Tool , Problem
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.
SAP Knowledge Base Article - Preview