Skip to Content
Technical Articles
Author's profile photo Dhanasupriya Sidagam

Perform CRUD operations on Employee Info in SAP WEB IDE using SAP UI5

This has been updated in next posts

Assigned Tags

      12 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Sebastiano Marchesini
      Sebastiano Marchesini

      Nice blog Dhanasupriya,

      sorry what is location ? And why you reload after update and create ?

      Author's profile photo Dhanasupriya Sidagam
      Dhanasupriya Sidagam
      Blog Post Author

      Hello

      Thank you for your comment.

      I just used to refresh the page. It is not mandatory to use.

      Author's profile photo Jakob Marius Kjær
      Jakob Marius Kjær

      Hi Dhanasupriya.

       

      I applaud you for sharing your journey with the community. I do feel like I have to pitch in and let you know of an easier way to do this.

      If you bind directly to the odata model with two way binding, then all you can do everything in submit changes on the model. You would need to bind the input fields of your panel to the selected item from the list though.

       

      Please have a look at this sample I've created for you. It shows how to use the binding context of the view and no need for syncing a local json model and the odata model.

      You can clone this to WebIde and run it with the mock server.

       

       

      Maybe try to use the worklist crud template as this will give you two pages. The list and a detail page where the binding has already happened. Put your save buttons etc on that.

       

      Happy coding ?

      Author's profile photo Volker Buzek
      Volker Buzek

      hi dhanasuprija & jakob,

      heads off to both of you: to D for sharing code and J for the gentle nudging in the right direction.

      keep on spreading that good UI5 karma!

      best, v.

      Author's profile photo Dhanasupriya Sidagam
      Dhanasupriya Sidagam
      Blog Post Author

      Hello Volker

      Thank you..

      Author's profile photo Dhanasupriya Sidagam
      Dhanasupriya Sidagam
      Blog Post Author

      Hello

      Thank you for your info..

      Author's profile photo Sandhya V
      Sandhya V

      Excellent blog DhanaSupriya  ,

      I’m just starting to learn about sapui5 and all the basics you mentioned are very helpful. Thank you for posting it.

      Author's profile photo vinodh reddy
      vinodh reddy

      thank you soo much nice blog, But from data is comming from  OData or Json Data,,,,, i hope u will reply

      Author's profile photo Dhanasupriya Sidagam
      Dhanasupriya Sidagam
      Blog Post Author

      Here in this blog, OData coming from backend, i binded to JSON Model to make use in view.

      Author's profile photo Mangesh Bartakke
      Mangesh Bartakke

      Hello Dhanasupriya,

       

      Thanks for the blog!

      but I want to know open source odata service if you know!

      Hope you give a reply!

       

      Regards,

      Mangesh

       

      Author's profile photo Dibya Ranjan Jena
      Dibya Ranjan Jena

      I cannot able to find your Updated Cod for the application.

      Author's profile photo Rajasekhar Bhupathyraju
      Rajasekhar Bhupathyraju

      Can not see the code updated.Kindly look into this please .Thanks in advance .