cancel
Showing results for 
Search instead for 
Did you mean: 

Re: RAP add table in ObjectPage

09-04-2024 4:00 PM
junwu SAP Champion
5112 views 0 comments Go to solution
0 Likes
SAP Managed Tags
Subscribe

Hi guys,

I'd like to visualize content of a CDS view which is associated to my view entity which I already display based on annotations.

thomas_knobloch_0-1725369702902.png

If I do like this the annotationPath can't be found when testing the app.

thomas_knobloch_1-1725369834020.png

Remark: _ChangeDocuments is not a composition child.

Thanks for help, Thomas

0 Likes
View Entire Topic
junwu
SAP Champion
SAP Champion

Does that target cds have lineitem annotation?

thomas_knobloch
Product and Topic Expert
Product and Topic Expert
0 Likes
No, the target view has no UI annotations
junwu
SAP Champion
SAP Champion
0 Likes

if you are integrating standard change document component, that is not how it can be integrated,

thomas_knobloch
Product and Topic Expert
Product and Topic Expert
0 Likes
My question is more general. I want to display an associated CDS view as a table in the ObjectPage.
junwu
SAP Champion
SAP Champion
0 Likes
if that is the case, your target cds needs to have lineitem annotation.
thomas_knobloch
Product and Topic Expert
Product and Topic Expert
0 Likes
Now the target view has own metadata extension, still same problem. Seems like it's not possible to display a associated view as a table in the object page...;-(
junwu
SAP Champion
SAP Champion
in your service definition, expose "<CDS_OF_THE_TARGET>"
thomas_knobloch
Product and Topic Expert
Product and Topic Expert
Now it works 🙂