In previous Blogs I’ve shown you how you can set up your SAP Web IDE on Hana Cloud.

part 1

  • Opening SAP Web IDE for the first time
  • Entering the Git User Settings
part 2
  • Installing and configuring the HANA Cloud Connector
part 3
  • Connecting to the remote system
part 4
  • Test the SAP Web IDE
part 5
  • Enable your HCP Fiori Launchpad
  • Register your App to the HCP Launchpad
part 6 (old part 5) this part 😉
  • Deploy your application to the ABAP Repository
  • Test your application at the ABAP system
  • Import your application from SAP Gateway to SAP Web IDE

We have now configured and tested our SAP Web IDE on HANA Cloud. In the this part I will show you how you can deploy your application to the ABAP Repository.

Deploy the application to the ABAP Repository

Go back to SAP Web IDE. You may want to close other open tabs and windows. Select the project, right-click and select Deploy > Deploy to SAPUI5 ABAP Repository/wp-content/uploads/2016/06/27_969598.pngFor the Deployment Options, Select GM6 system and if authentication is needed provide user ID/Pwd. KeepDeploy a new application selected and click Next/wp-content/uploads/2016/06/48_969620.png Enter a name, e.g.  Z_TimeApproval (the name needs to start with Z), enter any description and clickBrowse. Note:  In Package field, $TMP is defaulted by the system if your system only supports local object creation. Click Next/wp-content/uploads/2016/06/49_969621.png Click Finish to deploy your application to the SAPUI5 ABAP Repository/wp-content/uploads/2016/06/50_969622.png
Wait for the successful feedback. Click on OK. You have successfully deployed your app to the ABAP repository
/wp-content/uploads/2016/06/51_969623.png /wp-content/uploads/2016/06/52_969624.png

Test your application at the ABAP system

Go to SAP Logon and logon to the GM6 system./wp-content/uploads/2016/06/53_969625.png Enter the transaction code SE80/wp-content/uploads/2016/06/54_969626.png Click on Repository Browser. Choose BSP_Application and enter the first letters of your uploaded application name (here: Z_TIME). The system will show you your application. Double Click on it./wp-content/uploads/2016/06/55_969627.png /wp-content/uploads/2016/06/56_969628.png Click on the arrow in front of your application, choose Pages with Flow Logic, and open it. Here you can see one file:index.html. Right click on it and choose Test. This will open your default browser with your application. (Your complete Source code of your Application you can find under Page Fragments.)/wp-content/uploads/2016/06/57_969629.png/wp-content/uploads/2016/06/58_969630.png

Import your application from SAP Gateway to SAP Web IDE

Click File > Import > Application from SAPUI5 ABAP RepositoryUpdate: you have not to create the folder anymore, this happens automatically/wp-content/uploads/2016/06/28_969631.pngSelect the system where the app had been deployed to.Search for the app, e.g. Z_TimeApproval Select the app and click OK.29.PNGA message indicates the import has finished.30.PNG/wp-content/uploads/2016/06/31_969634.pngRun the application and verify the application is running

  1. Select the file index.html of the application
  2. Click on the Run

32.PNG

If authentication is required, enter your User Name and PW for your SAP Gateway system.The Application Preview is started, the application is loading and data is fetched from the OData Service.


The Application will also start in Full Size Mode, if you want to change this, look at part 4.

78.PNG

More Web IDE stuff published by Technology RIG 🙂

See you

Claudi

To report this post you need to login first.

1 Comment

You must be Logged on to comment or reply to a post.

  1. Naseem VP

    Hi Claudia,

    Thanks a lot for such a detailed blog on the whole scenario.

    But i have a query where i think u will surely be able to help.

    I am using a trial hcp account and have setup the cloud connector to access my onPremise system.

    I am trying to create an extension project on web ide which will be using the app from sapui5 abap repository and i am getting the following error.

    2016-09-07 11_06_44-SAP Web IDE.jpg

    But i have configured everything according to the web ide documentation.

    i have checked the prerequisites as in

    /wp-content/uploads/2016/09/2_1031181.jpg

    and i see that i meet the requirements without any additional note as my system ahs the SAP_BASIS component 7.5

    /wp-content/uploads/2016/09/3_1031183.jpg

    When i checked the sicf tcode for the /sap/bc/adt node. it doesnt have any discover.xml subnode and when i try to acces it over url, i get the error This resource does not exist.

    Please guide me on fixing this issue.

    Thanks & Regards,

    Naseem

    (0) 

Leave a Reply