Application Development Blog Posts
Learn and share on deeper, cross technology development topics such as integration and connectivity, automation, cloud extensibility, developing at scale, and security.
cancel
Showing results for 
Search instead for 
Did you mean: 
horst_keller
Product and Topic Expert
Product and Topic Expert
The ABAP Keyword Documentation is what appears when you hit F1 on ABAP statements in the ABAP Editor in SAP GUI (SE80, SE38, SE24, ...) or in ADT. Hitting F1 triggers a search. The ABAP Keyword Documentation framework analyzes the context of the current cursor position and tries to find the most appropriate document(s). That works rather good for ABAP keywords. It is a bit less reliable in expressions.

The basis of the search is an index table that is generated from keywords attached to the documentation topics. E.g., if you use F1 on DO, there is an entry like "DO, ABAP Statement" in that table and the context sensitive search will recognize that the cursor is placed on the first word of the statement and will directly call the respective document.

If you are not content with the search result (e.g. for an expression) or you want to search further, you can enter search items in an input field of the documentation display.

SAP GUI:



Note the two buttons. The second allows to switch to a full text search or a search in the source codes of the example library. A full text search can also be achieved by using double quotes in the input field.

Eclipse:



Here, the full text search can be invoked by using double quotes in the input field only.

As long as no full text search is invoked, the search then analyzes

  • The above mentioned keyword index

  • A subject list (a database table that maps subjects to documents, as e.g., "ABAP Dictionary", "CDS", "ABAP Objects", ...)

  • The headers of the ABAP Example Library

  • The ABAP Glossary (a list of ABAP terms with declarations)


A search result accordingly can look as follows (here in ADT):



In SAP GUI, you can additionally search the ABAP Keyword Documentation by calling transaction ABAPHELP or select the blue i-Button in the ABAP Editor. Furthermore, the web version of the ABAP Keyword Documentation (used by ADT internally) that can be called with program ABAP_DOCU_WEB_VERSION also offers an input field.

What about the portal version?

As described in a recent blog there are also snapshots of the ABAP Keyword Documentation available for usage without connection to an ABAP server, e.g.

https://help.sap.com/http.svc/rc/abapdocu_751_index_htm/7.51/en-US/index.htm

And since those are only HTML files, there is no ABAP-based search behind. And that's why there is no input field for search terms in that version. One might think about doing something in JS but that will take its time (any recommendations are welcome).

But for the time being there is a workaround. The above mentioned search resources

  • keyword index

  • subject list

  • example list

  • glossary


are all available as HTML files (the HTML is generated from the search resources). These are shown in all versions of the ABAP Keyword Documentation and especially also in the portal version:



You can use these files for searching. E.g., if you want to search the documentation for a keyword, say "UNION", open the ABAP Index, scroll through the alphabetical list or use your Browser's Ctrl+F and find all respective keywords:



Not that bad, or?

 

PS: From release 7.52 on, the portal version of the ABAP Keyword Documentation also offers a built-i...

 

 

 

 

 
5 Comments
jeff_lu2
Participant
0 Kudos
that's awesome .
douglas_linkup
Explorer
0 Kudos
The search through HTML is interesting. Good to know.

 
0 Kudos
Not that bad, or?

It's pretty bad to not be able to search in online documentation in 2017 without breaking out Google.
horst_keller
Product and Topic Expert
Product and Topic Expert
Well, it is not the online documentation, but the offline version offered as an additional service. As said above, the online versions have a search.

B.t.w., I found a solution and there will be the possibility to search the next offline version too.
Ruthiel
Product and Topic Expert
Product and Topic Expert
0 Kudos
Amazing content!
Labels in this area