Get Example source ABAP code based on a different SAP table
• WHERE ABAP_CDS_SELECT
ABAP_CDS_DDL - CDS View Entity, SELECT>, WHERE>
ABAP_SYNTAX ... WHERE cds_cond> ...>
What does it do? Defines a WHERE> condition for the result set of a CDS view entity>. When the CDS view entity is accessed, the result set contains only the data from the data source data_source>> that meets the condition cds_cond>> specified after WHERE>. The fields evaluated in the condition do not need to be defined as elements of the CDS view entity in the SELECT> list>. If the view entity makes use of multiple data sources by using join expressions, then all fields specified in the WHERE> condition must be prefixed with the name of their data source separated by a period (.). The prefix is required in all cases, even if the field names are unique. The following rules apply to the operands and syntax of the WHERE> condition of a CDS view entity >: