Sub topic 11
Opening apps directly by URL and intent
This chapter assumes you can already log on to the launchpad and start apps from tiles, search, or the App Finder. It also assumes you know that roles and catalogs control which apps you can use. Here you will learn how a launchpad URL is built, what an intent is, and how to open an app straight from the address bar.
Why open an app by URL
Most people start apps from tiles. A direct URL is useful when you want to:
- Bookmark an app you use often.
- Send a colleague a link to a specific app or to specific data in it.
- Reopen an app after your session timed out.
- Test whether an app is assigned to you, without browsing the launchpad.
Anatomy of a launchpad URL
A launchpad URL has two main parts. The part before the # is the address of the launchpad. The part after the # is the navigation target, called the hash.
https://<host>:<port>/sap/bc/ui2/flp?sap-client=<client>&sap-language=ENThe query parameters after the ? are optional:
sap-clientselects the client on the ABAP front-end server.sap-languageselects the logon language.
Your administrator provides the actual host, port, and client.
Now add the hash:
https://<host>:<port>/sap/bc/ui2/flp#Shell-homeShell-home is a navigation intent. It opens the launchpad home page.
What an intent is
An intent describes what you want to do, not which program does it. It has two required parts, joined by a hyphen:
- The semantic object is the business thing you work with, such as a sales order or a supplier.
- The action is what you want to do with it, such as
displayormanage.
The form is SemanticObject-action. In Shell-home, the semantic object is Shell and the action is home.
The launchpad looks up this pair in your roles. It finds the app assigned to that pair and starts it. This is why the same intent can open different apps for different users, or fail for a user who has no matching assignment.
An intent can also carry parameters after a ? inside the hash. The app can read them, for example to open a specific document:
https://<host>:<port>/sap/bc/ui2/flp#SalesOrder-display?SalesOrder=<number>The semantic object SalesOrder and the parameter name here are placeholders. Real names depend on the app, so copy them from a working link rather than guessing.
How the launchpad resolves an intent
If you have no session, the logon page appears first. After you sign in, the launchpad continues to the intent you requested.
Getting a working link
You do not have to build intents by hand. A reliable way to find one:
- Open the app from its tile or from the App Finder.
- Look at the browser address bar. Everything after the
#is the intent, including parameters. - Copy the full URL and save it as a bookmark.
Many launchpads also offer a way to save or share the current app as a link from the user actions menu. The exact options depend on your release and configuration.
Common errors
| Symptom | Likely cause | What to do |
|---|---|---|
| Message that navigation to the intent is not supported | None of your roles contains a target for that semantic object and action | Check the spelling, then ask your administrator whether the role is assigned |
| Logon page in the wrong language | `sap-language` is missing or wrong | Add `sap-language=EN` or your language code |
| Wrong client or no logon possible | `sap-client` is missing or wrong | Use the client your administrator gave you |
| App opens but shows no data | An intent parameter is missing or has an invalid value | Compare with a working link from the tile |
| Link works for a colleague but not for you | Different role assignments | Treat it like a missing app and follow the troubleshooting steps for roles and catalogs |
Exercises
Exercise
In the URL https://<host>:<port>/sap/bc/ui2/flp#Shell-home, which part is the semantic object, which is the action, and what does the intent do?
Show answer
The semantic object is Shell and the action is home. The intent opens the launchpad home page.
Exercise
A colleague sends you a link with an intent hash. When you open it after logging on, you get a message that navigation is not supported. What is the most likely cause, and who can fix it?
Show answer
Your roles do not contain a target mapping for that semantic object and action, so the launchpad cannot find an app to start. An administrator needs to assign the role or catalog that contains the app. The link itself is probably fine.