on 08-07-2023 8:08 PM
Dear experts,
can somebody help me with the Quick View Facet of a fiori application?
I followed exactly the description on the "SAP Fiori Element Feature Showcase App for the ABAP RESTful Application Programming Model"
Adding a Quick View Facet to a Table
https://github.com/SAP-samples/abap-platform-fiori-feature-showcase/wiki/Feature-Showcase-App-Guide#...
I have create a list:
And I have created a target with a quick view facet:
In the list the link is active. But when you click on it, it always shows a little popup: "No details available. This might happen if your access is restricted or the data is incomplete."
I have tried many variations, but the result ist always the same.
Does the semantic Object have to be created somewhere? How does the system know where to navigate? Is it following the ObjectModel.foreignKey.association? Or is it by the same semantic object name in the target CDS view?
I'm working on SAP BTP ABAP environment 2308 with OData V4 Service Binding.
In the Feature Showcase App it is working correctly, but I have not found the difference.
Thank you and kind regards,
Rupert
Dear Community,
I just wanted to let you know about the solution. Thanks to the SAP support.
The ReferentialConstraint in $metadata file is missing since the the corresponding navigation property _QuickView and principal property are nullable = false, but dependent property is nullable.
For more information regarding OData referential constraints please check:
http://docs.oasis-open.org/odata/odata-csdl-xml/v4.01/cs01/odata-csdl-xml-v4.01-cs01.html#sec_Refere...
To get the field in the CDS view to nullable = false you have to set the addition not null in the database table.
define table /ja41/ivc_no_a {
key client : abap.clnt not null;
key note_uuid : /ja41/ivc_note_uuid not null;
case_uuid : /ja41/ivc_case_uuid not null
}
Then it is working.... 🙂
Maybe this point could be mentioned in the documentation section of the feature show case app.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
82 | |
11 | |
10 | |
8 | |
6 | |
6 | |
6 | |
6 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.