SAP Knowledge Base Article - Preview

3654362 - SqlHelper.GetList support for CTE

Symptom

Error message when trying to use WITH CTE in SqlHelper.GetList:
There is an error "Incorrect syntax near the keyword 'with'.
Incorrect syntax near the keyword 'with'. If this statement is a common table expression, an xmlnamespaces clause or a change tracking context clause, the previous statement must be terminated with a semicolon.


Read more...

Environment

SAP SALES CLOUD CPQ

Product

SAP CPQ 2025

Keywords

CPQ, SQL, Helper, Getlist, CTE, WITH, script, interface , KBA , CEC-SAL-CPQ , Sales Cloud CPQ , Bug Filed

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.