cancel
Showing results for 
Search instead for 
Did you mean: 

RAP / Restful Application Programming Mode: ListReport on ObjectPage but restrict further navigation

Zerhat
Explorer
0 Kudos
189

Hello @ALL,

the MDE of a given CDS Root View Entity consists of multiple facets, some of these are of the type #FIELDGROUP_REFERENCE (for purpose: #HEADER), some have the type #LINEITEM_REFERENCE (for purpose: #STANDARD).

A lineitem facet is intended to be displayed on the object page, as such it utilizes the annotation 'targetElement' with reference to a composition[0..*] _Example. The data is successfully pulled into the facet and the object page correctly displays the data being present.

But there is a problem.

Generally, the definition of lineitems automatically allows for further navigation - so if a lineitem is clicked on the initial page of a list report for example, then navigation to the object page behind it will start. This will also happen, if the lineitems have been defined inside the object page - such that - a lineitem clicked on the object page, will navigate further into the next page.

Is it possible to define a list of items on the object page, which do not allow further navigation, but could possibly be edited if necessary via the appropiate CRUD operation?

The goal is to have a list displayed like:

Zerhat_0-1738936962338.png

In the image example above, it appears as though further navigation would not be possible by clicking on one of its items. This restriction is activily sought for in my scenario, but I can not find any sources with regards to its implementation.

Thanks in advance for every comment!

View Entire Topic
junwu
SAP Champion
SAP Champion

for v2 FE, you have to define page under that object page in manifest.json

for v4 fe, you have to define navigation for that page in manifest.json

junwu
SAP Champion
SAP Champion
just find out you want the other way around, so for v2 FE, you have to REMOVE page under that object page in manifest.json for v4 fe, you have to REMOVE navigation for that page in manifest.json
Zerhat
Explorer
0 Kudos
Thanks alot for taking the time, this is ideal!