SAPUI5 Application Consuming OData service with SAP WEB IDE PART-2

    Welcome to PART-2.We will create the application using SAP Web IDE in this part.For knowing how to configure destination in HCP see  SAPUI5 Application Consuming OData service with SAP WEB IDE PART-1

  1.  From SAP Web IDE menu select File->New->Project from Template.SAP Web IDE provide many templates we can make use of them. 

  2.  Now We will be at template selection dialog screen.Select 'SAPUI5 Application template'.From Available versions we have two options SAPUI5 Innovation and SAPUI5 1.28.Select SAPUI5 1.28 otherwise code in this tutorial may not work.Click Next.(If you are going with SAPUI5 innovation(recommended) latest version see Note)

  3.  Give a meaningful project name.I am giving OdataConsumingApp.Leave namespace empty.Click Next.

  4.  Next is selection screen for root view type.We can use XML,javascript,json or html view.SAP recommends XML view.So we select view type XML and name view1(we are not changing it).Click Next.

  5.  Click Finish.A new project will be created in workspace.

  6.  Our project structure looks like below.component.js provide metadata.We write functions in controller etc..we are not covering these details here.
                             In the next part we will see adding an OData service to the application.
Note: If you choose to go with latest SAPUI5 Innovation version project structure will have an additional manifest.json file like below.In the latest version they have seperated coding and configuration in different files for easy code maintenance.manifest.json file is also called descriptor of the application.

If you enjoyed this post, I’d be grateful if you’d help it spread by sharing.Thank you! See you soon


Post a Comment

Powered by Blogger.