SAP F4TOOL_F4FUNCTION_BRIDGE Function Module for
F4TOOL_F4FUNCTION_BRIDGE is a standard f4tool f4function bridge 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 f4function bridge FM, simply by entering the name F4TOOL_F4FUNCTION_BRIDGE into the relevant SAP transaction such as SE37 or SE38.
Function Group: SDHI
Program Name: SAPLSDHI
Main Program: SAPLSDHI
Appliation area: S
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function F4TOOL_F4FUNCTION_BRIDGE 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_F4FUNCTION_BRIDGE'".
EXPORTING
* CUCOL = 0 "
* CUROW = 0 "
TABNAME = "
FIELDNAME = "
DISPLAY_ONLY = "
* NO_CONVERSION = ' ' "
* WINDOW_TITLE = "
* TABDISPLAY = ' ' "
IMPORTING
SELECTED_VALUE = "
SELECTED_INDEX = "
TABLES
* SHVALUE_TAB = "
* SHSTRUC_TAB = "
* VALUE_TAB = "
* FIELDS_TAB = "
* VALUES_OUT = "
* COLTITLE_TAB = "
* SEL_OPT = "
IMPORTING Parameters details for F4TOOL_F4FUNCTION_BRIDGE
CUCOL -
Data type: SY-CUCOLOptional: Yes
Call by Reference: No ( called with pass by value option)
CUROW -
Data type: SY-CUROWOptional: Yes
Call by Reference: No ( called with pass by value option)
TABNAME -
Data type: HELP_INFO-TABNAMEOptional: No
Call by Reference: No ( called with pass by value option)
FIELDNAME -
Data type: HELP_INFO-FIELDNAMEOptional: No
Call by Reference: No ( called with pass by value option)
DISPLAY_ONLY -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
NO_CONVERSION -
Data type:Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
WINDOW_TITLE -
Data type:Optional: Yes
Call by Reference: No ( called with pass by value option)
TABDISPLAY -
Data type: DDREFSTRUC-BOOLDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for F4TOOL_F4FUNCTION_BRIDGE
SELECTED_VALUE -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
SELECTED_INDEX -
Data type: SY-TABIXOptional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for F4TOOL_F4FUNCTION_BRIDGE
SHVALUE_TAB -
Data type: SHVALUEOptional: Yes
Call by Reference: No ( called with pass by value option)
SHSTRUC_TAB -
Data type: SHSTRUCOptional: Yes
Call by Reference: No ( called with pass by value option)
VALUE_TAB -
Data type:Optional: Yes
Call by Reference: No ( called with pass by value option)
FIELDS_TAB -
Data type: HELP_VALUEOptional: Yes
Call by Reference: No ( called with pass by value option)
VALUES_OUT -
Data type: HELP_VTABOptional: Yes
Call by Reference: No ( called with pass by value option)
COLTITLE_TAB -
Data type: F4TYP_HEADING_TABOptional: Yes
Call by Reference: No ( called with pass by value option)
SEL_OPT -
Data type: MCSELOPTOptional: Yes
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for F4TOOL_F4FUNCTION_BRIDGE 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, " 0 | |||
| lt_shvalue_tab | TYPE STANDARD TABLE OF SHVALUE, " | |||
| lv_selected_value | TYPE SHVALUE, " | |||
| lv_curow | TYPE SY-CUROW, " 0 | |||
| lt_shstruc_tab | TYPE STANDARD TABLE OF SHSTRUC, " | |||
| lv_selected_index | TYPE SY-TABIX, " | |||
| lv_tabname | TYPE HELP_INFO-TABNAME, " | |||
| lt_value_tab | TYPE STANDARD TABLE OF HELP_INFO, " | |||
| lv_fieldname | TYPE HELP_INFO-FIELDNAME, " | |||
| lt_fields_tab | TYPE STANDARD TABLE OF HELP_VALUE, " | |||
| lt_values_out | TYPE STANDARD TABLE OF HELP_VTAB, " | |||
| lv_display_only | TYPE HELP_VTAB, " | |||
| lt_coltitle_tab | TYPE STANDARD TABLE OF F4TYP_HEADING_TAB, " | |||
| lv_no_conversion | TYPE F4TYP_HEADING_TAB, " SPACE | |||
| lt_sel_opt | TYPE STANDARD TABLE OF MCSELOPT, " | |||
| lv_window_title | TYPE MCSELOPT, " | |||
| lv_tabdisplay | TYPE DDREFSTRUC-BOOL. " SPACE |
|   CALL FUNCTION 'F4TOOL_F4FUNCTION_BRIDGE' " |
| EXPORTING | ||
| CUCOL | = lv_cucol | |
| CUROW | = lv_curow | |
| TABNAME | = lv_tabname | |
| FIELDNAME | = lv_fieldname | |
| DISPLAY_ONLY | = lv_display_only | |
| NO_CONVERSION | = lv_no_conversion | |
| WINDOW_TITLE | = lv_window_title | |
| TABDISPLAY | = lv_tabdisplay | |
| IMPORTING | ||
| SELECTED_VALUE | = lv_selected_value | |
| SELECTED_INDEX | = lv_selected_index | |
| TABLES | ||
| SHVALUE_TAB | = lt_shvalue_tab | |
| SHSTRUC_TAB | = lt_shstruc_tab | |
| VALUE_TAB | = lt_value_tab | |
| FIELDS_TAB | = lt_fields_tab | |
| VALUES_OUT | = lt_values_out | |
| COLTITLE_TAB | = lt_coltitle_tab | |
| SEL_OPT | = lt_sel_opt | |
| . " F4TOOL_F4FUNCTION_BRIDGE | ||
ABAP code using 7.40 inline data declarations to call FM F4TOOL_F4FUNCTION_BRIDGE
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). | ||||
| "SELECT single CUROW FROM SY INTO @DATA(ld_curow). | ||||
| "SELECT single TABIX FROM SY INTO @DATA(ld_selected_index). | ||||
| "SELECT single TABNAME FROM HELP_INFO INTO @DATA(ld_tabname). | ||||
| "SELECT single FIELDNAME FROM HELP_INFO INTO @DATA(ld_fieldname). | ||||
| DATA(ld_no_conversion) | = ' '. | |||
| "SELECT single BOOL FROM DDREFSTRUC INTO @DATA(ld_tabdisplay). | ||||
| DATA(ld_tabdisplay) | = ' '. | |||
Search for further information about these or an SAP related objects