Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

why cl_sql_statement is not working for executing CDS views queries?

former_member579349
Participant
0 Likes
459

I was trying to execute the following string through cl_sql_statement.execute_query( "SELECT * FROM DEMO_CDS_SYSTLV( P_MANDT = 100 )") but i am not able to execute it and getting following error : The reason for the exception is: sql syntax error: incorrect syntax near "100": line 1 col 42 (at pos 42)


DEMO_CDS_SYSTLV ==> cds view name.

0 REPLIES 0