Skip to Content

Special thanks to Trukhin, Yevgen and Arafat, Mohammed Wasim who helped me in writing this blog. 

Introduction

This blog explains the steps to be followed to customize Multichannel Foundation for Utilities SAP UI5 template web application. It also explains on how to set up the Eclipse for SAP UI5 ABAP-BSP Repository and how to deploy the SAP UI5 application project on the ABAP Server. The SAP UI5 Repository is technically based on the BSP Repository of the ABAP Server.

/wp-content/uploads/2014/06/arc_483139.png

Whoever want so customize Multichannel Foundation (MCF) for Utilities SAP UI5 template application.

So, starting with Section one.

Purpose :

Set-up the Eclipse for SAP UI5 ABAP-BSP Repository, deploy a copy of Multichannel Foundation UI5 template application, demonstrate how to modify login pages

Dependencies/Pre-requisites:

  • Multichannel Foundation for Utilities UMCUI501 component was installed on NetWeaver Gateway server, necessary steps from Admin Guide were executed to installed components UMCERP01/UMCCRM01 on backend SAP ERP and SAP CRM systems
  • The user needs to have some knowledge of NWDS
  • Make sure that the software component SAP UI5 TEAM PROVIDER ON 731 (UI5_731) is installed on the 7.31 ABAP backend
  • Make sure that SAP Note 1684342 is applied in the 7.31 ABAP backend
  • User should have Developer Access in the backend

To install and run SAPUI5 tools, the following software has to be installed.

  • Java Runtime environment JRE 1.6 32 bit version (ABAP development tools plugin will need only 32-bit version of JDK)
  • Operating System : Windows Vista, Windows 7 (32- or 64-Bit)
  • Download the Eclipse Juno Sr1 Packages from the following link

http://www.eclipse.org/downloads/packages/release/juno/sr1

Ec.png

Extract the downloaded zip file and open eclipse, choose Help–>Install new Software.

Ec1.png

Enter the following URL in the Work with field:

https://tools.hana.ondemand.com/juno

Check the following checkboxes:

  • ABAP Core Development tools (Developer Edition)
  • Toolkit for HTML5 (GWPA) (Optional)
  • SAP UI5 ABAP Repository Team Provider (Developer Edition)
  • UI Development Toolkit for HTML5 (Developer Edition)

Ec2.png

Ec3.png

In the next step, select Accept and Finish

Ec4.png

Ec5.png

Ec6.png

Finally, restart the Eclipse.

Creation of a Copy of SAP UI5 Template


To check, whether the Installation has been successful, proceed as follows:


For SAP UI5 application development open the Eclipse IDE and choose File > New > Other.


> SAPUI5 Application Development > Application Project. If the installation has been successful, New Application Project wizard opens.


assuming you have connected to your ABAP system and created a SAP UI5 project, you should see something similar to below.


Ec7.png


Under SAP UI5 Application Development folder > Select Application Project


Pr1.png

Enter Project Name as Z_UMCUI5 as shown below


Pr2.png

For the SAPUI5 ABAP repository team provider open the Eclipse IDE and choose File > New > Other…>SAPUI5 Application Development > Application Project. Select the new project and choose Context Menu > Team > Share Project…. If the installation has been successful, SAPUI5 ABAP Repository appears in the list.


Pr3.png


Pr5.png

Pr6.png


Select the ABAP System and enter credentials.


Sys1.png


Sys2.png


Sys3.png


Find the UMCUI5 BSP application and retrieve it into ZUMCUI5 application


/wp-content/uploads/2014/06/pic1_jpg_468760.png

App1.png

App2.png

Now we copied UMCUI5 as ZUMCUI5 and imported into eclipse, we can proceed with the modification of application.

Once you have imported the project into your eclipse you will be able to see the project as below.

/wp-content/uploads/2014/06/pic2_jpg_468761.png

For example, any javascript file or text file i18n.properties can be modified to change SAP delivered text.

Prop1.png

Prop3.png

Modification of Login Screens

Now we would like to modify login pages. They are located under sap/public/bc/ui2 in MIME repository on the gateway server. Open ABAP Workbench and enter transaction SE80. Click on MIME repository. Navigate to sap/public/bc/ui2. Create a new folder as zumcui5_logon. In txn se38 run the txn BSP_UPDATE_MIMEREPOS and export all the files to the folder by choosing Export to Disk option.

Sys4.png

In second section, login into your ABAP system and go to Txn SE80. Click on MIME Repository and navigate to

SAP –> PUBLIC –> UI2.

Create a new folder as zumcui5 and all the sub folders (css,i18n etc.,) similar to umcui5 folder. Copy all the files by clicking on Import MIME object.

You should have the folder structure as shown below.

/wp-content/uploads/2014/06/pic3_jpg_468762.png

Under zumcui5_logon we can change the text file i18n folder > i18n_en.properties to modify company name and logo.

Go to Repository Browser under ZUMCUI5 (custom folder which you have created) under MIMEs folder open login.properties file and change the template path, in my case.

Prop5.png

/wp-content/uploads/2014/06/pic4_jpg_468763.png

To finish the procedure, we need to tell newly created ZUMCUI5 Application to use login pages from zumcui5_logon folder. In order to do this, select BSP Application ZUMCUI5 in MIME repository and modify the login.properties file to point to zumcui5_logon folder.

Double click on login.properties

Change the path to zumcui5_logon instead of umcui5_logon so that template points to the customized login page.

Modify template_login.html, so that application can load CSS from customized folder.

And finally test your application.

/wp-content/uploads/2014/06/pic4_jpg_468763.png

To report this post you need to login first.

1 Comment

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

Leave a Reply