Get Example source ABAP code based on a different SAP table
• WITH PARAMETERS ABAP_CDS_DEF_VIEW_ENT
ABAP_CDS_DDL - CDS View Entity, parameter_list>
ABAP_SYNTAX ... WITH PARAMETERS parameter1>, parameter2>, ...>
What does it do? Defines CDS parameters> parameter1>>, parameter2>>, ... as input parameters of a CDS view entity> in a comma-separated list. An input parameter called pname> can be accessed using the syntax $parameters.pname>. A parameter must be typed with an elementary data type. All data types listed in topic Typing>> are allowed, except for abap.accp>, abap.geom_ewkb>, and abap.rawstring >. It can be used as an operand in the following places in the SELECT> > statement of the view entity: