Skip to Content
-1

In CDS ASSOCIATION except the base table, other tables are showing errors

Apr 09 at 01:35 PM

35

avatar image
Former Member

Hi Experts.

Please find the code below. Which I am trying to activate. Its throwing an error so that I cannot use Association on 'EKPO' & 'EKKN' here. Whereas using Association between 'MARC' & 'EKPO' is not giving this error. I am unable to find why this is giving error. Please help me out in this case.

Note: I tried to learn about the Cardinality. But could find working examples for each one of them. And how the Cardinality is effecting the data in output?

my-cds.png (11.9 kB)
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Best Answer
Horst Keller
Apr 09 at 03:34 PM
0

You must fulfill the following rules:

https://help.sap.com/http.svc/rc/abapdocu_752_index_htm/7.52/en-US/index.htm?file=abencds_cond_expr_on_assoc.htm

There's a comparison with a field of makt missing.

Show 1 Share
10 |10000 characters needed characters left characters exceeded
Former Member

Hi Horst,

In that case, Association will not be helpful to replace a join related Views. And after creating few of them, still I didn't understood - How this could be implemented in such a scenario, where it works better that 'Joins' ?

Can you please provide a detailed note if available in your knowledge.

1