How to assign Fiori Launchpage to Fiori Launchpad and redirecting to it when logging off from Fiori Launchpad:
> The best way to access SAP Fiori Launchpad by the end user should be through the Fiori Login Launchpage. If this is not set,you will get an error message as given below.
|Figure : Error Page when logging off from Fiori Launchpad|
Before we proceed with list of steps that are to be done,first have a look at the flow of accessing and logging off from the Fiori Launchpad diagram below.
|Illustration : Fiori Launchpad Access Flow|
In order to set its access through Fiori launchpage,we need to access the Fiori Launchpad Service,which can be found in the following path in SICF:
default_host > sap > bc > ui2 > flp
Double click the ‘flp‘ service and you will be in the ‘Create/Change a Service‘ screen. Click the ‘Error Pages‘ tab and then in the sub tab ‘Logon Errors‘,select the radio button ‘System Logon‘
|Figure : Configuring the Launch page service ‘FLP‘ in Fiori LaunchPad in transaction SICF
|Figure : Setting Up the Logon class ‘/UI2/CL_SRA_LOGIN‘ in custom configuration|
Select the ‘Define Service-Specific Settings‘ radio button and the select the ‘Custom Implementation‘ radio button and provide the following class in the ABAP Class input field ‘/UI2/CL_SRA_LOGIN‘ and then click the ‘save‘ button to save the changes. you will be prompted for saving it to a Workbench Transport request.
For Log off page,we can do the same using the following path in SICF:
the service name here is ‘logoff‘
The first step of assigning system logon configuration in the Error Pages tab is the same as done for ‘flp‘ class given above.
Additionally In the ‘Error Pages‘ tab and under the sub-tab ‘Logoff Page‘,select the radio button ‘Redirect to URL‘ and provide the following URL in the ‘Redirect‘ Input field ‘/sap/bc/ui5_ui5/ui2/ushell/shells/abap/Fiorilaunchpad.html‘
|Figure : Setting Up Landing Page Redirection on ‘logoff‘ Service in SICF|
This way when the user logs off the Fiori Launchpad,it will show the Fiori Launch page,instead of the error message.
To make customization in the Fiori Launchpage itself and for a complementary document to this one,refer to the following link: