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

Difference between open SQL and CDS on SAP HANA?

VishwanathV
Participant
0 Likes
2,773

Hello Experts,

Of course CDS view is a re-usable repository object whereas an Open SQL query is written locally but, can we write a query using Advanced Open SQL which is available since AS ABAP 7.4 onwards instead of creating a CDS view for the same requirements?

Best,

Vish.

1 ACCEPTED SOLUTION
Read only

retired_member
Product and Topic Expert
Product and Topic Expert
1,948

Yes, in fact, Open SQL is more powerful than CDS in latest releases.

Hello Experts,

Of course CDS view is a re-usable repository object whereas an Open SQL query is written locally but, can we write a query using Advanced Open SQL which is available since AS ABAP 7.4 onwards instead of creating a CDS view for the same requirements?

Best,

Vish.

4 REPLIES 4
Read only

retired_member
Product and Topic Expert
Product and Topic Expert
1,949

Yes, in fact, Open SQL is more powerful than CDS in latest releases.

Read only

0 Likes
1,948

Thanks horst.keller for the clarification.

Will Open SQL then overtake AMDPs and CDS views in terms of their usage in a given context?

Best,

Vish.

Read only

1,948

We will try to offer as much functionality as possible in Open SQL in order to make Native SQL (ecpecially inside AMDP) superfluous. But CDS can't be substituted regarding data modeling.

Read only

0 Likes
1,948

What is the type/name of the SQL we use in CDS views? An expert in an interview had warned me when i referred it as Open SQL.