Skip to Content
Author's profile photo Veselina Peykova

SAP Community navigation for nerdy people Part I: SAP Search

Disclaimer:

If you generally struggle with basic web navigation, if you have troubles locating Google search, or if you suffer from a severe FOSS allergy, I encourage you to close this browser tab immediately – this blog is not meant for you. You will gain no other value from it, but mild entertainment at best: please go back to watching cat videos on Youtube – funny cats.

OK, I warned you, you didn’t care.

I am willing to share a few tips how you can make the new site experience a little bit more bearable.

  1. Search by tag (questions and blogs) in the new site.
  2. Search by former forum space in the archive.
  3. Mystery Meat – view the exact date and time in Coffee Corner.
  4. Create a direct link to a specific answer in SAP Answers.
  5. Create a direct link to a specific comment in SAP Answers
  6. More Mystery Meat – create a direct link to a comment in blogs
  7. Access your favorite places (bookmarks are gone)
  8. Get easy access to SAP search from anywhere
  9. How to change the page look and feel

Yeah, yeah… I know… we can’t search by tag here, you have to use the Custom Google Search (CGS), it is so much better.

With all due respect, I can’t fully agree – it all depends how your mind works, when you search for information. CGS and any other popular search engine work like that: you enter search terms, add a few parameters, press Search and you get a list of results. You get some limited sorting by date and relevance (I agree, Google has way more sophisticated algorithms for that; in general, you get better sorting by relevance), and a few filters by date range, content type and region, but basically you are stuck with your initial result set – if you want something better, you need to change your search criteria and search again.

If you are not familiar with the keywords for your favorite search engine here are a few links:

Google: http://www.googleguide.com/advanced_operators_reference.html

DuckDuckGo: https://duck.co/help/results/syntax

SAP search works in a slightly different way: you enter search terms and get the result list, then you can use the filters on the right (which change items dynamically) to drill-down, until you find what you are looking for. Both options are useful, I have been alternating between these two ever since I registered in SCN.

So… How do you search by tag in SAP Search?

Not easily, of course. You need:

Open the Excel file – there are a few hidden columns. Un-hide column J (Term ID). This is the technical ID of the tags, which you are already familiar with. We don’t need the click-able links for this exercise.

Let’s say, I am searching for taxinn in questions, but I only need the results in SD (Sales and Distribution).

I am using a custom search engine in Pale Moon. I type taxinn in the search bar and I get the following:

https://onedx.find.sap.com/s#t=taxinn&n=1&p=default&repo=srh

Discouraging, isn’t it? Not really – select the filter by type Question: the URL changes to:

https://onedx.find.sap.com/s#t=taxinn&n=1&p=default&repo=srh&f=TYPE:question

Now, how we get only the results with tag SD?

The technical ID for this tag is 209057551571413566377230676804921.

In the URL you need to add: +SM_TECH_IDS:209057551571413566377230676804921

You get the following: https://onedx.find.sap.com/s#t=taxinn&n=1&p=default&repo=srh&f=TYPE:question+SM_TECH_IDS:209057551571413566377230676804921

So what? I can do that with Google…

Yes, you can. Filtering by a single tag or content type is not that useful. The cool part is, that you can use AND in filtering. You apply AND in filters by using ~.

Let’s go back to the previous URL: https://onedx.find.sap.com/s#t=taxinn&n=1&p=default&repo=srh&f=TYPE:question and add one more tag as criteria – SAP Tax Classification and Reporting 67837800100800005967.

Our URL becomes:

https://onedx.find.sap.com/s#t=taxinn&n=1&p=default&repo=srh&f=TYPE:question+SM_TECH_IDS:209057551571413566377230676804921~67837800100800005967

You need to be careful and select a tag, which is set as Primary and Secondary in the Excel. For example, SAP Tax Classification and Reporting has two tagIDs: 67837800100800005967 (primary and secondary) and 73554900100700001208 (displayed, but not selectable). The second one will not work.

