cancel
Showing results for 
Search instead for 
Did you mean: 
Subscribe

Dear Specialists,

I am trying to create a Fiori Elements List Report utilizing the SAP Fiori Tools.

I created an Odata Service providing the data based on two ABAP CDS.

Whatever I try I alway get a generated page structure with a list report -> object page -> object page (where the object page in the middle is redundant, at least for my purpose - see the pagemap screen shot)

As a result the first object page is always empty and there is no navigation to the second level object page.

My question now: Am I making an error is generating the app or is my Odata Service not up for the job?

Here is my main CDS:

@OData.publish: true
@UI.headerInfo: {
    typeName: 'Process Chain Monitor'
    }

define view
ZC_PCMON
as select from
ZI_PCMAIN
association [1..*] to ZI_PCLOG as _log on $projection.Variante = _log.Variante
{
      @UI.lineItem: [{ position: 10 }]
      @UI.selectionField: [{ position: 20 }]
      @UI.identification: [{ position: 20, importance: #HIGH }]
  key ZI_PCMAIN.ChainId,
      @UI.lineItem: [{ position: 20 }]
  key ZI_PCMAIN.Objvers,
      @UI.lineItem: [{ position: 30 }]
  key ZI_PCMAIN.Type,
      @UI.lineItem: [{ position: 40 }]
  key ZI_PCMAIN.Variante,
      @UI.lineItem: [{ position: 50 }]
  key ZI_PCMAIN.Lnr,
      @UI.lineItem: [{ position: 60 }]
      ZI_PCMAIN.EventStart,
      _log // Make association public
}

And the second (detail) CDS:

@AccessControl.authorizationCheck: #CHECK
@EndUserText.label: 'Interface View ProcessChain Log'
define view
ZI_PCLOG
as select from
rspcprocesslog
{
      @UI.identification: [ { position: 110 } ]
  key log_id         as LogId,
  key type           as Type,
  key event_start    as EventStart,
  key eventp_start   as EventpStart,
  key job_count      as JobCount,
  key batchdate      as Batchdate,
  key batchtime      as Batchtime,
      backlink_start as BacklinkStart,

Does any body have a clue, why my object page is not working directly? Any help appreciated.

Best regards

Markus

View Entire Topic

Hello cxmm09 ,

I was able to find a solution for this.

Please find below solution in case this is still relevant for you.

@UI.facet: [{ id : 'id_name',

type: #LINEITEM_REFERENCE,

label: 'Test line item',

targetElement: 'your_navigation_entity' }]

Best regards,

Navjot