Quantcast
Channel: SCN : All Content - ABAP for SAP HANA
Viewing all articles
Browse latest Browse all 831

CDS associations - please help

$
0
0

What is the purpose of the new 1: addition before a filter condition?

 

For illustration purposes, i've created a 1 to many association between Articles and Units of Measure.  (Tables MARA & MARM).  Then, I created another view to 'consume' the association.  No problem, but I get the following warning:  Association uoms can influence the cardinality of the resulting set.  (see exclamation marks in yellow triangles):

 

Untitled1.jpg

 

OK, fix that using the 1: addition, and the warning goes away:

 

Untitled2.jpg

 

 

My expectation now is a 1 to 1 association between Article and Units of Measure, but the result set is still 1 to many.  What then does the  1: addition mean?  

Untitled3.jpg


Viewing all articles
Browse latest Browse all 831

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>