Supply Chain Management Blogs by SAP
Expand your SAP SCM knowledge and stay informed about supply chain management technology and solutions with blog posts by SAP. Follow and stay connected.
cancel
Showing results for 
Search instead for 
Did you mean: 
bernd_dittrich
Active Participant


This posting is about how to activate the TM quicksearch, a nice way to access TM transactional documents directly from the NWBC search bar.

Basically it looks like this, enter a search string in the NWBC search bar, get a result list instantaneously:



If you are interested in the functionality, you may check TMP033 ( http://podcast.tm-podcast.com/tmp033-tm-quicksearch/ ), the podcast episode about the topic.

Now, how to activate the TM Quicksearch for you:

1. Install note 2260864 which is available from 9.1 onwards and comes with the required classes

2. Check and/or activate the SICF service:

To make the search classes available they must be accessible as a service. This is done in transaction SICF. The path is sap->bc. In there add a service      named tm_quick_search. The only tab where you need to maintain something is the handler list, in there enter the      class /SCMTMS/CL_QUICK_SEARCHPROVIDE. It should look something like this:



3. Activate the service

4. Enter the Search provider URL: The easiest way to test the service is to enter the search provider explicitely in the NWBC search provider list. This can be done from the NWBC menu:



The URL is composed as follows:

  First part:

Your system url and port (you can get this from options->settings->connections in the NWBC menu)

Important: Define the connection as an https connection, so you are on the save side for both functionality (non-https-connection are not working) as well as                          Transport Layer Security :->)

Second part:

/sap/bc/tm_quick_search?type=OpenSearchDescription

Third part:

Optionally you can add some parameters like restriction to a certain search class, here is the list of the currently available parameters:

 

































Parameter Comment
&stopathit=X If one of the queries found at least one hit, the search is stopped and no other queries are executed -> Recommended for performance optimization
&minimumletters=n n stands for the minimum characters that must be entered before the query is really executed, e.g. &minimumletters=6 means, if the string entered in the search bar has less than 6 characters, the search is not done
&docflow=X Activates the inline document flow -> negarive performance impact, of course, but enables faster navigation if the target of navigation is not the found focument but e.g. a follow-up document of it
&class=classname1,classname2 Defines the class names or class-shortcuts to be used in the search, a list of classes/class shortcuts and the respective usage can be found below, example would be &class=TRQR,TRQ,CFIR to search for TRQ by ID and reference(defined by TRQR and TRQ) and for CFIR(defined by CFIR)

 

Here is the list of classes with the respective shortcuts and explanations, if nothing is defined for the class-attribute,all default classes are used:





















































Class name Class shortcut Explanation Active by default
/SCMTMS/CL_QUICK_SEARCH_TRQREF TRQR Search for TRQ based on Reference ID from document reference node, not active by default
/SCMTMS/CL_QUICK_SEARCH_TRQ TRQ Search for TRQ by ID or BASE_BTD_ID X
/SCMTMS/CL_QUICK_SEARCH_TOR TOR Generic Search For TOR documents by ID X
/SCMTMS/CL_QUICK_SEARCH_CFIR CFIR Search for CFIR by ID X
/SCMTMS/CL_QUICK_SEARCH_SFIR SFIR Search for SFIR by ID X
/SCMTMS/CL_QUICK_SEARCH_OCEAN OCEAN Search for Ocean bookings by Vessel ID or container ID X
/SCMTMS/CL_QUICK_SEARCH_AIR AIR Search for Air Bookings by ULD-ID X

With this, you are done and can use the TM Quicksearch!

4b) You can also integrate the TM quicksearch in the PFCG-role, the required steps are described here

14 Comments