cancel
Showing results for 
Search instead for 
Did you mean: 

"Failed to Load Metadata" Error in Create KPI --> Entity Set

Former Member
0 Kudos
2,030

Hi All,

In the FIORI Launchpad Designer (KPI Modeler Screen), when trying to create a new KPI Design, as shown below,

Getting error: "Failed to Load Metadata" when the Entity Set is being assigned as shown below.

1) All the necessary Roles are assigned to this FIORI user such as : SAP_BR_ANALYTICS_SPECIALIST, SAP_BR_PURCHASER and SAP_BR_BUYER

2) The CDS view in the background is a standard CDS view: C_OVERDUEPO and OData Service /sap/opu/odata/sap/C_OVERDUEPO_CDS is also published.

Kindly Suggest.

Thanks,

AK

Accepted Solutions (0)

Answers (1)

Answers (1)

lgonzalezc
Employee
Employee
0 Kudos

Hi

You may try refreshing metadata in /iwfnd/maint_service or checking errors in /IWFND/ERROR_LOG in your gateway system. Maybe model changed and has some error to review.

Regards

Luciano

sudhir_vanap
Explorer
0 Kudos

Hello,
We are also facing same Issue and below are screenshots from maint service t-code where we are able to see metadata.

sudhir_vanap_0-1712158526420.png

And below is the error in Fiori while trying to create the ALP:

sudhir_vanap_1-1712158589153.png

And below is our CDS view:

@AbapCatalog.sqlViewName: 'ZSQL_KPI'

@AbapCatalog.compiler.compareFilter: true

@AbapCatalog.preserveKey: true

@AccessControl.authorizationCheck: #NOT_REQUIRED

@EndUserText.label: 'Ex CDS for KPI'

 

@VDM.viewType: #CONSUMPTION

@OData.publish: true

 

define view ZKPI_TILE as select from ekko as Poh

inner join ekpo as poi on Poh.ebeln = poi.ebeln

 

{

key Poh.ebeln as ponumber,

poi.werks as plant,

Poh.bukrs as companycode,

poi.mtart as MaterialType,

poi.matkl as MaterialGrp,

@DefaultAggregation: #SUM

poi.netwr as Value

}

OData , SAP Fiori for SAP S/4HANA ,