SAP SELECT CDS PARA ABEXA



Get Example source ABAP code based on a different SAP table
  



AB_SQL , Parameter Passing to a CDS View Entity
This example demonstrates a read performed on a CDS view entity using parameter passing.

ABAP_SOURCE_CODE
DEMO CL_DEMO_CDS_PARAM_VIEW_ENTITY

ABAP_DESCRIPTION
SELECT is used to access a CDS view entity with parameters as a data source. Actual parameters are assigned to the input parameters of the view. The values of these actual parameters are defined via user input.
The view demo_cds_param_view_entity used has the following CDS source code with a list of input parameters:
DDLS DEMO_CDS_PARAM_VIEW_ENTITY
Those rows are read from the DDIC database table SPFLI for which the distance in the transferred unit lies between the two passed values.