SAP DSYS_SHOW_FOR_F1HELP Function Module for Call a hypertext for the help display (e.g. for syntax doc.)
DSYS_SHOW_FOR_F1HELP is a standard dsys show for f1help SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Call a hypertext for the help display (e.g. for syntax doc.) 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 dsys show for f1help FM, simply by entering the name DSYS_SHOW_FOR_F1HELP into the relevant SAP transaction such as SE37 or SE38.
Function Group: SH03
Program Name: SAPLSH03
Main Program: SAPLSH03
Appliation area: S
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function DSYS_SHOW_FOR_F1HELP 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 'DSYS_SHOW_FOR_F1HELP'"Call a hypertext for the help display (e.g. for syntax doc.).
EXPORTING
* APPLICATION = 'SO70' "Table DSYDS application
* CALLED_FROM_SO70 = ' ' "'X' if called from SO70. Otherwise ' '
* SHORT_TEXT = ' ' "
* APPENDIX = ' ' "
DOKCLASS = "Class of the document to be displayed
* DOKLANGU = SY-LANGU "Language in which the document is to be displayed
DOKNAME = "Name of the document to be displayed
* DOKTITLE = ' ' "Title displayed for the document
* HOMETEXT = ' ' "Return to the beginning text
* OUTLINE = ' ' "Outline to which the document belongs
* VIEWNAME = 'STANDARD' "Structure OUTLINE view name
* Z_ORIGINAL_OUTLINE = ' ' "Name of the included structure
IMPORTING
APPL = "Return to the beginning
PF03 = "
PF15 = "F15 return
PF12 = "
EXCEPTIONS
CLASS_UNKNOWN = 1 OBJECT_NOT_FOUND = 2
IMPORTING Parameters details for DSYS_SHOW_FOR_F1HELP
APPLICATION - Table DSYDS application
Data type: DSYDS-APPLDefault: 'SO70'
Optional: Yes
Call by Reference: No ( called with pass by value option)
CALLED_FROM_SO70 - 'X' if called from SO70. Otherwise ' '
Data type:Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)
SHORT_TEXT -
Data type: SY-BATCHDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
APPENDIX -
Data type: SY-BATCHDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
DOKCLASS - Class of the document to be displayed
Data type: DSYSH-DOKCLASSOptional: No
Call by Reference: No ( called with pass by value option)
DOKLANGU - Language in which the document is to be displayed
Data type: DSYSH-DOKLANGUDefault: SY-LANGU
Optional: Yes
Call by Reference: No ( called with pass by value option)
DOKNAME - Name of the document to be displayed
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
DOKTITLE - Title displayed for the document
Data type: DSYAT-CHILD_TITLDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
HOMETEXT - Return to the beginning text
Data type: DSYAT-CHILD_TITLDefault: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)
OUTLINE - Outline to which the document belongs
Data type: DSYGL-OUTLINEDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
VIEWNAME - Structure OUTLINE view name
Data type: DSYAD-VIEWNAMEDefault: 'STANDARD'
Optional: Yes
Call by Reference: No ( called with pass by value option)
Z_ORIGINAL_OUTLINE - Name of the included structure
Data type: DSYAH-OUTLINEDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for DSYS_SHOW_FOR_F1HELP
APPL - Return to the beginning
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
PF03 -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
PF15 - F15 return
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
PF12 -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
CLASS_UNKNOWN - Class unknown
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
OBJECT_NOT_FOUND - Document does not exist
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for DSYS_SHOW_FOR_F1HELP 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_appl | TYPE STRING, " | |||
| lv_application | TYPE DSYDS-APPL, " 'SO70' | |||
| lv_class_unknown | TYPE DSYDS, " | |||
| lv_called_from_so70 | TYPE DSYDS, " ' ' | |||
| lv_short_text | TYPE SY-BATCH, " SPACE | |||
| lv_appendix | TYPE SY-BATCH, " SPACE | |||
| lv_pf03 | TYPE SY, " | |||
| lv_dokclass | TYPE DSYSH-DOKCLASS, " | |||
| lv_object_not_found | TYPE DSYSH, " | |||
| lv_pf15 | TYPE DSYSH, " | |||
| lv_doklangu | TYPE DSYSH-DOKLANGU, " SY-LANGU | |||
| lv_pf12 | TYPE DSYSH, " | |||
| lv_dokname | TYPE DSYSH, " | |||
| lv_doktitle | TYPE DSYAT-CHILD_TITL, " SPACE | |||
| lv_hometext | TYPE DSYAT-CHILD_TITL, " ' ' | |||
| lv_outline | TYPE DSYGL-OUTLINE, " SPACE | |||
| lv_viewname | TYPE DSYAD-VIEWNAME, " 'STANDARD' | |||
| lv_z_original_outline | TYPE DSYAH-OUTLINE. " SPACE |
|   CALL FUNCTION 'DSYS_SHOW_FOR_F1HELP' "Call a hypertext for the help display (e.g. for syntax doc.) |
| EXPORTING | ||
| APPLICATION | = lv_application | |
| CALLED_FROM_SO70 | = lv_called_from_so70 | |
| SHORT_TEXT | = lv_short_text | |
| APPENDIX | = lv_appendix | |
| DOKCLASS | = lv_dokclass | |
| DOKLANGU | = lv_doklangu | |
| DOKNAME | = lv_dokname | |
| DOKTITLE | = lv_doktitle | |
| HOMETEXT | = lv_hometext | |
| OUTLINE | = lv_outline | |
| VIEWNAME | = lv_viewname | |
| Z_ORIGINAL_OUTLINE | = lv_z_original_outline | |
| IMPORTING | ||
| APPL | = lv_appl | |
| PF03 | = lv_pf03 | |
| PF15 | = lv_pf15 | |
| PF12 | = lv_pf12 | |
| EXCEPTIONS | ||
| CLASS_UNKNOWN = 1 | ||
| OBJECT_NOT_FOUND = 2 | ||
| . " DSYS_SHOW_FOR_F1HELP | ||
ABAP code using 7.40 inline data declarations to call FM DSYS_SHOW_FOR_F1HELP
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.| "SELECT single APPL FROM DSYDS INTO @DATA(ld_application). | ||||
| DATA(ld_application) | = 'SO70'. | |||
| DATA(ld_called_from_so70) | = ' '. | |||
| "SELECT single BATCH FROM SY INTO @DATA(ld_short_text). | ||||
| DATA(ld_short_text) | = ' '. | |||
| "SELECT single BATCH FROM SY INTO @DATA(ld_appendix). | ||||
| DATA(ld_appendix) | = ' '. | |||
| "SELECT single DOKCLASS FROM DSYSH INTO @DATA(ld_dokclass). | ||||
| "SELECT single DOKLANGU FROM DSYSH INTO @DATA(ld_doklangu). | ||||
| DATA(ld_doklangu) | = SY-LANGU. | |||
| "SELECT single CHILD_TITL FROM DSYAT INTO @DATA(ld_doktitle). | ||||
| DATA(ld_doktitle) | = ' '. | |||
| "SELECT single CHILD_TITL FROM DSYAT INTO @DATA(ld_hometext). | ||||
| DATA(ld_hometext) | = ' '. | |||
| "SELECT single OUTLINE FROM DSYGL INTO @DATA(ld_outline). | ||||
| DATA(ld_outline) | = ' '. | |||
| "SELECT single VIEWNAME FROM DSYAD INTO @DATA(ld_viewname). | ||||
| DATA(ld_viewname) | = 'STANDARD'. | |||
| "SELECT single OUTLINE FROM DSYAH INTO @DATA(ld_z_original_outline). | ||||
| DATA(ld_z_original_outline) | = ' '. | |||
Search for further information about these or an SAP related objects