Skip to Content
-2

CDS Table function

Jan 24 at 11:40 PM

72

avatar image
Former Member

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?

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Best Answer
Horst Keller
Jan 25 at 06:34 AM
0

"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_functions.htm

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

Because the language of CDS is a platform independent DDL.

Show 1 Share
10 |10000 characters needed characters left characters exceeded
Former Member

Horst, thanks for the clarification.

0