我想執行更新操作,但我遇到以下錯誤。HTTP請求失敗(400 Bad Request): {"error":{"code":"SY/530","message":{"lang":"en","value":"Inline component is not defined or not允許 (HTTP PUT)"},"innererror":{"transactionid":"50EFF5DC7C760020E005F672522CBC10","timestamp":"20201018162311.0364030","Error_Resolution":{"SAP_Transaction":"在 SAP NW Gateway hub 上運行事務 /IWFND/ERROR_LOG系統并搜索帶有上述時間戳的條目以獲取更多詳細信息","SAP_Note":"請參閱 SAP Note 1797736 進行錯誤分析 ( https://service.sap.com/sap/support/notes/1797736)","Batch_SAP_Note " :"有關使用 $batch 的詳細信息,請參閱 SAP Note 1869434。var oEntry1 = {};oEntry1.Ebeln = Ebeln;oEntry1.Bukrs = Bukrs;oEntry1.Bsart = "EC";oEntry1.Lifnr = Lifnr;oEntry1.Ekorg = Ekorg;oEntry1.Ekgrp = Ekgrp;oEntry1.Waers = Waers; // set the item data to ProductSetoEntry1.POItem = itemData;oModel.update("/POHeaderSet('" + Ebeln + "')", oEntry1, { success: function(data) { alert("success"); }, error: function(e) { alert("error"); }});
如何在使用 sapui5 執行更新操作時定義 HTTP PUT 方法
喵喵時光機
2023-05-19 14:53:45