Online Tutorials & Training Materials | STechies.com
Register Login

What is the Code Snippet for Updating Table from front-end SAPUI5 to back-end?

|| || 3

What is the Code Snippet for Updating Table from front-end SAPUI5 to back-end?
Stechies

Hello Experts,

Could someone share me the code snippet for updating Table from frontend sapui5 to backend?

I have table of values in which I have got the selected entry. Now how do I update the set of table from frontend to backend via batch process.

Can anyone please provide me a explanatory code snippet would be helpful.

Thanks in advance.


Comments

  • 30 Sep 2015 5:07 pm

    Please use the below approach sap.ui.getCore().getModel().update("/UserSet( + oEntry.Email + )", oEntry, null, function(){ }

  • 30 Sep 2015 5:08 pm

    Try to use sap.ui.getCore( ).getModel.batch( ) but make sure that in gateway odata service changeSet_begin and changeSet_end methods are implemented in data provider extension class.

  • 30 Sep 2015 5:08 pm

    Thanks but this is for single entry update right? I want to know for multiple entry or batch process update.

Related Articles