Professional Documents
Culture Documents
Story:
We have a very urgent marketing campaign to be started as soon as possible.
For the new campaign we additionally want to contact customers in the United States (US) and Great
Britain (GB) who bought products of the category 'servers' with a Sales Order (not Sales Order Item)
Net Amount greater than 10.000.
Another problem is, that unfortunately the ex-consultant seems to have deleted some code :(.
We commented out what is not working anymore.
Data Model
items
sepm_sddl_salesorder_item sepm_sddl_product
product
Challenge: Please solve the puzzle, the expected result set is given in the report. Good luck!
Hints (which you certainly won’t need) can be found on the reverse side of this document.
1. In CDS it is not yet possible to put all need functionality in one view. Why not try to put a view on
a view on view…
2. To get results from multiple views with the same column layout together you can use the
“UNION” construct to combine two queries in a CDS view
3. Associations are used to make it easy to follow relations between tables. They can be used in any
CDS views consuming a CDS view containing an association.