SAP DOC_DISPLAY_F1HELP Function Module for









DOC_DISPLAY_F1HELP is a standard doc display f1help 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 doc display f1help FM, simply by entering the name DOC_DISPLAY_F1HELP into the relevant SAP transaction such as SE37 or SE38.

Function Group: DOC_DISPLAY
Program Name: SAPLDOC_DISPLAY
Main Program: SAPLDOC_DISPLAY
Appliation area: F
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function DOC_DISPLAY_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 'DOC_DISPLAY_F1HELP'"
EXPORTING
OBJECT = "
* INFO_TO_OBJECT = ' ' "
* OBJECT_TO_INFO = ' ' "
* SYDYNNR = "
* SYREPID = "Character Field of Length 40
* SYPFKEY = "
* FORCE_UNHIDE = ' ' "
* FONT_FACE = ' ' "
.



IMPORTING Parameters details for DOC_DISPLAY_F1HELP

OBJECT -

Data type: DOKHL-OBJECT
Optional: No
Call by Reference: Yes

INFO_TO_OBJECT -

Data type: CHAR1
Default: SPACE
Optional: Yes
Call by Reference: Yes

OBJECT_TO_INFO -

Data type: CHAR1
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

SYDYNNR -

Data type: SY-DYNNR
Optional: Yes
Call by Reference: No ( called with pass by value option)

SYREPID - Character Field of Length 40

Data type: CHAR40
Optional: Yes
Call by Reference: No ( called with pass by value option)

SYPFKEY -

Data type: SY-PFKEY
Optional: Yes
Call by Reference: No ( called with pass by value option)

FORCE_UNHIDE -

Data type: CHAR1
Default: SPACE
Optional: Yes
Call by Reference: Yes

FONT_FACE -

Data type: CHAR30
Default: SPACE
Optional: Yes
Call by Reference: Yes

Copy and paste ABAP code example for DOC_DISPLAY_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_object  TYPE DOKHL-OBJECT, "   
lv_info_to_object  TYPE CHAR1, "   SPACE
lv_object_to_info  TYPE CHAR1, "   SPACE
lv_sydynnr  TYPE SY-DYNNR, "   
lv_syrepid  TYPE CHAR40, "   
lv_sypfkey  TYPE SY-PFKEY, "   
lv_force_unhide  TYPE CHAR1, "   SPACE
lv_font_face  TYPE CHAR30. "   SPACE

  CALL FUNCTION 'DOC_DISPLAY_F1HELP'  "
    EXPORTING
         OBJECT = lv_object
         INFO_TO_OBJECT = lv_info_to_object
         OBJECT_TO_INFO = lv_object_to_info
         SYDYNNR = lv_sydynnr
         SYREPID = lv_syrepid
         SYPFKEY = lv_sypfkey
         FORCE_UNHIDE = lv_force_unhide
         FONT_FACE = lv_font_face
. " DOC_DISPLAY_F1HELP




ABAP code using 7.40 inline data declarations to call FM DOC_DISPLAY_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 OBJECT FROM DOKHL INTO @DATA(ld_object).
 
DATA(ld_info_to_object) = ' '.
 
DATA(ld_object_to_info) = ' '.
 
"SELECT single DYNNR FROM SY INTO @DATA(ld_sydynnr).
 
 
"SELECT single PFKEY FROM SY INTO @DATA(ld_sypfkey).
 
DATA(ld_force_unhide) = ' '.
 
DATA(ld_font_face) = ' '.
 


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!