You can use a similar approach to select multiple content types, industries or language filters.

When you need to search with multiple filters – e.g. content type and tag, you use + between these two to indicate that. When you search with different filter criteria for a certain filter (question and blog), you need to use ~.

I will use a dummy search to illustrate that – simply because we don’t have much data yet:

This is how you search for test.

https://onedx.find.sap.com/s#t=test&n=1&p=default&repo=srh

If you wish to see only results in Spanish and Portuguese, the result will be:

https://onedx.find.sap.com/s#t=test&n=1&p=default&repo=srh&f=LANGUAGE:spanish~portuguese

I speak none of these languages, but the results look promising.

I might be able to understand content in English and German, but I will leave out Spanish and Portuguese (this could be useful if you look for localization topics). Unfortunately, the language is not always correctly set in the new search – a real shame, I hope SAP will fix that at some point. Until then, I would use filtering by tag, content type and date range by modified (a really nice feature, I wish there were a working option for created on as well).

These are not completely reliable either, but nothing really is – in the new site.

All good and well, but how do we search in the archive?

Update: this trick does not work anymore, because SAP retired https://find.sap.com/ .

If anybody knows of a reliable method to search in the archive by former space, please share it in the comments and I will update the blog.

Things become more interesting here – I mentioned, that I use custom search engines in my browser. So far, I used one of these – for https://onedx.find.sap.com/ with repository SRH.

I have another one, which I created long before the migration – it is for https://find.sap.com/, but has additional filters for forum space. I have absolutely no idea why SAP decided to hide this one and redirect all SCN searches to return results with less options. Anyway, the good news is – it still works! This search is not aware of the new site, so there is no way to get results from questions and use tags. You see the URLs pointing to scn.sap.com, but because redirect is working – you get to the corresponding archived thread.

Example:

I will search for ‘tag cloud’: https://find.sap.com/s#n=1&t=%22tag%20cloud%22&p=scn&repo=srh

Now I can easily see in which spaces this term is used. I want just the results from SCN Open Beta:

You get also a list of authors – this is how I found Jeremy’s feedback in Open Beta recently.

Click on the first link and you will navigate to the archived thread:

Guess what – we started asking for that in May (thank you, Christoph!).

A hint: if you want to get the list of all your discussions in the old SCN (which were migrated, you are probably aware that discussions with no replies were excluded from migration), search with criteria your name, then filter by type Discussion and by Author.

The same functionality for applying filters (+, ~) is valid here as well.

I cannot guarantee that the functionality will be available in the future – I have no insight of how this project will evolve – the team might decide to switch it off completely or change the functionality behind.

SAP search has some nice features and can be really powerful, if indexing is done correctly and if the SAP team decides to invest more time to develop it further (a small change in the design will be more than welcome – there is a limitation on the number of filter items, which you see on the right).

How did I learn all of these? No, I am not super smart – I read the API documentation from here:

This blog became too big now, stay tuned for the next one in the series, which will introduce you to Mystery Meat.

Edit:

Helmut Tammen started a project – a FIORI app, which helps you find tags pages by name easily: https://detammenitsapcommunitytags-p001984trial.dispatcher.hanatrial.ondemand.com/index.html?hc_reset
This can help you get rid of the Excel file completely and even build your own SAP Community search in a mobile-friendly application. If you are a FIORI enthusiast and you are willing to contribute, you can find more information here: SAP Community Tags: UI5 application

