Skip to Content
avatar image
Former Member

Calling Update method of OData service in SAPUI5

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)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

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() + "'" + "," +
    Add comment
    10|10000 characters needed characters exceeded