Technical Articles
Enhanced Search for command field in SAP GUI for Windows 8.00 PL4
Hello Community,
the shipment of SAP GUI for Windows 8.00 took place quite a while ago already (see also this blog), but there was still one major new feature that we wanted to offer our users within this release. Since we wanted to deliver a feature which really meets all expectations and requirements, we took all the time we needed to reach this state. And it turned out that what may look simple at first glance is incredibly complex.
But now, with the release of patchlevel 4, this new feature is finally available, and we can proudly announce:
The Enhanced Search for the command field (OK code field)
Activation
The options are very similar to the options for the Enhanced Search for regular input fields:
- Show Enhanced Search automatically: The feature is active, and the Enhanced Search will be displayed upon entering text in the command field if all technical prerequisites are met (see below)
- Show Enhanced Search on demand: The feature is active, and the Enhanced Search will be displayed when using CTRL + SHIFT + Q after entering text in the command field if all technical prerequisites are met (see below)
- Do not show Enhanced Search (default in SAP GUI for Windows 8.00): The feature is deactivated.
Usage
You see that the functionality searches for the respective term in both transaction codes and the transaction description (as can be seen also in transaction SE93).
You can select a hit from both the history list at the top as well as the Enhanced Search list at the bottom.
To further improve the user experience, we have added commands for directly executing a transaction from the Enhanced Search:
- Single-click takes over the transaction code into the command field
- Double-click executes the transaction directly
- ENTER on a selected transaction takes over the transaction code into the command field
- CTRL + ENTER on a selected transaction executes the transaction directly
Since the command field allows much more than just starting transactions, we have implemented a logic to differentiate commands from transactions:
Input starts with characters | Effect on Enhanced Search |
. | No Enhanced Search is triggered, because SAP GUI assumes this to be a “Fastpath”. A “Fastpath” is the direct execution of a functionality being available in the main menu. |
/o | No Enhanced Search is triggered unless at least two further characters are entered. In this case the search is started for those additional characters, because SAP GUI assumes /o is intended as a command to open the respective transaction in a new SAP GUI window. As soon as a second “/” and at least one more character has been entered, the Enhanced Search is triggered, because in this case SAP GUI assumes that a name space transaction of a name space starting with “o” is meant. |
/n | No Enhanced Search is triggered unless at least two further characters are entered. In this case the search is started for those additional characters, because SAP GUI assumes /n is intended as a command. As soon as a second “/” and at least one more character has been entered, the Enhanced Search is triggered, because in this case SAP GUI assumes that a name space transaction of a name space starting with “n” is meant. |
/, but not /n or /o | No Enhanced Search is triggered, because one of the commands from SAP Note 26171 is expected (for example /h for debugging or /i1 for ending the first session). |
If you start your entry with /n or /o the Enhanced Search will respect this and remote the prefix from the search. For example, you could type /oabap, then execute the transaction and will get the respective transaction in a new window.
The whole idea of the feature is not to cause disruption, but rather a seamless integration into the existing features to make life easier for users who always had to maintain lists of transaction codes, because transaction codes sometimes seem to be rather cryptic.
Call for action
We are really looking forward to your feedback. We have invested quite some effort into this feature and want to offer the best possible functionality in the most user-friendly way. And this is only possible with active feedback – be it positive or negative.
Further information
- Technical Prerequisites
The present version of the feature (see also “Outlook” below) requires changes in two different components:
-
- SAP GUI for Windows: Release 8.00 patchlevel 4 (or higher)
- SAP_BASIS: Release 7.55 (or higher)
- Outlook
In patchlevel 5 of SAP GUI for Windows 8.00 we are planning to activate the “See all search results” feature. This is a feature already known from the regular Enhanced Search and allows to further refine the search for transaction codes in case many hits were found. Picking up the example from above again, it would look like this:
The “See all search results” link opens a dialog box that you can use to refine the search and finally take over exactly the transaction code that you need. However, this functionality requires further changes in SAP GUI for Windows, SAP_BASIS and also SAP Kernel. More information will be published here and in the SAP Note mentioned below.
-
Links
- Documentation: https://help.sap.com/docs/sap_gui_for_windows/63bd20104af84112973ad59590645513/da4df0d84e6e4396957a60acde6bff80.html
- Information on how special OK codes are handled: SAP Note 3358285
- Information on technical prerequisites: SAP Note 3354415
I found out about this by chance this morning when reading the release notes for the SAP GUI and I was all fired up.... until I got to the 7.55 minimum version 🙁
Alas, I guess this requires backend support just as if it were a Fiori app, right?
Hello Andrea,
yes, the requirement for SAP_BASIS 7.55 limits this to a certain degree.
But this has nothing to do with Fiori apps.
The point is that a functionality at the server side is needed to handle typeahead input from the command field. This is unlike the regular enhanced search for input fields, because the command field does not have a handler for F4.
The respective functionality at the server side was implemented only as of SAP_BASIS 7.55.
Best regards,
Frank
Hello Frank, thanks for the explanation. My comparison with Fiori was a crude way to say that it requires backend support, which you confirmed.
I LOVE IT
I would LOVE MORE... if we have it to open reports (se38) and functions (se37).. as well the ability to enhance the seach!