Technology Blogs by Members
Explore a vibrant mix of technical expertise, industry insights, and tech buzz in member blogs covering SAP products, technology, and events. Get in the mix!
Showing results for 
Search instead for 
Did you mean: 
After 20-minutes of inactivity, the Fiori Launchpad session is timed out by default, disconnecting all oData services and requiring a refresh to proceed, not ideal if your end-user is in the middle of data entry, etc.

At the moment, disabling the timeout is only achievable through what's called a Shell Plugin app, which is a SAPUI5 app that runs in the background of the Launchpad.

The official online guide will get you partway there, but there are some vital omissions...


Here's my template below, simply copy this in place of the generated Component.js file.

<namespace> on the guide is launchpad.timeout.launchpadtimeout or <namespace>.<app name>

I've reconfigured the <URL> in the guide to work for all your SAP Cloud Platform Sub-Accounts (e.g. Dev, Test, and Prod).
], function (UIComponent, Device, models) {
"use strict";

return UIComponent.extend("launchpad.timeout.launchpadtimeout.Component", {

metadata: {
manifest: "json"

* The component is initialized by UI5 automatically during the startup of the app and calls the init method once.
* @public
* @override
init: function () {
// call the base component's init function
UIComponent.prototype.init.apply(this, arguments);

// enable routing

// set the device model
this.setModel(models.createDeviceModel(), "device");

// make a request to the server every 15 minutes
setInterval(function () {
//Get the SAP Cloud Platform Sub-Account
var href = $(this).attr('origin');
var split1 = href.split("-"); // split by -
var secondSubString = split1[1]; // all characters AFTER the first -
var split2 = secondSubString.split("."); // split by .
var subAccount = split2[0]; // all characters BEFORE the first .

type: "HEAD",
cache: false,
crossDomain: true,
uri: "https://flpnwc-" + subAccount + ""
function (result) {"pingServer", "Successfully pinged the server to extend the session");
function () {"pingServer", "failed to ping the server to extend the session");
}, 900000); //15 minutes



Apart from the above, follow the official guide and the app should fire every 15 minutes, disabling the timeout!

I hope you found this blog post useful!



1 Comment
Labels in this area