2017-08-13 9 views
0

なぜこれが起こっているのですか?どのように解決できますか?SAPUI5:なぜES4のデータにアクセスできないのですか?

私はhanatrial.ondemand.comからデータを取得する問題を抱えている、私は、認証の警告を取得しておいてください。 enter image description here

HERESに私の先のconf: enter image description here

とHERESに私のconfファイル:

ネオapp.json

{ 
"welcomeFile": "index.html", 
"routes": [{ 
    "path": "/resources", 
    "target": { 
     "type": "service", 
     "name": "sapui5", 
     "entryPath": "/resources" 
    }, 
    "description": "SAPUI5 Resources" 
}, { 
    "path": "/test-resources", 
    "target": { 
     "type": "service", 
     "name": "sapui5", 
     "entryPath": "/test-resources" 
    }, 
    "description": "SAPUI5 Test Resources" 
}, { 
    "path": "/destinations/ES4", 
    "target": { 
     "type": "destination", 
     "name": "ES4" 
    }, 
    "description": "ES4 Demo Service" 
} 
] 

}

menifest.json

{ 
"_version": "1.3.0", 

"sap.app": { 
    "_version": "1.3.0", 
    "id": "opensap.myapp", 
    "type": "application", 
    "title": "{{appTitle}}", 
    "description": "{{appDescription}}", 
    "applicationVersion": { 
     "version": "1.0.0" 
    }, 

    "dataSources": { 
     "ES4": { 
      "uri": "/destinations/ES4/sap/opu/odata/IWBEP/GWSAMPLE_BASIC/", 
      "type": "OData", 
      "settings": { 
       "odataVersion": "2.0" 
      } 
     } 
    }, 
    "i18n": "i18n/i18n.properties" 
}, 
"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", 
     "type": "XML", 
     "id": "app" 
    }, 
    "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" 
      } 
     } 
    }, 
    "contentDensities": { 
     "compact": true, 
     "cozy": true 
    }, 
    "models": { 
     "": { 
      "dataSource": "ES4" 
     }, 
     "i18n": { 
      "type": "sap.ui.model.resource.ResourceModel", 
      "settings": { 
       "bundleName": "opensap.myapp.i18n.i18n" 
      } 
     }, 
     "address": { 
      "type": "sap.ui.model.json.JSONModel", 
      "uri": "model/Address.json" 
     }, 
     "helloPanel": { 
      "type": "sap.ui.model.json.JSONModel", 
      "uri": "model/HelloPanel.json" 
     } 
    } 
} 

}

なぜこれが起こっているとどのように私はそれを解決することができますか? https://sapes4.sapdevcenter.com/sap/opu/odata/IWBEP/GWSAMPLE_BASIC/ $メタデータ

それでは、どのように私はこの問題を解決することができます。

これは私がデータをretriveになってるファイル、まだありません成功ですか!

答えて

関連する問題