点击了SAP Fiori Launchpad KPI tile后一个典型的错误消息:
2015-08-24 16:12:25 Error Preparing Query Service Uri using OData4Analytics Library : Missing parameterization request - z @ core-min-0.js:85error @ core-min-0.js:85sap.ushell.components.tiles.indicatorTileUtils.util.prepareQueryServiceUri @ smartBusinessUtil.js:1sap.ui.core.mvc.Controller.extend.fetchKpiValue @ generic.js:1(anonymous function) @ generic.js:1(anonymous function) @ generic.js:1(anonymous function) @ smartBusinessUtil.js:1_ @ ODataModel.js:6(anonymous function) @ ODataModel.js:6(anonymous function) @ core-min-2.js:42o.defaultHttpClient.request.p9 @ core-min-2.js:42E.dispatch @ abap.js:2X.handleEvent @ abap.js:2X.getEventHandler.h @ abap.js:2
core-min-0.js:85 2015-08-24 16:12:25 Arguments Passed to this function - z @ core-min-0.js:85error @ core-min-0.js:85sap.ushell.components.tiles.indicatorTileUtils.util.prepareQueryServiceUri @ smartBusinessUtil.js:1sap.ui.core.mvc.Controller.extend.fetchKpiValue @ generic.js:1(anonymous function) @ generic.js:1(anonymous function) @ generic.js:1(anonymous function) @ smartBusinessUtil.js:1_ @ ODataModel.js:6(anonymous function) @ ODataModel.js:6(anonymous function) @ core-min-2.js:42o.defaultHttpClient.request.p9 @ core-min-2.js:42E.dispatch @ abap.js:2X.handleEvent @ abap.js:2X.getEventHandler.h @ abap.js:2
core-min-0.js:85 2015-08-24 16:12:25 /sap/hba/apps/crmhlq/odata/OpportunityQuery.xsodata;o=HANA,OpportunityQuery,ExpectedNetAmtInDisplayCrcy_E,null -
准备发请求取KPI:
从value看这是工作正常的tile发起的http请求:
对于不能正常工作的tile, 输入为empty:
evaluation id: zcrm.opp.eval1
找到出该evaluation:
发现其4个输入参数全部为空:
激活之后即可正常工作:
要获取更多Jerry的原创文章,请关注公众号"汪子熙":来源:https://blog.csdn.net/i042416/article/details/100083500