demo_cds_wrong_cardinality

DDL: DEMO_CDS_WRONG_CARDINALITY SQL: DEMOCDSWRGC Type: view Package: SABAP_DEMOS_ABAP_CDS_CLASSIC

CDS DDIC-based view, incorrectly specified cardinality

demo_cds_wrong_cardinality is a CDS View that provides data about "CDS DDIC-based view, incorrectly specified cardinality" in SAP S/4HANA. It reads from 1 data source (scarr) and exposes 3 fields with key field carrid. Part of development package SABAP_DEMOS_ABAP_CDS_CLASSIC.

Data Sources (1)

SourceAliasJoin Type
scarr scarr from

Annotations (1)

NameValueLevelField
AbapCatalog.sqlViewName DEMOCDSWRGC view

Fields (3)

KeyFieldSource TableSource FieldDescription
KEY carrid scarr carrid
carrname scarr carrname
connid _spfli connid
@AbapCatalog.sqlViewName: 'DEMOCDSWRGC'
define view demo_cds_wrong_cardinality
  as select from scarr
  association to spfli as _spfli on _spfli.carrid = scarr.carrid
{
  key scarr.carrid   as carrid,
      scarr.carrname as carrname,
      _spfli.connid  as connid
}