Ansicht
Dokumentation

ABENCDS_SELECT_PARAMETERS_V2 - CDS SELECT PARAMETERS V2

ABENCDS_SELECT_PARAMETERS_V2 - CDS SELECT PARAMETERS V2

BAL Application Log Documentation   Fill RESBD Structure from EBP Component Structure  
This documentation is copyright by SAP AG.
SAP E-Book

- CDS View Entity, CDS Parameter Passing

... ( pname1 : act1, pname2 : act2, ... ) ...

Effect

Passes actual parameters act1, act2, ... to the input parameters pname1, pname2, ... of a CDS view entity.

The following can be specified for actual parameters:

The data types of the actual parameters should match the typing of the input parameters exactly. However the following options are also possible:

  • bind character-like actual parameters to character-like input parameters with a different length.
  • bind numeric actual parameters to numeric input parameters with a greater value range.

Note

  • If a CDS table function is used as data source after FROM, the input parameters and the corresponding actual parameters can also have data type abap.string. This has been enabled to avoid length restrictions in spatial scenarios, such as the SAP Geo Framework.

Example

The following CDS view entity uses the CDS view entity demo_cds_parameters_ve in a join. The input parameters of this view are supplied with the input parameters of the current view as actual parameters. The program DEMO_CDS_PARAMETERS_JOIN_VE uses SELECT to access the view. Here the input parameters are supplied with actual parameters.






Vendor Master (General Section)   CL_GUI_FRONTEND_SERVICES - Frontend Services  
This documentation is copyright by SAP AG.

Length: 3225 Date: 20240425 Time: 205553     sap01-206 ( 43 ms )