SAP HELP_DOCULINES_SHOW Function Module for
HELP_DOCULINES_SHOW is a standard help doculines show SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used to perform a specific ABAP function and below is the pattern details, 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 help doculines show FM, simply by entering the name HELP_DOCULINES_SHOW into the relevant SAP transaction such as SE37 or SE38.
Function Group: SHL2
Program Name: SAPLSHL2
Main Program: SAPLSHL2
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:
Function HELP_DOCULINES_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 'HELP_DOCULINES_SHOW'".
EXPORTING
* CUCOL = 10 "
* CUROW = 3 "
HELP_INFOS = "
* LINENR = 1 "
* NOT_HELP = ' ' "
* OVERLAY_HEADER = ' ' "
* SUPPRESS_VIEWER = ' ' "
* CLASSIC_SAPSCRIPT = ' ' "Single-Character Flag
IMPORTING
HELP_POPUP_CANCEL = "
TABLES
EXCLUDEFUN = "
HELPLINES = "
IMPORTING Parameters details for HELP_DOCULINES_SHOW
CUCOL -
Data type: SY-CUCOLDefault: 10
Optional: Yes
Call by Reference: No ( called with pass by value option)
CUROW -
Data type: SY-CUROWDefault: 3
Optional: Yes
Call by Reference: No ( called with pass by value option)
HELP_INFOS -
Data type: HELP_INFOOptional: No
Call by Reference: No ( called with pass by value option)
LINENR -
Data type: SY-LINCTDefault: 1
Optional: Yes
Call by Reference: No ( called with pass by value option)
NOT_HELP -
Data type:Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
OVERLAY_HEADER -
Data type: THEADDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
SUPPRESS_VIEWER -
Data type: SY-BATCHDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
CLASSIC_SAPSCRIPT - Single-Character Flag
Data type: CHAR1Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for HELP_DOCULINES_SHOW
HELP_POPUP_CANCEL -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for HELP_DOCULINES_SHOW
EXCLUDEFUN -
Data type:Optional: No
Call by Reference: Yes
HELPLINES -
Data type: TLINEOptional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for HELP_DOCULINES_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_cucol | TYPE SY-CUCOL, " 10 | |||
lt_excludefun | TYPE STANDARD TABLE OF SY, " | |||
lv_help_popup_cancel | TYPE SY, " | |||
lv_curow | TYPE SY-CUROW, " 3 | |||
lt_helplines | TYPE STANDARD TABLE OF TLINE, " | |||
lv_help_infos | TYPE HELP_INFO, " | |||
lv_linenr | TYPE SY-LINCT, " 1 | |||
lv_not_help | TYPE SY, " SPACE | |||
lv_overlay_header | TYPE THEAD, " SPACE | |||
lv_suppress_viewer | TYPE SY-BATCH, " SPACE | |||
lv_classic_sapscript | TYPE CHAR1. " SPACE |
  CALL FUNCTION 'HELP_DOCULINES_SHOW' " |
EXPORTING | ||
CUCOL | = lv_cucol | |
CUROW | = lv_curow | |
HELP_INFOS | = lv_help_infos | |
LINENR | = lv_linenr | |
NOT_HELP | = lv_not_help | |
OVERLAY_HEADER | = lv_overlay_header | |
SUPPRESS_VIEWER | = lv_suppress_viewer | |
CLASSIC_SAPSCRIPT | = lv_classic_sapscript | |
IMPORTING | ||
HELP_POPUP_CANCEL | = lv_help_popup_cancel | |
TABLES | ||
EXCLUDEFUN | = lt_excludefun | |
HELPLINES | = lt_helplines | |
. " HELP_DOCULINES_SHOW |
ABAP code using 7.40 inline data declarations to call FM HELP_DOCULINES_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."SELECT single CUCOL FROM SY INTO @DATA(ld_cucol). | ||||
DATA(ld_cucol) | = 10. | |||
"SELECT single CUROW FROM SY INTO @DATA(ld_curow). | ||||
DATA(ld_curow) | = 3. | |||
"SELECT single LINCT FROM SY INTO @DATA(ld_linenr). | ||||
DATA(ld_linenr) | = 1. | |||
DATA(ld_not_help) | = ' '. | |||
DATA(ld_overlay_header) | = ' '. | |||
"SELECT single BATCH FROM SY INTO @DATA(ld_suppress_viewer). | ||||
DATA(ld_suppress_viewer) | = ' '. | |||
DATA(ld_classic_sapscript) | = ' '. | |||
Search for further information about these or an SAP related objects