on 2020 Oct 18 5:42 PM
Hello
I want to perform the update operation , but i m getting below error.
HTTP request failed (400 Bad Request): {"error":{"code":"SY/530","message":{"lang":"en","value":"Inline component is not defined or not allowed (HTTP PUT)"},"innererror":{"transactionid":"50EFF5DC7C760020E005F672522CBC10","timestamp":"20201018162311.0364030","Error_Resolution":{"SAP_Transaction":"Run transaction /IWFND/ERROR_LOG on SAP NW Gateway hub system 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)","Batch_SAP_Note":"See SAP Note 1869434 for details about working with $batch.
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 ProductSet
oEntry1.POItem = itemData;
oModel.update("/POHeaderSet('" + Ebeln + "')",oEntry1, { success: function(data) { alert("success"); }, error: function(e) { alert("error"); } });
Request clarification before answering.
Dear shubhangi_deshmukh,
You can only pass deep structured data via the create operation, which will trigger the deep create method.
In the deep create method, if the key field is sent from the UI, then consider it as an update operation, else it will be a create operation.
Thanks,
Mahesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Mahesh
User | Count |
---|---|
87 | |
9 | |
9 | |
8 | |
6 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.