Sub topic 7
Searching for apps
This chapter covers the search field in the SAP Fiori launchpad. You will learn what it searches, how results are filtered by your authorizations, how to write queries that work, and what to check when a search finds nothing.
It assumes you can log on and recognize the shell bar, home page, and spaces. It also assumes you know that roles and catalogs decide which apps a user can start. The earlier chapters on those topics cover this.
What the search field does
The search field sits in the shell bar, the strip across the top of every launchpad screen. In many releases it first appears as a magnifier icon, and you click the icon to open the input field.
Search answers one question: which apps can I start that match these words? It is useful when you know roughly what an app does but not where it is. You may have 40 tiles on the home page, or none of the apps you need may be on the home page at all. Search finds apps whether or not they have a tile on your home page, and whichever space or page they belong to.
Search has the same limit as the rest of the launchpad. It only returns apps your user is allowed to start. If an app is not assigned to any of your roles, no query will find it.
What gets matched
The launchpad searches the descriptive texts of each app's tile and navigation definition. Which texts count depends on the release and configuration, but these are the usual ones:
- The title of the tile, such as "Manage Purchase Orders".
- The subtitle, which is often a short qualifier like "Procurement".
- Keywords, which are extra search words an administrator can maintain on the tile or target mapping.
- The titles of related catalogs or groups, in some releases.
This explains most odd search results. An app can be found by a word that is not in its title because the word is a keyword. An app can also be missed because your word is not in any of those texts. The app's description inside the app itself is not searched.
Matching is not case sensitive. "purchase" and "Purchase" give the same results. Search works on words, so a partial word may or may not match depending on your release. If a short fragment returns nothing, try the full word.
purchase order
PO
invoice
manage customersAll four queries are plausible. The first matches apps with both words in their searchable texts. The second only works if an administrator added "PO" as a keyword, because apps rarely carry it in the title. Try a few different words before concluding an app is absent.
Running a search step by step
- In the shell bar, click the magnifier icon. The input field opens.
- Type at least a few characters. Suggestions appear in a dropdown below the field as you type.
- Pick a suggestion to start that app, or press Enter to open a full results page.
- On the results page, click a result tile to start the app.
The dropdown is a shortcut for the best matches. The results page lists all matches, so use it when the dropdown does not show what you expect.
Each result shows the app title and usually the subtitle. If two results look the same, the subtitle tells them apart. Two apps called "Manage Sales Orders" may differ only in the subtitle, such as "Standard" and "Archive". Reading it before you click saves a wrong turn.
The first search in a session can take a moment longer than later ones. The launchpad may need to load the list of your apps before it can match against it. If the first search seems empty or slow, wait a couple of seconds and search again.
How search relates to authorization
The launchpad builds the searchable app list from the same catalogs that determine your tiles. The path looks like this:
- A business role is assigned to your user.
- The role references one or more catalogs.
- Each catalog contains tiles and target mappings, which are the links from an intent to an app.
- Spaces and pages, if used, show a selection of those apps.
- Search can reach every app in your catalogs, not only those on your visible pages.
The consequence is that search is a good test of whether an app is assigned to you. If the app is in your catalogs, search should find it, provided the words match. If search never finds it, and the App Finder does not list it either, the problem is almost certainly the role assignment and not your search words.
Searching for apps versus searching for data
Some systems also have enterprise search. This is a separate feature, set up by administrators, that searches business data such as customers, documents, or materials, not only apps. When it is active, the search field gets a scope selector, typically a dropdown beside the input, with choices such as "All", "Apps", and one or more business object types.
| Scope | What it searches | When to use it |
|---|---|---|
| Apps | Tiles and apps you may start | You want to open an application |
| Business objects | Records such as customers or documents | You want to find a specific record |
| All | Both of the above | You are unsure which you need |
If you see no scope selector, your system only searches apps. That is the normal case and not a fault. If you do see one and your results look wrong, check the selected scope first. A search scoped to a business object type will not return apps, and an app search will not return records.
Enterprise search needs its own setup and its own authorizations. Not every user who can search apps can search business data, so a colleague may see results you do not. That difference does not mean your app search is broken.
Writing better queries
A few habits give better results.
- Search with the business term first, not the technical name. Try "purchase order" before a transaction code.
- Use short, distinctive words. Long phrases can fail if the words do not appear together in the searchable texts.
- Try singular and plural forms if the first attempt fails, for example "invoice" and "invoices".
- Try synonyms the business uses. Your organization may say "requisition" where the app title says "purchase request".
- Check the language. Titles are shown in your logon language. If you logged on in German, search for "Bestellung", not "order". The
sap-languageparameter in the launchpad URL, covered in the logon chapter, controls this.
The last point catches many users. An app can exist but be searched under a different word because the texts are translated. If you switch language at logon, search with words from that language. Not every text is always translated, so an English keyword can also remain on an app shown in another language.
Common errors and their causes
| Symptom | Likely cause | What to try |
|---|---|---|
| No results for a word you are sure exists | The word is not in the title, subtitle, or keywords | Try a synonym or a shorter word |
| App found by a colleague but not by you | Different role assignment | Compare in the App Finder, then ask an administrator |
| Results in the wrong language | Logon language differs from the one you expected | Check the language in your logon and settings |
| Only business data, no apps | Search scope set to a business object | Change the scope to Apps or All |
| First search returns nothing, second works | App list was still loading | Wait and search again |
| Search field missing | Not shown on this screen, or hidden in this release or configuration | Look for the magnifier icon, or check with the administrator |
Notice what search cannot tell you. If a query returns nothing, search does not say whether the app is absent from your roles or whether your words are wrong. You have to separate those two causes yourself. A good way is to move from search to the App Finder, which lists apps by catalog without needing a matching word. If the app is there, the problem was your query. If it is not, the problem is your authorization.
When search is the wrong tool
Search is quick, but it is not always the best way to start an app.
- For apps you use every day, a tile on the home page is faster, because it takes one click and no typing.
- For browsing, to see what you have in an area, use the App Finder or a space and page. A search needs you to name something first.
- For a known app in a known place, you can use a direct URL with an intent, which a later chapter covers.
Think of search as the way to find an app when you can describe it but cannot locate it. Once you have found it, you can put it on your home page so you do not need to search again.
Putting it together
Suppose you need to approve vacation requests and the home page has no obvious tile. A sensible sequence looks like this.
- Open search and type "leave". The system may call the app "Time Off" or "Absence", so you may get nothing.
- Try "absence", then "approve". Results appear, including "Approve Leave Requests", with the subtitle "Human Resources".
- Start the app from the result. It opens under its own intent, a semantic object and action in the URL hash, as described in the earlier chapter on URLs.
- If nothing matched at all, open the App Finder and browse the catalog for HR apps, then compare with a colleague's list.
The point of this routine is to isolate where the failure is. The first step tests your wording. The last step tests your roles.
Exercise
You search for "purchase order" and get no results, but a colleague with the same job finds "Manage Purchase Orders". Name two possible causes on your side, and say how you can tell them apart.
Show answer
One cause is that your wording or language differs from the app's searchable texts, for example you logged on in another language, or the app is only findable by a keyword. The other is that the app's catalog is not assigned to any of your roles. To tell them apart, open the App Finder and look for the app in the catalog list. If it is listed there, the problem was your query or language, so try other words or check your logon language. If it is not listed, the app is not assigned to you, and an administrator needs to add the right role or catalog.
Exercise
Your search field shows a scope selector with the options "All", "Apps", and "Customers". You type a product name and see only customer records. What do you change, and why?
Show answer
Change the scope to "Apps" (or "All"). The selected scope was limited to the Customers business object type, so the search looked at records and not at apps. This is expected behavior from enterprise search and not a missing role.