V2 OData模型错误

时间:2017-07-15 12:49:57

标签: odata sapui5

我正在尝试使用V2 Odata模型读取操作。但它抛出了一个错误。请提供您的建议。

代码:

var serviceUrl = "/sap/opu/odata/sap/ZMC_PRODUCT_SRV/";
                var oModel = new sap.ui.model.odata.v2.ODataModel(serviceUrl);
            //  oModel.setUseBatch(false);
                oModel.read("/Art?CREATE='" + flag + "'&NCODE='" + nCode + "'&E11='" + n11 + "'&MNR='" + articleId +
                    "'&LIFNRVMS='" + Vendor + "'&SAP='" + sVendor + "'&CALL='" + callId + "'",null,null,false,

                function _fnSuccess(oData, oResponse) {
                    var _prodData = oData.results;
                    console.log(_prodData);
                },

                function _fnError(oError) {
                    console.log("Error occured");
                });




**Error Description in console:**
the following problem occurred: HTTP request failed404,Not Found,{"error":{"code":"005056A509B11EE1B9A8FEC11C21578E","message":{"lang":"en","value":"Invalid Function Import Parameter"},"innererror":{"transactionid":"B5D8889F91224C819DE717F042463BDE","timestamp":"20170715124310.3435230","Error_Resolution":{"SAP_Transaction":"Run transaction /IWFND/ERROR_LOG on SAP Gateway hub system (System Alias ) and search for entries with the timestamp above for more details","SAP_Note":"See SAP Note 1797736 for error analysis (https://service.sap.com/sap/support/notes/1797736)"}}}} -  

此致 Karthik S

0 个答案:

没有答案