Skip to Content
avatar image
-2
Former Member

CDS Table function

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?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Jan 25 at 06:34 AM

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

    Add comment
    10|10000 characters needed characters exceeded