Assigned Tags

      15 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Helmut Tammen
      Helmut Tammen

      Hi Veselina,
      for finding the community tags I wrote a little UI5 app that displays all tags and enables searching. Have a look at this blog for more details.
      Maybe you want to mention it in your blog?
      Regards Helmut
       

      Author's profile photo Veselina Peykova
      Veselina Peykova
      Blog Post Author

      Is this the latest app version link?
      I am making use of tagID values in the excel file, which I did not see in your app.
      Are you planning a new version, which will show this column?
      I was thinking to do something similar in Greasemonkey and generate the search URL instead of typing part of it manually, unfortunately this will take me some time  - I am still learning how to write good scripts.

      Author's profile photo Helmut Tammen
      Helmut Tammen

      the links weren't in the Excel-Sheet I downloaded some days ago. Have to update the app but don't know when I will find time. If you want to and have time you can fork the project and add the link functionality.

      Author's profile photo Veselina Peykova
      Veselina Peykova
      Blog Post Author

      Done, I added it.
      Let's hope that it will gain popularity.
      Unfortunately, I am not much of a developer, I can only spoil it. 🙂

      Author's profile photo Helmut Tammen
      Helmut Tammen

      Thanks, I've already changed the source code so that users can jump to the link directly.  But I won't be able to deploy it before monday (it's weekend and I don't have access to my computer 🙂  )

      Author's profile photo Helmut Tammen
      Helmut Tammen

      Just managed to update the app from my tablet 🙂 .
      It's now deployed to HCP, so it has got a new URL.
      https://detammenitsapcommunitytags-p001984trial.dispatcher.hanatrial.ondemand.com/index.html?hc_reset
      See my blog for details

      Author's profile photo Veselina Peykova
      Veselina Peykova
      Blog Post Author

      I updated the link to your app and I tried it in Firefox - it looks great!
      Thank you, Helmut, for helping build a better SAP Community.
      If any member of the SAP team reads this - can we get the app link featured in Getting started (Finding and following tags section), please?
       

      Author's profile photo Jeremy Good
      Jeremy Good

      Veselina - good to see the level of detail you showcased during the open beta is still as strong as ever.  Your customer project specs and as-built documentation must be amazing 🙂  I have been known to hack a URL or two in the past, but am still hopeful that we very soon see the ability to filter and drill down into search results with a tag cloud, checkboxes, and multi-select lists (and as you pointed out, some of this feedback was provided several months ago).  Part of the strength of the old SCN was the ability to find and learn about a product or solution, and quite often people used it as a learning vehicle for troubleshooting and discovery, which often meant that the fully prepared search string or terms was not known in advance.

      Author's profile photo Steffi Warnecke
      Steffi Warnecke

      Read "Mystery Meat" and "Coffee Corner" and thought this was a blog for me, but when the really interesting stuff was about to start (searches, pff)... cliffhanger!

      I feel click baited! Going to watch cat videos now.

      Author's profile photo Veselina Peykova
      Veselina Peykova
      Blog Post Author

      Give me a few more minutes - the Mystery Meat blog is ready, the blog editor is killing me (I think I will need to switch to text view from time to time to complete it) - the default one is definitely not a WYSIWYG.
       

      Author's profile photo Matt Fraser
      Matt Fraser

      This is definitely what I found, too. WYSINWYG!
       

      Author's profile photo Denis Konovalov
      Denis Konovalov

      Amazing thing is that most new blogs are now on how to hack or workaround the new platform....
       

      Author's profile photo Jelena Perfiljeva
      Jelena Perfiljeva

      Veselina, I can only commend your dedication and amazing skill set! I really wish though that the "world class" environment would work even for us, laptop-chained simpletons here. But for now I'll scroll all the way up to like this (I'm Nr 2). 🙂

      Author's profile photo Michelle Crapo
      Michelle Crapo

      This is my third blog of yours.   Very nice information.   I'll follow your hacks to get around here.  I'm going to actively try to get people back onto the SAP site.  I'll be sending them your way.

      Author's profile photo Veselina Peykova
      Veselina Peykova
      Blog Post Author

      Thank you.

      Without these tricks and a custom CSS I am not sure that I would have managed past the go-live.

      Unfortunately, the archive search trick does not work anymore, because they retired the old search engine.

      Your post reminded me to update the blog in the unlikely case that someone stumbles upon it (content discovery has not improved significantly since October).