提供的键数量与预期值不匹配

时间:2016-04-22 12:31:29

标签: sap sapui5

尝试读取Mockserver oData时出现上述错误....

MockServer:密钥谓词无效。提供的键数量与预期值

不匹配
this.getModel().read("/CalendarSet(ShopId='" + oArgs.siteId + "')", {
   success: function (oData) {
   console.log(oData);
   }.bind(this),
   error: function (oError) {
    console.log("error");
   }.bind(this)
})

任何想法?

1 个答案:

答案 0 :(得分:0)

谢谢,

我使用了一种解决问题的过滤方法。