on 08-03-2016 5:31 PM
Hi Experts,
I am checking the various possibilities of navigation in Fiori Smart Template applications. I am using CDS views and adding annotations there to trigger the navigation. My NW, UI, GWFND components' version is 7.5 SP3
1. My CDS view looks like below
@AbapCatalog.sqlViewName: 'z_sql_MSEG'
@AbapCatalog.compiler.compareFilter: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@EndUserText.label: 'mat doc'
@OData.publish: true
@UI.headerInfo.description.label: 'Details'
@UI.headerInfo.description.type: #STANDARD
@UI.headerInfo.typeName: 'List of Materials'
define view Z_Mseg as select from mseg
association [1..1] to Z_Mara as _material
on $projection.matnr = _material.matnr {
@UI.lineItem.position: 1
@UI.identification.position: 1
key mseg.mblnr,
@UI.lineItem.position: 2
@UI.identification.position: 2
key mseg.mjahr,
@UI.identification.position: 3
@UI.lineItem.position: 3
key mseg.zeile,
@UI.lineItem: [ {
position: 4,
label: 'Show Material',
type: #WITH_NAVIGATION_PATH,
targetElement: '_material'
} ]
_material.matnr,
mseg.budat_mkpf,
......
I am following the example given in the below link
With Navigation Path - About ABAP Programming Model for SAP Fiori - SAP Library
However, it is not working. The button/link is not showing up even after putting the label properly. Also, annotation file which is generated does not seem good and navigationpropertypath attribute seems to be missing there.
Please suggest what I am missing here.
2. I can use Intent based navigation alternatively but I do not see any any options to pass the parameters which trigerring intent based navigation through annotation. Any pointers will be appreciated.
3. Need some better documentation on how the inbound url parameters are handled in the smart template application.I understand that there are some options in manifest.json file and still not sure about end-to-end implementation of navigation.
Please advise. Thanks.
Regards,
Gairik
any resolution for this issue.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Moving it from SAPUI5 community to SAP Fiori.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.