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

CDS Table function

Former Member
0 Kudos
1,532

I am trying get familiar with ABAP CDS and stumbled with the following:

In ABAP CDS view with table function; we do the define the CDS view in HANA studio/ABAP ADT and leave the implementation to AMDP class in ABAP for native SQL. But we can write the same Native SQL with in the CDS; why do we need an AMDP implementing class/method here?

1 ACCEPTED SOLUTION
Read only

retired_member
Product and Topic Expert
Product and Topic Expert
0 Kudos
671

"ABAP CDS view with table function;"

There is not such a thing. There are either CDS views or CDS table functions.

"But we can write the same Native SQL with in the CDS"

No you can't do that in ABAP CDS.

https://help.sap.com/http.svc/rc/abapdocu_752_index_htm/7.52/en-US/index.htm?file=abenddic_cds_table...

"who do we need an AMDP implementing class/method here"

Because the language of CDS is a platform independent DDL.

2 REPLIES 2
Read only

retired_member
Product and Topic Expert
Product and Topic Expert
0 Kudos
672

"ABAP CDS view with table function;"

There is not such a thing. There are either CDS views or CDS table functions.

"But we can write the same Native SQL with in the CDS"

No you can't do that in ABAP CDS.

https://help.sap.com/http.svc/rc/abapdocu_752_index_htm/7.52/en-US/index.htm?file=abenddic_cds_table...

"who do we need an AMDP implementing class/method here"

Because the language of CDS is a platform independent DDL.

Read only

0 Kudos
671

Horst, thanks for the clarification.