SAP F4TOOL_CHECKTABLE_HELP Function Module for









F4TOOL_CHECKTABLE_HELP is a standard f4tool checktable help 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 f4tool checktable help FM, simply by entering the name F4TOOL_CHECKTABLE_HELP into the relevant SAP transaction such as SE37 or SE38.

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



Function F4TOOL_CHECKTABLE_HELP 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 'F4TOOL_CHECKTABLE_HELP'"
EXPORTING
CHECKTABLE = "
RETFIELD = "
* WINDOW_TITLE = "Title for the hit list
* VALUE = "Field contents for F4 call
* MULTIPLE_CHOICE = "Switch on multiple selection
* DISPLAY = "Override readiness for input

TABLES
* DYNPFLD_MAPPING = "
* RETURN_TAB = "Return the selected value

EXCEPTIONS
TABL_NOT_EXISTS = 1 FIELD_NOT_EXISTS = 2 ILLEGAL_CALL = 3
.



IMPORTING Parameters details for F4TOOL_CHECKTABLE_HELP

CHECKTABLE -

Data type: DD03P-CHECKTABLE
Optional: No
Call by Reference: Yes

RETFIELD -

Data type: DFIES-FIELDNAME
Optional: No
Call by Reference: Yes

WINDOW_TITLE - Title for the hit list

Data type: DFIES-FIELDTEXT
Optional: Yes
Call by Reference: Yes

VALUE - Field contents for F4 call

Data type: HELP_INFO-FLDVALUE
Optional: Yes
Call by Reference: Yes

MULTIPLE_CHOICE - Switch on multiple selection

Data type: DDBOOL_D
Optional: Yes
Call by Reference: Yes

DISPLAY - Override readiness for input

Data type: DDBOOL_D
Optional: Yes
Call by Reference: Yes

TABLES Parameters details for F4TOOL_CHECKTABLE_HELP

DYNPFLD_MAPPING -

Data type: DSELC
Optional: Yes
Call by Reference: Yes

RETURN_TAB - Return the selected value

Data type: DDSHRETVAL
Optional: Yes
Call by Reference: Yes

EXCEPTIONS details

TABL_NOT_EXISTS -

Data type:
Optional: No
Call by Reference: Yes

FIELD_NOT_EXISTS -

Data type:
Optional: No
Call by Reference: Yes

ILLEGAL_CALL -

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for F4TOOL_CHECKTABLE_HELP 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_checktable  TYPE DD03P-CHECKTABLE, "   
lt_dynpfld_mapping  TYPE STANDARD TABLE OF DSELC, "   
lv_tabl_not_exists  TYPE DSELC, "   
lv_retfield  TYPE DFIES-FIELDNAME, "   
lt_return_tab  TYPE STANDARD TABLE OF DDSHRETVAL, "   
lv_field_not_exists  TYPE DDSHRETVAL, "   
lv_illegal_call  TYPE DDSHRETVAL, "   
lv_window_title  TYPE DFIES-FIELDTEXT, "   
lv_value  TYPE HELP_INFO-FLDVALUE, "   
lv_multiple_choice  TYPE DDBOOL_D, "   
lv_display  TYPE DDBOOL_D. "   

  CALL FUNCTION 'F4TOOL_CHECKTABLE_HELP'  "
    EXPORTING
         CHECKTABLE = lv_checktable
         RETFIELD = lv_retfield
         WINDOW_TITLE = lv_window_title
         VALUE = lv_value
         MULTIPLE_CHOICE = lv_multiple_choice
         DISPLAY = lv_display
    TABLES
         DYNPFLD_MAPPING = lt_dynpfld_mapping
         RETURN_TAB = lt_return_tab
    EXCEPTIONS
        TABL_NOT_EXISTS = 1
        FIELD_NOT_EXISTS = 2
        ILLEGAL_CALL = 3
. " F4TOOL_CHECKTABLE_HELP




ABAP code using 7.40 inline data declarations to call FM F4TOOL_CHECKTABLE_HELP

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 CHECKTABLE FROM DD03P INTO @DATA(ld_checktable).
 
 
 
"SELECT single FIELDNAME FROM DFIES INTO @DATA(ld_retfield).
 
 
 
 
"SELECT single FIELDTEXT FROM DFIES INTO @DATA(ld_window_title).
 
"SELECT single FLDVALUE FROM HELP_INFO INTO @DATA(ld_value).
 
 
 


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!