This document is intended for developers who want to install SAP UI5 template mobile application through Eclipse IDE on their local development environment.
SAP Multichannel Foundation for Utilities and Public Sector delivers an UI responsive template mobile application which helps the user to manage all aspects of their utility accounts and view important information from their utility company anywhere and anytime.
Template mobile UI application consists of three packages:
You can download all these applications from UMCUI501 add-on deployed on SAP Gateway.
This application is a mobile application which consumes OData services from MCF CRM and ERP add-ons. You can download this BSP application through Eclipse SAP UI5 team provider tool.
Conventional package name: sap.umc.mobile
This application offers a logon page and provides features like user maintenance. Please use the report BSP_UPDATE_MIMEREPOS to download from MIME repository public application which is not loaded to SAP Gateway as a BSP application.
Conventional package name: sap.umc.mobile.public
This application is used as a foundation library for mobile applications of Multichannel foundation. Please use the report BSP_UPDATE_MIMEREPOS to download from MIME repository foundation application which is not loaded to SAP Gateway as a BSP application.
c. Configuration changes before deployment on NW GW
i. Change the application name to Z*(created by you) in the below files :
WebContent\Index.html -- change application path for css file location
WebContent\Index.js -- change application path for registering AppComponent
WebContent\base\js\Constant.js -- change the constant APPLICATION_LOCATION for location on logOff
ii. login.properties file must be uploaded manually on the NW GW ( path as shown in below snapshot ) from the private application path WebContent\public\login.properties. Make sure that the path of the login files( ex: /sap/public/bc/ui2/zumcui5_mobile_logon/template_msg.html) in login.properties of private application is pointing to the BSP Application path.
iii. Logon Data must be configured in NW GW for generating index.html script based on the configured parameter.
Go to transaction sicf and configure as shown below in the snapshot.
Go to tab Error Pages and click on the Configuration button.
d. Deploy to NW GW
Once the development is completed, the package has to be deployed back to the SAP Gateway. For private application, team provider can be used to upload the application, for public and foundation the report mentioned above should be used for upload to MIME repository.
Select Repository type as SAPUI5 ABAP Repository.
Configure the connection settings to SAP system where you want to deploy your application.
Logon screen to SAP sysem is displayed. Provide your credentials.
Now, you are provided with two options. First, you can check out any BSP application from the connected SAP system. Otherwise you can go ahead and create your own BSP Application.
BSP application name must be prefixed by a letter Z. And now you can browse the package where you want to save your application.
Onclick of Next , you will be navigated to a screen where you can select any transport request.
Once click Finish , you will get SAP UI5 library validation pop up message. Click OK.
Now Submit the changes to the BSP application which you have created.
You will be navigated to screen showing the changes which is going to get submitted. You can uncheck the file , if you don't want to submit it.
Now you can verify your changes in the NW GW.
For public and foundation the report mentioned above should be used for upload to MIME repository.
Now you can see your application up and running on the browser successfully.
Thanks to muhammad.naneh and yevgen.trukhin for helping in publishing the blog.