
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.
Private:
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
Public:
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
Foundation:
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.
Conventional package name: sap.umc.mobile.foundation
All three application packages should be created as per their given conventional name in Eclipse.
NOTE: Customers usually don't need to modify the foundation library.
Find below the structure of SAP MCF public and foundation packages in MIME repository:
This blog is sequenced as follows:
a. Eclipse installed with Apache Tomcat
b. SAPUI5 tools plugins added to Eclipse
2. Installation
a. Creating SAPUI5 Template
b. Downloading application packages (public, private and foundation) from BSP and MIME repositories
3. Deployment
a. Configuration changes at eclipse
b. Deploy on server and test
c. Configuration changes before deployment on NW GW
d. Deploy to NW GW
4. References
Downloading and Installing SAP UI5 Tools :
1. Creating SAP UI5 application projects: we have to create SAP UI5 application projects for all the packages (private, public and foundation).
a. Private application (sap.umc.mobile)
b. Public and foundation: create empty SAPUI5 application projects for public and foundation package and follow the steps below:
Repository name : BSP_UPDATE_MIMEREPOS
Mime Repository Path for foundation Package: /SAP/PUBLIC/BC/UI2/umcui5_mobile_foundation
Mime Repository Path for Public Package : /SAP/PUBLIC/BC/UI2/umcui5_mobile_logon
Now, manually copy and paste the downloaded package from the local folder to the Web Content folder of the respective SAPUI5 Template project created in Eclipse as shown below.
For public package:
For foundation:
b. Deploy on Server
Deploy all the 3 application on the tomcat server.
And now you can see your application ready for development on the below URL:
http://localhost:8080/sap.umc.mobile/index_local.html
c. Configuration changes before deployment on NW GW
i. Change the application name to Z*(created by you) in the below files :
private:
WebContent\Index.html -- change application path for css file location
WebContent\Index.js -- change application path for registering AppComponent
foundation:
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.
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.
For Private
Thanks to muhammad.naneh and yevgen.trukhin for helping in publishing the blog.
http://scn.sap.com/community/utilities/blog/2014/06/05/how-to-customize-the-standard-mcf-package
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.