Ansicht
Dokumentation

ABENCDS_SELECT_PARAMETERS_V1 - CDS SELECT PARAMETERS V1

ABENCDS_SELECT_PARAMETERS_V1 - CDS SELECT PARAMETERS V1

General Material Data   Fill RESBD Structure from EBP Component Structure  
This documentation is copyright by SAP AG.
SAP E-Book

- DDIC-Based View, CDS Parameter Passing

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

Effect

Passes actual parameters act1, act2, ... to the input parameters pname1, pname2, ... of a CDS 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

Currently, actual parameters can be passed to the input parameters of CDS views, CDS table functions, and CDS hierarchies used as data sources of the SELECT statement.

Example

The following CDS view uses the CDS view demo_cds_parameters 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 uses SELECT to access the view. Here the input parameters are supplied with actual parameters.






CL_GUI_FRONTEND_SERVICES - Frontend Services   ABAP Short Reference  
This documentation is copyright by SAP AG.

Length: 2690 Date: 20240424 Time: 013341     sap01-206 ( 32 ms )