2021 Feb 02 1:56 PM
Hi all,
I'am new with CDS
I build with simple CDS like below pict :

And, look at that (warning), like below pict :

What's wrong with my code?
2021 Feb 02 7:34 PM
I have no SAP system at hand but I suppose that the key of sflight is not fully specified by the ON condition of the association. Therefor it is possible that on entry of spfli is joined with more than one entry in sflight. That does not match the cardinality you specified.
2021 Feb 03 3:53 AM
SPLFI have CARRID & CONNID
SFLIGHT have CARRID, CONNID, SFLIGHT
What do you think corresponds to cardinality?
2021 Feb 03 7:29 PM
That should be [0..*]. It is technically possible that for one combination of CARRID and CONNID there is no matching entry in SFLIGHT and it is possible that there are multiple entries in SFLIGHT for another combination of those fields.