SAP RECA_GUI_F4_GRID_POPUP Function Module for
RECA_GUI_F4_GRID_POPUP is a standard reca gui f4 grid popup 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 reca gui f4 grid popup FM, simply by entering the name RECA_GUI_F4_GRID_POPUP into the relevant SAP transaction such as SE37 or SE38.
Function Group: RECA_GUI_F4_POPUP
Program Name: SAPLRECA_GUI_F4_POPUP
Main Program: SAPLRECA_GUI_F4_POPUP
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function RECA_GUI_F4_GRID_POPUP 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 'RECA_GUI_F4_GRID_POPUP'".
EXPORTING
* ID_KEY_FIELD = "
* ID_TITLE = "
* ID_REPID = "
* ID_REPID_HANDLE = "
* IF_READONLY = "
* IF_CLASSIC_LAYOUT = "
* IF_LAYOUT_DEFAULT = ABAP_TRUE "
* ID_START_COLUMN = "
* ID_START_LINE = "
* ID_END_COLUMN = "
* ID_END_LINE = "
* IT_KEY_FIELD = "
* IF_SEND_CANCEL_MSG = ABAP_TRUE "
IT_F4VALUE = "
* IT_MARK = "
* IT_HIDE_FIELD = "
* IT_SORT_FIELD = "
* IF_MULTI = "
* ID_CHECKBOX_FIELD = "
* ID_CHECKBOX_FIELD_REF = "
IMPORTING
ET_RESULT = "
EF_CANCELED = "
IMPORTING Parameters details for RECA_GUI_F4_GRID_POPUP
ID_KEY_FIELD -
Data type: RECAFIELDNAMEOptional: Yes
Call by Reference: Yes
ID_TITLE -
Data type: CSEQUENCEOptional: Yes
Call by Reference: Yes
ID_REPID -
Data type: SYREPIDOptional: Yes
Call by Reference: No ( called with pass by value option)
ID_REPID_HANDLE -
Data type: SALV_S_LAYOUT_KEY-HANDLEOptional: Yes
Call by Reference: Yes
IF_READONLY -
Data type: ABAP_BOOLOptional: Yes
Call by Reference: Yes
IF_CLASSIC_LAYOUT -
Data type: ABAP_BOOLOptional: Yes
Call by Reference: Yes
IF_LAYOUT_DEFAULT -
Data type: ABAP_BOOLDefault: ABAP_TRUE
Optional: Yes
Call by Reference: Yes
ID_START_COLUMN -
Data type: IOptional: Yes
Call by Reference: Yes
ID_START_LINE -
Data type: IOptional: Yes
Call by Reference: Yes
ID_END_COLUMN -
Data type: IOptional: Yes
Call by Reference: Yes
ID_END_LINE -
Data type: IOptional: Yes
Call by Reference: Yes
IT_KEY_FIELD -
Data type: RE_T_FIELDNAMEOptional: Yes
Call by Reference: Yes
IF_SEND_CANCEL_MSG -
Data type: ABAP_BOOLDefault: ABAP_TRUE
Optional: Yes
Call by Reference: Yes
IT_F4VALUE -
Data type: STANDARD TABLEOptional: No
Call by Reference: Yes
IT_MARK -
Data type: STANDARD TABLEOptional: Yes
Call by Reference: Yes
IT_HIDE_FIELD -
Data type: RE_T_FIELDNAMEOptional: Yes
Call by Reference: Yes
IT_SORT_FIELD -
Data type: RE_T_FIELDNAMEOptional: Yes
Call by Reference: Yes
IF_MULTI -
Data type: ABAP_BOOLOptional: Yes
Call by Reference: Yes
ID_CHECKBOX_FIELD -
Data type: RECAFIELDNAMEOptional: Yes
Call by Reference: Yes
ID_CHECKBOX_FIELD_REF -
Data type: RECAFIELDNAMEOptional: Yes
Call by Reference: Yes
EXPORTING Parameters details for RECA_GUI_F4_GRID_POPUP
ET_RESULT -
Data type: STANDARD TABLEOptional: No
Call by Reference: No ( called with pass by value option)
EF_CANCELED -
Data type: ABAP_BOOLOptional: No
Call by Reference: Yes
Copy and paste ABAP code example for RECA_GUI_F4_GRID_POPUP 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_et_result | TYPE STANDARD TABLE, " | |||
| lv_id_key_field | TYPE RECAFIELDNAME, " | |||
| lv_id_title | TYPE CSEQUENCE, " | |||
| lv_id_repid | TYPE SYREPID, " | |||
| lv_id_repid_handle | TYPE SALV_S_LAYOUT_KEY-HANDLE, " | |||
| lv_if_readonly | TYPE ABAP_BOOL, " | |||
| lv_if_classic_layout | TYPE ABAP_BOOL, " | |||
| lv_if_layout_default | TYPE ABAP_BOOL, " ABAP_TRUE | |||
| lv_id_start_column | TYPE I, " | |||
| lv_id_start_line | TYPE I, " | |||
| lv_id_end_column | TYPE I, " | |||
| lv_id_end_line | TYPE I, " | |||
| lv_ef_canceled | TYPE ABAP_BOOL, " | |||
| lv_it_key_field | TYPE RE_T_FIELDNAME, " | |||
| lv_if_send_cancel_msg | TYPE ABAP_BOOL, " ABAP_TRUE | |||
| lv_it_f4value | TYPE STANDARD TABLE, " | |||
| lv_it_mark | TYPE STANDARD TABLE, " | |||
| lv_it_hide_field | TYPE RE_T_FIELDNAME, " | |||
| lv_it_sort_field | TYPE RE_T_FIELDNAME, " | |||
| lv_if_multi | TYPE ABAP_BOOL, " | |||
| lv_id_checkbox_field | TYPE RECAFIELDNAME, " | |||
| lv_id_checkbox_field_ref | TYPE RECAFIELDNAME. " |
|   CALL FUNCTION 'RECA_GUI_F4_GRID_POPUP' " |
| EXPORTING | ||
| ID_KEY_FIELD | = lv_id_key_field | |
| ID_TITLE | = lv_id_title | |
| ID_REPID | = lv_id_repid | |
| ID_REPID_HANDLE | = lv_id_repid_handle | |
| IF_READONLY | = lv_if_readonly | |
| IF_CLASSIC_LAYOUT | = lv_if_classic_layout | |
| IF_LAYOUT_DEFAULT | = lv_if_layout_default | |
| ID_START_COLUMN | = lv_id_start_column | |
| ID_START_LINE | = lv_id_start_line | |
| ID_END_COLUMN | = lv_id_end_column | |
| ID_END_LINE | = lv_id_end_line | |
| IT_KEY_FIELD | = lv_it_key_field | |
| IF_SEND_CANCEL_MSG | = lv_if_send_cancel_msg | |
| IT_F4VALUE | = lv_it_f4value | |
| IT_MARK | = lv_it_mark | |
| IT_HIDE_FIELD | = lv_it_hide_field | |
| IT_SORT_FIELD | = lv_it_sort_field | |
| IF_MULTI | = lv_if_multi | |
| ID_CHECKBOX_FIELD | = lv_id_checkbox_field | |
| ID_CHECKBOX_FIELD_REF | = lv_id_checkbox_field_ref | |
| IMPORTING | ||
| ET_RESULT | = lv_et_result | |
| EF_CANCELED | = lv_ef_canceled | |
| . " RECA_GUI_F4_GRID_POPUP | ||
ABAP code using 7.40 inline data declarations to call FM RECA_GUI_F4_GRID_POPUP
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 HANDLE FROM SALV_S_LAYOUT_KEY INTO @DATA(ld_id_repid_handle). | ||||
| DATA(ld_if_layout_default) | = ABAP_TRUE. | |||
| DATA(ld_if_send_cancel_msg) | = ABAP_TRUE. | |||
Search for further information about these or an SAP related objects