Product Information
SAP Fiori for SAP S/4HANA – Calling GUI & Web Dynpro ABAP without opening a new tab
Latest Update 8th April 2020: My colleague Peter Nechala gives a breakdown and some example benchmarks showing why these settings improve performance in Improve Performance via SAP Fiori launchpad configuration in SAP Fiori for SAP S/4HANA
Latest Update 22nd August, 2019: Added related performance improvements – benchmarked at saving around 1.5 seconds per transaction! See the Addendum: Performance benefits of inplace mode.
Latest Update: Addendum added on how to open a specific app in explace as a user
It can be a lot of fun to get your hands on a new release of software and try out new possibilities! Some of the happy additions to SAP S/4HANA 1809 (SAPUI5 1.56) include a much easier way to configure Fiori Launchpad, and some new options for smoothing the user experience, such as a way to avoid opening a new tab whenever you call a classic app (i.e. a SAP GUI transaction or Web Dynpro for ABAP application). In this blog you will learn how to take advantage of both of these new options.
Prior to SAP S/4HANA 1809 , one of the less agreeable parts of the SAP S/4HANA User Experience for some users was the proliferation of web browser tabs and windows whenever you used classic apps, i.e. SAP GUI for HTML transactions and Web Dynpro for ABAP applications, alongside SAP Fiori apps and the Fiori launchpad. This was due to a navigation technique known as explace navigation. In SAP S/4HANA 1709 you could avoid this behaviour for Web Dynpro for ABAP applications only. Starting with SAP S/4HANA 1809, you can avoid this behaviour altogether, by configuring certain Fiori launchpad parameters to swap to inplace navigation – i.e. opening the classic app in the Fiori content area, just like a SAP Fiori app.
IMPORTANT: Using inplace mode also brings a significant performance improvement of around 1.5 seconds per transaction launched, especially when combined with the GUI Stateful Session mode. See the Addendum: Performance benefits of inplace mode.
Learning how to do this will also give you the opportunity to explore the new way of setting Fiori launchpad parameters in an ABAP configuration table provided as of SAP S/4HANA 1809.
To do this you will need to understand:
- Explace vs inplace navigation
- Where to find Fiori launchpad parameters and their values
- How to use the new Fiori launchpad configuration approach
- What to watch when testing the new approach
The good news is it’s quite easy to do this. It will probably take you longer to read this blog than to make the change.
IMPORTANT:
Some of the previously available options for setting Fiori launchpad parameters have now been deprecated as of SAP S/4HANA 1809 and should not be used anymore.
- Setting parameters in a Launchpad Configuration File – deprecated
- Setting parameters in the FioriLaunchpad.html file – deprecated
You will find the deprecation confirmed in the Fiori Launchpad Administration Guide in section Configuring the Launchpad subsection Alternative Ways of Setting Parameters.
Explace vs inplace navigation
Explace navigation simply means that whenever you navigate to a classic app it opens in a new browser window or tab. Classic apps include SAP GUI for HTML transactions and Web Dynpro for ABAP applications. This includes navigation from a tile or from within a Fiori app.
You can see how this works in this brief example. Here you see a screenshot from a SAP S/4HANA 1809 Fully Activated Appliance trial system. You are logged on with a provided demo user (any demo user will do). When you select a tile, button, or link that launches a classic app, a new tab is opened.
TIP: If you need to confirm whether an app is a GUI transaction or Web Dynpro for ABAP application just use the About Icon in the Me Area as explained in Fiori for S/4HANA – Finding the technical Name of an app Or you can also read the launchpad url parameters once you open the app – the keyword sap-ui-tech-hint should tell you if its WDA or GUI.
In the new tab you see the GUI transaction displayed within the Fiori shell and with the Fiori Visual Theme applied.
Once you finish what you are doing with this transaction, you might press the Home icon to return to the launchpad. This will close the transaction normally. Here you might see a standard data loss protection warning if you have entered some data before pressing Home.
If you answer Ok to get past the warning, you now have 2 web browser tabs with 2 home pages and need to manually close the 2nd tab.
In most previous versions of SAP S/4HANA explace was the only option available for classic apps. This was due to some technical restrictions around use of the SAP Fiori shell with these classic technologies.
The user experience problem with the explace approach is the user has to be careful to close windows/tabs when they have finished using the app. If you open a few different apps you can end up with a confusingly large number of tabs. Since each tab gives access to the Fiori shell you can also use the Home icon to return to the home page which opens in that same browser window/tab. This can quickly result in multiple tabs showing the Fiori launchpad in multiple states. If you have too many users with lots of tabs and apps open at the same time can contribute to performance degradation, and other side effects.
Explace navigation can also give users the impression of a slow system. With explace navigation, everytime a new tab is opened for a GUI transaction the browser needs to reload the NWBC runtime libraries required by SAP GUI for HTML. With inplace navigation runtime libraries are loaded only once.
Inplace navigation simply means that when you navigate to an app it opens in the current browser window and tab. This is always the behaviour for Fiori apps.
With SAP S/4HANA 1809, all classic apps can use the inplace option as well. For older releases, it is possible to use inplace navigation for Web Dynpro for ABAP applications only in SAP S/4HANA 1709. Inplace navigation for classic apps is not available at all for SAP S/4HANA 1610 or earlier.
NOTE: There are a few exception scenarios that still use explace navigation even when inplace navigation is in place. When users navigate to Web Dynpro ABAP applications or SAP GUI transactions through:
- links in Notifications,
- in the Me Area, or
- via intent-based navigation triggered by Web Dynpro ABAP applications
Where to find Fiori launchpad parameters and their values
You can find the Fiori launchpad parameters relevant to your SAP S/4HANA release in the SAP Fiori Launchpad Administration Guide in the SAP Help Portal.
You will find a table listing all the parameters in the section Configuring the Launchpad and subsection Launchpad Configuration Parameters.
There are quite a lot of parameters now available so you will either need to scroll to each page or use the Show <x> entries option to adjust the number of entries shown. You can also search for a specific parameter if you know it already. You will find all of these options just above the table.
The simplest option is to search on keyword INPLACE (or inplace – the search is not case sensitive) and you will find the parameters with short key NAVIGATION_GUI_INPLACE and NAVIGATION_WDA_INPLACE. It’s this short key you will need to use the new Fiori launchpad configuration approach.
How to use the new Fiori launchpad configuration approach
The new Fiori launchpad configuration approach uses an ABAP configuration maintenance view to set the parameters. This change is intended to be made by an administrator. The change is accessed via 2 transactions depending on your scope of change:
- Use transaction /UI2/FLP_CUS_CONF to change FLP Configuration parameters in current client only
- Use transaction /UI2/FLP_SYS_CONF to change the FLP Configuration parameters system-wide
Changes to the tables can be transported to other clients/systems using ABAP customizing request or workbench request respectively.
One of the advantages of using this new approach is the ease of changing these settings so you can: try out the new navigation temporarily; test it out to understand the difference; and change it back again until you have a decision on which way forward. This can give you the time to discuss the pros and cons for of changing the navigation with your business stakeholders & other interested parties. Your organizational change management and support teams might also need to prepare some communications to explain the change to users before you implement it in your productive system.
TIP: One possible disadvantage of this new configuration approach is that the settings apply to all users. If you want to apply Fiori launchpad configuration parameters to only selected users, then use the alternate option for Setting Parameters in a Target Mapping. You can then assign the target mappings to the user’s security roles. Most customers use a mix of setting parameters for all users and setting parameters for selected users only.
You can experience the new Fiori launchpad configuration approach by logging on to SAP GUI as an administrator (e.g. using SAP Logon) and going to transaction /UI2/FLP_CUS_CONF. By default the table is empty, i.e. SAP default values are applied to all launchpad parameters. You only need to maintain parameters you want to override.
Toggle the Change/Display icon to go into Change mode. You will see the title changes from Display View “FLP Configuration”: Overview to Change View “FLP Configuration”: Overview. Then press New Entries to add a parameter.
Use the dropdown on the FLP Property ID field to find the short keys NAVIGATION_GUI_INPLACE and NAVIGATION_WDA_INPLACE. Create an entry for each short key.
Press ENTER to get the Description, type and current Property Value defaulted into the table.
Now you can change the Property Value to any other value supported for this parameter, as previously advised in the Fiori Launchpad Parameters.
For these inplace parameters the only values are true or false. You can set both to true. Finally press the Save icon to save your values.
You can find out more about the new approach in the SAP Fiori Launchpad Administration Guide in the SAP Help Portal. Look for the section Configuring the Launchpad and subsection Setting Parameters in SAP Fiori Customizing
There are also a few related SAP Notes worth reading:
2730956 – Configuring SAP Fiori Launchpad in ABAP Customizing
2403527 – Force WebGUI/WebDynpro apps to open in same window when launching from Fiori Launchpad
Testing inplace navigation
Once you have saved your changes in the table, simply refresh your Web Browser and your changes are immediately applied.
Go back to your Fiori launchpad home page, and reselect the relevant tile or link to launch the classic app. The SAP GUI transaction now opens in place so there is only one tab – no additional browser window/tab is opened.
You should also find the Fiori launchpad features Me Area, Notifications, Back and Home are all available.
For support reasons, if you need to confirm the technical id of the transaction just use the About Icon in the Me Area as explained in Fiori for S/4HANA – Finding the technical Name of an app
Easy!
Watchpoints:
- If you are having problems with empty mandatory fields in a GUI transaction locking up the Fiori shell, then check your kernel version is up to date.
- The support component for the inplace navigation is CA-FLP-ABA
- For other Fiori launchpad configuration parameters, use CA-FLP-FE-COR
Addendum: How to explicitly open a specific app explace
Well there is an easy answer for this too. And it comes with your device’s web browser.
When you are on a tile or link, just use your usual web browser context menu commands to “Open Link in New Tab” or “Open Link in New Window”.
And you should find that approach generally works regardless of app type.
Addendum: Performance benefits of inplace mode
Inplace mode has a significant performance benefit for every GUI transaction launched – benchmarked at around 1.5 seconds! This saving is due to not having to rebuild the Fiori Launchpad shell in a new browser tab before opening the GUI transaction.
Further performance improvements for each GUI transaction launched can be achieved by combining inplace mode with parameter GUI NAVIGATION_GUI_STATEFUL_CONTAINER. This parameter ensures that any subsequent navigation to a GUI transaction is a little faster.
My colleague Peter Nechala gives a breakdown and some example benchmarks showing why these settings improve performance in Improve Performance via SAP Fiori launchpad configuration in SAP Fiori for SAP S/4HANA
Find out more in the Fiori Launchpad guide section Improving Navigation Performance for SAP GUI applications.
Becoming a SAP Fiori for SAP S/4HANA guru
You’ll find much more on our SAP Fiori for SAP S/4HANA wiki
Brought to you by the S/4HANA RIG
Thanks for the Update Jocelyn Dart . Inplace navigation for the legacy apps is the much awaited feature, customers will surely love the new user experience that this feature will bring and Love the One place configuration for the launchpad.. Looks similar to WD App configuration 🙂
Hi Jocelyn,
Exellent blog. Thanks.
Does opening in place make webdynpro apps resposive? for mobile devices.
Hi Abdul
Thanks for the encouragement.
Unfortunately it's not quite that simple!
If you want to make Web Dynpro ABAP apps responsive, I would suggest take a look at SAP Screen Personas - particularly these two blogs...
https://experience.sap.com/news/sap-screen-personas-3-0-sp6-runs-flavors-on-your-mobile-device/
and the latest news for Screen Personas
https://blogs.sap.com/2018/12/10/sap-screen-personas-3.0-sp08-now-available.-now-faster-and-easier-to-build-flavors/
Rgds
Jocelyn
Jocelyn,
I see your comment and suggestion for setting per user rather than all users. What if you want to set inplace navigation per app. For instance, I have one WD Pro that I'd like to open in a new tab and a different WD Pro that I would like to open in place.
These new parameters seem like the most recent WD Pro parameter in that they apply to ALL applications of that type globally.
Will these parameters work (or is there a different parameter) directly on a specific target mapping or are these parameters only setting inplace or not globally for the respective app types?
Hi Roger,
I haven't seen support for configured app navigation of that kind at the app level.
However individual users can still choose to use the regular web browser right click context menu on a tile to open it in a new tab or window, just like any regular hyperlink.
Rgds
Jocelyn
Hi Roger, I've added an addendum for you 🙂
Is there a parameter which allows the WDA app to utilize the full screen width, instead of being letterboxed?
Sorry I'm not sure what you mean Ravish? You might want to raise a question in the ABAP tag and to the SAP S/4HANA tag - maybe someone with deep Web Dynpro ABAP knowledge might have a suggestion?
Suggest you include a screenshot with your question. It's possible it may just be a normal side effect of Fiori Visual Theme, is the only thing that occurs to me.
Thank you one more time for this great post Jocelyn Dart. We have two customer using in place navigation already for both SAP GUI for HTML transactions and Web Dynpro for ABAP applications with S/4HANA 1709 FPS02. First, have realized that brand new task lists are released for Fiori Launchpad activation(OSS Note 2695653 and 2704570). After running that, a fiori catalog got created and assigned them to all fiori users. I knew that - as you mentioned - in place navigation only works for Web Dynpro for ABAP applications with S/4HANA 1709, it was something surprising for me. I guess this feature also valid for 1709, right? Or maybe for 1709 FPS02 only?
Regards,
Mehmet
Hi Jocelyn, is there such a feature for any url that is not pointing to a WDA or GUI transaction? Let’s say I have an SAPUI5 app deployed on SCP and want to add such app as a tile on S/4 on prem, for example.
Hi @edgar.pena.b ,
Did you find any solution or how to do this?
Best regards,
Ankur
Hi, sadly I didn't
Hi Edgar, SAPUI5 apps are by default in "inplace" mode. There is a parameter sap-ushell-next-navmode that can be used if you want to use a different approach than standard.
You can find this in the Fiori launchpad help at
Configuring In-Place Navigation for Classic UIs
Dear Jocelyn,
Thank you for sharing this great blog.
We are using S/4HANA 1709 SP03, SAPUI5 Version 1.52.20. Is there a way to open transactions within the same window?
This transaction (/UI2/FLP_SYS_CONF) is on S/4HANA 1709 SP03 not available.
Best regards
Daniel
Hi Daniel
You can apply the inplace option for WDA Uis but not for GUIs in 1709 SP03.
Just use one of the supported Launchpad Configuration options for 1709. Just check the info re setting launchpad configurations for your release of the SAP Fiori Launchpad guide, i.e. 7.52 SP03
https://help.sap.com/viewer/a7b390faab1140c087b8926571e942b7/7.52.3/en-US/98cb0b6355094b2e91a0e6de030cd4ea.html
Cheers
Jocelyn
Hi Jocelyn,
Thanks for the quick response.
I used the SAP Note: 2403527, which you have provided in the blog and it worked fine. Transactions are now opening in the same window.
I used the parameter (changed the WDA with GUI): (services/ClientSideTargetResolution/config/enableInPlaceForClassicUIs/GUI)
BR
Daniel
Excellent!
Hi Jocelyn,
Quick question regarding note 2403527, when this is set can we still disable opening a WebDynpro inplace?
Only for a specific WebDynpro? As this note sets the value "globally"...
Kind regards,
Robin
I need help regarding WebGUI apps in fiori. It is jlnot working over the Internet.
Hi Waqas. Sorry to hear of your troubles. Unfortunately SAP Community is not a formal support channel for complex issues such as this that can have many causes - and certainly not via blog comments. Please raise a SAP incident so that your issue can be resolved. Make sure you include exact details of your software versions including your S/4HANA version, SAPUI5 version & web browser version. If it is working on Intranet and not internet it could also relate to Web Dispatcher & network/proxy settings. Remember also that we can only guarantee GUI on desktop or laptop devices.
Good luck!
Great article! I noticed though that this only works in a web browser and not in Business Client, is there a way to force this feature in Business Client?
Hi Brett you are correct.
With Business Client the situation is a little different:
Fiori Launchpad & Fiori apps are running in a web browser then when you launch to a GUI transaction you are launching into GUI for Windows.
So you have 2 different technologies working side by side. And therefore not the same opportunities as when using GUI for HTML in a web browser.
Does that make sense?
Thank you for the quick response! It makes perfect sense, I was just hoping there was a way to use this configuration in Business Client since SAP recommends Business Client when using Fiori.
We’ve had issues where users will get a timeout error because they haven’t used a tab that got opened in Business Client when clicking on an SAPGUI for HTML app. For example lets say the auto logout parameter is set for 4 hours, because SAPGUI for HTML apps open in a separate tab Business Client see’s these tabs as separate sessions. The user hasn’t used any of the other tabs for 4 hours, they will then get errors closing these tabs because there has been no activity on them. Obviously not huge deal, its just a bad user experience and I was hoping this was going to fix the issue
Hi Brett,
Currently I'm facing the same issue and came across your comment. Have you found a solution to force this in the Business Client?
Hi Jocelyn
Besides WDA and GUI, is there any option to open URL tiles INPLACE in the Fiori Launchpad?
Thanks in advance
Manuel
Hi Manuel No I haven't heard of anyone wanting that. So probably a new idea. Worth raising as an enhancement request or join one of the SAP Customer Engagement Initiatives for User Experience just announced!
Hi Manuel
FYI there is an option you may be able to use now..
There is a parameter sap-ushell-next-navmode that can be used if you want to use a different approach than standard.
You can find this in the Fiori launchpad help at
Configuring In-Place Navigation for Classic UIs
Hello Jocelyn,
as indicated with OSS note 2403527 – Force WebGUI/WebDynpro apps to open in same window when launching from Fiori Launchpad you gave, transaction /n/UI2/FLP_CUS_CONF is available with SAP_UI component from release 753 SP00.
Therefore, the title of your blog is not relevant as it is not restricted to S/4 (On-Premise or Cloud).
Regards.
Laurent.
Yes, works perfectly with Web Dynpro on good old ERP 6 with NW 7.50 and e.g. FES 6 (2019), However the kernel team did not down port everything, so WebGUI does not manage to get around with a recent Fiori theme.
Hello Stephan,
concerning your problems with SAP GUI for HTML and depending on the release of your SAP_UI component check below SAP note:
2504011 - SAP GUI for HTML: Unified Rendering Update - Instructions and Forecasts
Regards.
Laurent.
Hi Laurent, The context and purpose of the blog is to raise awareness of new features available to those using SAP Fiori for SAP S/4HANA, where we have a fairly strict alignment between frontend and backend releases. That is my area of expertise and interest.
True some of these features may also work in SAP Fiori launchpad for Business Suite, provided you are on a high enough frontend launchpad release, and aren't restricted in some way by your backend release, but that can sometimes be complex to check, so I do not guarantee it.
Hi Jocelyn,
Thanks a lot for the article, Great Job
I was wondering if there a way to prevent a user from opening multiple tabs on the navigator when the FIORI is configured to fonction in explace navigation ? "for example 2 to 3 Tabs per user max"
Best Regards
Billel
Hi Derbal, The normal session restrictions still apply - i.e. you can limit the number of user sessions a user can run in parallel in the same system/client.
Hi Jocelyn Dart,
I have added ITS RF transaction in Fiori Launchpad using URL. Now I need it to open it inplace from RF device. Please suggest, how can I achieve it
Thanks & Regards
Joy
Hi Joy, I'm sorry but that's not part of this topic, and I have not personally dealt with launching RF transactions in that way. I can only suggest you use the Ask a Question link and tag it with SAP Fiori to see if someone else can help you.