Quantcast
Channel: SCN : All Content - SAP Enterprise Portal
Viewing all articles
Browse latest Browse all 3876

SAP Portal -Fiori LaunchPage/ LaunchPad (UI5 applications) Integration

$
0
0

Hey all,

 

We are in process of implementing Fiori Wave 1 Applications. SAP Portal Integration is required for below 2 primary reasons-

 

  1. SAP Portal UME is connected to organization's LDAP (Active Directory). We want users to use same AD credentials to access Fiori applications from SmartPhones/ Tablets and Desktops to keep the experience same (main purpose behind UI5 applications).

 

   2. We have been using SAP Portal as a single point of entry for all SAP systems- ECC, SRM, CRM, BW, BOBJ, GRC, MDG etc. Portal is our preference for        accessing Fiori too.

As most of the SAP documentation/ SCN blogs suggest, we tried implementing Portal on Device. We created UI5 iView to access Fiori Launchpage and added that iView to Mobile Portal Launcher.  But even though we set iView to open in separate window,  it fails to open in separate window on Mobile.

 

This makes it impossible to navigate from launchpage to applications by clicking on Tiles.

 

Another way out was instead of integrating Fiori Launchpage/LaunchPad, create separate iViews for each Fiori application. But this way, we lose the beautiful LaunchPad which has capabilities of dynamic tiles, groupings. In this case we also cannot use Gateway PFCG roles created for Fiori Catalogs.

 

So here is solution which works perfectly fine.

 

 

 

Configure SSO between SAP Portal and SAP Gateway system

 

We achieve SSO between portal and gateway system using SAP Login Tickets.

 

Export Portal Certificate and import into SAP Gateway system using STRUSTSSO2 transaction code and maintain other parameters. This is standard process.

 

 

 

Create URL iView

 

 

Use URL iView template and create a iView with below properties:

 

  1. URL: http://gatewayhost:gatewayport/sap/bc/ui5_ui5/ui2/launchpage/home.html

   b.  Height Type: Full Page

  1. Launch in New Window: Display in Separate Window

 

Note that I have specified URL points for Fiori Launchpage.You can use Fiori LaunchPad or any UI5 application URL.

 

 

Create a standard Portal Role and add above iView to it as shown below.


Image2.png


 

Now use below URL for accessing Fiori launchpage/launchpad directly.

 

http://portalhost:portalport/irj/servlet/prt/portal/prtroot/pcd!3aportal_content!2fcom.test!2ffiori!2froles!2fcom.test.fiori!2fcom.test.iv.fiorilaunchpad_url

 

It is direct URL to iView under Portal role.  We can use portal PCD permissions so that only users having this portal role can access it.

 

 

Test Results:

 

We have performed tests on mobile as well as desktops and it works perfectly fine.

Below are results with screenshots from Mobile device.

 

  1. Open URL:

 

http://portalhost:portalport/irj/servlet/prt/portal/prtroot/pcd!3aportal_content!2fcom.test!2ffiori!2froles!2fcom.test.fiori!2fcom.test.iv.fiorilaunchpad_url

 

Image3.png

 

Note that this is standard Portal Login Page which adapts for Mobile devices. We have not enabled Portal on Device for it.


As soon as user provides credentials to login, user automatically gets redirected to Fiori Launchpage.


Image4.png


 

User logs off from Fiori Launchpage


Image5.png

 

Above Logout will log off user just from Gateway and not portal.

 

We configured log off service of Gateway so that it redirects log off URL to a custom application deployed to Portal.


Image6.png


 

Custom application (com.testr.logoutFiori) contains simple Java servlet (logoff) which simply logs off user from portal and redirects to

 

http://portalhost:portalport/irj/servlet/prt/portal/prtroot/pcd!3aportal_content!2fcom.test!2ffiori!2froles!2fcom.test.fiori!2fcom.test.iv.fiorilaunchpad_url

 

Thus, user gets logged off from Gateway , Portal and comes back to starting URL.

 

 

You can ask that instead of custom application why not redirect log off ICF service to below URL-

https://Portalhost:PortalPort/irj/servlet/prt/portal/prtroot/com.sap.portal.navigation.masthead.LogOutComponent?logout_submit=true

 

This logs off user from Portal but redirects to https://Portalhost:PortalPort/irj/portal instead of
http://portalhost:portalport/irj/servlet/prt/portal/prtroot/pcd!3aportal_content!2fcom.test!2ffiori!2froles!2fcom.test.fiori!2fcom.test.iv.fiorilaunchpad_url

 

 

 

Hope this helps. Please do post your comments and let me know your thoughts on this.

 

 

Enjoy,


Vinod Patil

 

 



Viewing all articles
Browse latest Browse all 3876

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>