Skip to Content

Calling Update method of OData service in SAPUI5

Jul 08, 2017 at 12:46 AM


avatar image
Former Member

Hello UI5 Experts,

Can you help me in triggering UPDATE method of OData service from UI5 application? I am using below syntax to trigger it..

Even though all the parameters are correct in UPDATE call, I am getting Error 400. I am capturing the data from popup and trying to update.Popup is opened upon clicking the EDIT button in the table column..

Appreciate your help..Thanks

capture3.jpg (90.1 kB)
capture.jpg (38.3 kB)
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Best Answer
avatar image
Former Member Jul 08, 2017 at 07:58 AM

Issue resolved..made a mistake while calling UPDATE method:

Entityset is called with slash before it..

var relPath = "pe_configupdSet(" + "Eval_Id="    + "'" + sap.ui.getCore().byId("idPopupdropdown1").getSelectedKey() + "'" + "," +
10 |10000 characters needed characters left characters exceeded