/$ metadata?sap-language = TR 404(找不到)问题

2020-09-08 00:09发布

点击此处---> 群内免费提供SAP练习系统(在群公告中)加入QQ群:457200227(SAP S4 HANA技术交流) 群内免费提供SAP练习系统(在群公告中)嗨, 我的项目在Web IDE...

         点击此处--->   EasySAP.com群内免费提供SAP练习系统(在群公告中)

加入QQ群:457200227(SAP S4 HANA技术交流) 群内免费提供SAP练习系统(在群公告中)


嗨,

我的项目在Web IDE上运行良好,但是从URL运行时却出现以下错误:(请问有人可以提出解决方案吗?

/sap/bc/ui5_ui5/sap/zfio_financ_mng/〜21EDCFECAC57F75CA78CD16519653E4E〜5/sap/opu/odata/sap/ZFMBU_BUDGET_PLAN_SRV/$ metadata?sap-language = TR 404/{FONT) temp/1691643-1.jpg"> 1.jpg

 {
 " _version":" 1.12.0",
 " sap.app":{
 " id":" com.zfio_financ_mng",
 " type":"应用程序",
 " i18n":" i18n/i18n.properties",
 " applicationVersion":{
 " version":" 1.0.0"
 },
 " title":" {{appTitle}}",
 " description":" {{appDescription}}",
 " sourceTemplate":{
 " id":" servicecatalog.connectivityComponentForManifest",
 " version":" 0.0.0"
 },
 "数据源": {
 " ZFMBU_BUDGET_PLAN_SRV":{
 " uri":"/img/sap/opu/odata/sap/ZFMBU_BUDGET_PLAN_SRV/",
 " type":" OData",
 "设置":{
 " odataVersion":" 2.0",
 " localUri":" localService/metadata.xml"
 }
 }
 }
 },
 " sap.ui":{
 " technology":" UI5",
 "图标":{
 " icon":"",
 " favIcon":"",
 "电话": "",
 " phone @ 2":"",
 " tablet":"",
 " tablet @ 2":""
 },
 " deviceTypes":{
 "桌面":是的,
 "平板电脑":是的,
 "电话":正确
 }
 },
 " sap.ui5":{
 " flexEnabled":否,
 " rootView":{
 " viewName":" com.zfio_financ_mng.view.App",
 " type":" XML",
 "异步":是的,
 " id":" App"
 },
 " config":{
 " fullWidth":是,
 " resourceBundle":" i18n/i18n.properties",
 " serviceConfig":{
 "名称":" ZFMBU_BUDGET_PLAN_SRV",
 " serviceUrl":"/img/sap/opu/odata/sap/ZFMBU_BUDGET_PLAN_SRV/"
 }
 },
 "依赖关系":{
 " minUI5Version":" 1.60.1",
 " libs":{
 " sap.ui.layout":{},
 " sap.ui.core":{},
 " sap.m":{},
 " sap.f":{},
 " sap.uxap":{}
 }
 },
 " contentDensities":{
 "紧凑":是的,
 "舒适":是
 },
 "楷模": {
 " i18n":{
 " type":" sap.ui.model.resource.ResourceModel",
 "设置":{
 " bundleName":" com.zfio_financ_mng.i18n.i18n"
 }
 },
 " app":{
 " type":" sap.ui.model.json.JSONModel",
 "设置":{},
 " uri":" model/app.json"
 },
 "":{
 " type":" sap.ui.model.odata.v2.ODataModel",
 "设置":{
 " defaultOperationMode":"服务器",
 " defaultBindingMode":" OneWay",
 " defaultCountMode":"请求"
 },
 " dataSource":" ZFMBU_BUDGET_PLAN_SRV",
 " preload":是
 }
 },
 "资源":{
 " css":[
 {
 " uri":" css/style.css"
 }
 ]
 },
 "路由":{
 " config":{
 " routerClass":" sap.f.routing.Router",
 " viewType":" XML",
 " viewPath":" com.zfio_financ_mng.view",
 " controlId":" flexibleColumnLayout",
 " transition":" slide",
 "异步":true
 },
 "路线":[
 {
 " pattern":":layout:",
 " name":" master",
 "目标":[
 "主",
 "详情"
 ]
 },
 {
 " pattern":"详细信息/{entityDetail}/{layout}",
 " name":"详细信息",
 "目标":[
 "主",
 "详情"
 ]
 },
 {
 " pattern":"详细信息/{entityDetail}/detailDetail/{entityDetailDetail}/{layout}",
 " name":" detailDetail",
 "目标":[
 "主",
 "详情",
 " detailDetail"
 ]
 }
 ],
 "目标":{
 "主人":{
 " viewName":"大师",
 " controlAggregation":" beginColumnPages"
 },
 "详细信息":{
 " viewName":"详细信息",
 " controlAggregation":" midColumnPages"
 },
 " detailDetail":{
 " viewName":" DetailDetail",
 " controlAggregation":" endColumnPages"
 }
 }
 }
 },
 " sap.platform.abap":{
 " uri":"/img/sap/bc/ui5_ui5/sap/zfio_fin_mng/webapp",
 " _version":" 1.1.0"
 }
 }
 
 <!DOCTYPE html>
 
 <头>
 
 
 
 
 
 
 预算计划


 
 


 
 
1.jpg (36.0 kB)
9条回答
当学会了学习
2020-09-08 00:49

我不确定,但是在index.html文件引导脚本中,您正在在线加载库,请尝试在下面替换

 src=" https://sapui5.netweaver。  ondemand.com/resources/sap-ui-core.js"
 至
 src=" resources/sap-ui-core.js"
 

,在" sap.ui5"中您提到了" config",您也可以尝试删除整个" config"块,

" sap.ui5":{
 .......
 " config":{
 .......
 }
 },

一周热门 更多>