SAP ABAP_DOCU_SHOW Function Module for Display ABAP Keyword Documentation
ABAP_DOCU_SHOW is a standard abap docu show SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Display ABAP Keyword Documentation processing and below is the pattern details for this FM, showing its interface including any import and export parameters, exceptions etc. there is also a full "cut and paste" ABAP pattern code example, along with implementation ABAP coding, documentation and contribution comments specific to this or related objects.
See here to view full function module documentation and code listing for abap docu show FM, simply by entering the name ABAP_DOCU_SHOW into the relevant SAP transaction such as SE37 or SE38.
Function Group: ABAP_DOCU
Program Name: SAPLABAP_DOCU
Main Program: SAPLABAP_DOCU
Appliation area:
Release date: 06-Mar-2000
Mode(Normal, Remote etc): Normal Function Module
Update:

Function ABAP_DOCU_SHOW pattern details
In-order to call this FM within your sap programs, simply using the below ABAP pattern details to trigger the function call...or see the full ABAP code listing at the end of this article. You can simply cut and paste this code into your ABAP progrom as it is, including variable declarations.CALL FUNCTION 'ABAP_DOCU_SHOW'"Display ABAP Keyword Documentation.
EXPORTING
* AREA = 'ABEN' "Documentation Area
* NAME = 'ABAP' "Document Name
* LANGU = SY-LANGU "Language
* ANCHOR = "Internal Text Mark for Direct Control
* SEARCHED = "Search Terms for Full Text Search
* SEARCH_MODE = "I, F for Index, Full Ttext
* SEARCH_WORD = "Search argument
IMPORTING
DOCU_CONTAINER = "Reference to Control
IMPORTING Parameters details for ABAP_DOCU_SHOW
AREA - Documentation Area
Data type: CDefault: 'ABEN'
Optional: Yes
Call by Reference: Yes
NAME - Document Name
Data type: CDefault: 'ABAP'
Optional: Yes
Call by Reference: Yes
LANGU - Language
Data type: SYST-LANGUDefault: SY-LANGU
Optional: Yes
Call by Reference: Yes
ANCHOR - Internal Text Mark for Direct Control
Data type: COptional: Yes
Call by Reference: Yes
SEARCHED - Search Terms for Full Text Search
Data type: STANDARD TABLEOptional: Yes
Call by Reference: Yes
SEARCH_MODE - I, F for Index, Full Ttext
Data type: COptional: Yes
Call by Reference: Yes
SEARCH_WORD - Search argument
Data type: CSEQUENCEOptional: Yes
Call by Reference: Yes
EXPORTING Parameters details for ABAP_DOCU_SHOW
DOCU_CONTAINER - Reference to Control
Data type: CL_GUI_CONTROLOptional: No
Call by Reference: Yes
Copy and paste ABAP code example for ABAP_DOCU_SHOW Function Module
The ABAP code below is a full code listing to execute function module POPUP_TO_CONFIRM including all data declarations. The code uses the original data declarations rather than the latest in-line data DECLARATION SYNTAX but I have included an ABAP code snippet at the end to show how declarations would look using the newer method of declaring data variables on the fly. This will allow you to compare and fully understand the new inline method. Please note some of the newer syntax such as the @DATA is not available until a later 4.70 service pack (SP8), which i why i have stuck to the origianl for this example.DATA: | ||||
lv_area | TYPE C, " 'ABEN' | |||
lv_docu_container | TYPE CL_GUI_CONTROL, " | |||
lv_name | TYPE C, " 'ABAP' | |||
lv_langu | TYPE SYST-LANGU, " SY-LANGU | |||
lv_anchor | TYPE C, " | |||
lv_searched | TYPE STANDARD TABLE, " | |||
lv_search_mode | TYPE C, " | |||
lv_search_word | TYPE CSEQUENCE. " |
  CALL FUNCTION 'ABAP_DOCU_SHOW' "Display ABAP Keyword Documentation |
EXPORTING | ||
AREA | = lv_area | |
NAME | = lv_name | |
LANGU | = lv_langu | |
ANCHOR | = lv_anchor | |
SEARCHED | = lv_searched | |
SEARCH_MODE | = lv_search_mode | |
SEARCH_WORD | = lv_search_word | |
IMPORTING | ||
DOCU_CONTAINER | = lv_docu_container | |
. " ABAP_DOCU_SHOW |
ABAP code using 7.40 inline data declarations to call FM ABAP_DOCU_SHOW
The below ABAP code uses the newer in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. Please note some of the newer syntax below, such as the @DATA is not available until 4.70 EHP 8.DATA(ld_area) | = 'ABEN'. | |||
DATA(ld_name) | = 'ABAP'. | |||
"SELECT single LANGU FROM SYST INTO @DATA(ld_langu). | ||||
DATA(ld_langu) | = SY-LANGU. | |||
Search for further information about these or an SAP related objects