cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Custom CDS View Association

Rawel
Explorer
0 Kudos
604

Hi Good day SAP

I am Creating Custom Cds View 

Scenario External API

How can i Expose MaterialDocumentItems on MaterialDocumentHeader.


I think i am doing it wrong

Rawel_0-1756813636306.png

Like this one 

MaterialDocumentHeader_2 = 1
_I_MaterialDocumentItem_2 = 1
_I_MaterialDocumentItem_2 = 2
_I_MaterialDocumentItem_2 = 3

MaterialDocumentHeader_2 = 2
_I_MaterialDocumentItem_2 = 1
_I_MaterialDocumentItem_2 = 2
_I_MaterialDocumentItem_2 = 3

 

View Entire Topic
Jerry_Lowery
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Rawel,

I don't see any obvious issues - have you done a preview of the data already?

You could also add I_MaterialDocumentItem_2 as an associated view and then link them to the Header key fields.

Should be a 1 to many (Header to Items) association.

Thank you
Jerry

Rawel
Explorer
0 Kudos

Hi sir @Jerry_Lowery I replied to sir  @DilanLatifSAP 
About my issue i encounter.

Thanks for help.