We are hiring and constantly growing! Have a look through our vacancies to find the right role for you!
CLASS-METHODS meth FOR TABLE FUNCTION cds_tabfunc.
This statement declares the static method meth as an AMDP function implementation that implements a CDS table function cds_tabfunc as an AMDP table function. This statement can only be specified in the public visibility section of an AMDP class and not in an interface. The method must be implemented using the addition BY DATABASE FUNCTION of the statement METHOD.
cds_tabfunc expects a CDS table function defined using the statement DEFINE TABLE FUNCTION in the ABAP CDS CDS DDL. For this function, the current class and the method meth are specified after the addition IMPLEMENTED BY METHOD.
No other additions are possible. The interface parameters in the AMDP function implementation are added to the CDS table function as follows: