ABAP_DESCRIPTION This example class accesses two client-independent> CDS table functions>.
The CDS table function DEMO_CDS_GET_SCARR_SPFLI_NOCL> does not have any elements of the type CLNT>. DDLS DEMO_CDS_GET_SCARR_SPFLI_NOCL
The CDS table function DEMO_CDS_GET_SCARR_SPFLI_CLNT> has one element client> of the type CLNT>. DDLS DEMO_CDS_GET_SCARR_SPFLI_CLNT Both CDS table functions have an input parameter clnt> of the type CLNT> without the annotation @Environment.systemField> >. The client ID of the current client is passed explicitly to this parameter by the statement SELECT>>. The implementations in the AMDP method GET_SCARR_SPFLI_FOR_CDS> of the associated AMDP classes CL_DEMO_AMDP_FUNCTIONS_NOCL>> or CL_DEMO_AMDP_FUNCTIONS_CLNT>> use this input parameter in their WHERE> conditions to read the data of the current client only. Both result sets have the same number of rows and are distinguished only by the extra client column of the function DEMO_CDS_GET_SCARR_SPFLI_CLNT>.