我无法使用ES5目标检索OData服务,因为它一直在询问凭据

2020-08-20 08:33发布

点击此处---> 群内免费提供SAP练习系统(在群公告中)加入QQ群:457200227(SAP S4 HANA技术交流) 群内免费提供SAP练习系统(在群公告中)我正在上openSAP课程使用S...

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

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


我正在上openSAP课程"使用SAPUI5开发Web应用程序",我正确地完成了所有步骤,直到尝试从ES5目标中检索OData。

一旦我运行index.html文件,它会询问用户名和密码,一旦我提供相同的凭据登录到SAP Gateway-Demo System(ES5),它就无法工作。 登录到ES5的SAP Easy Access即可。

我该怎么做才能解决这个问题?

感谢和问候。

7条回答
haha101010
2020-08-20 09:31

嗨艾哈迈德,

这是我的manifest.json:

{" _version":" 1.3.0"," sap.app":{" _version":" 1.3.0"," id":" opensap.myapp"," type":"应用程序"," i18n":" i18n/i18n.properties"," title":" {{appTitle}}"," description":" {{appDescription}}"," applicationVersion":{" version":" 1.0.0"} ," dataSources":{" ES5":{" uri":"/img/destinations/ES5/sap/opu/odata/IWBEP/GWSAMPLE_BASIC/"," type":" OData"," settings":{" odataVersion": " 2.0"}}}}," sap.ui":{" _version":" 1.3.0"," technology":" UI5"," deviceTypes":{" desktop":true," tablet":true, " phone":true}," supportedThemes":[" sap_bluecrystal"]}," sap.ui5":{" _version":" 1.2.0"," rootView":{" viewName":" opensap.myapp.view .App","类型":" XML"," id":" app"}," handleValidation":true," autoPrefixId":true," dependencies":{" minUI5Version":" 1.34"," libs": {" sap.ui.core":{" minVersion":" 1.34.0"}," sap.m":{" minVersion":" 1.34.0"}," sap.ui.layout":{" minVersion ":" 1.34.0"}}},"模型":{" i18n":{"类型":" sap.ui.model.resource.ResourceModel","设置":{" bundleN ame":" opensap.myapp.i18n.i18n"}}," helloPanel":{" type":" sap.ui.model.json.JSONModel"," uri":" model/HelloPanel.json"}," address":{" type":" sap.ui.model.json.JSONModel"," uri":" model/Address.json"},"":{" dataSource":" ES5"}}," contentDensities" :{" compact":true," cozy":true}}}

和neo-app.json:

{" welcomeFile":" index.html"," routes":[{" path":"/img/resources"," target":{" type":" service"," name":" sapui5", " entryPath":"/img/resources"}," description":" SAPUI5 Resources"},{" path":"/img/test-resources"," target":{" type":" service"," name":" sapui5"," entryPath":"/img/test-resources"}," description":" SAPUI5测试资源"},{" path":"/img/destinations/ES5"," target":{" type":"目的地" ,"名称":" ES5"},"描述":" ES5演示服务"}]}

谢谢

一周热门 更多>