SAP G_RECHERCHE_ADB_PREPARE Function Module for
G_RECHERCHE_ADB_PREPARE is a standard g recherche adb prepare 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 g recherche adb prepare FM, simply by entering the name G_RECHERCHE_ADB_PREPARE into the relevant SAP transaction such as SE37 or SE38.
Function Group: GURE
Program Name: SAPLGURE
Main Program: SAPLGURE
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function G_RECHERCHE_ADB_PREPARE 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 'G_RECHERCHE_ADB_PREPARE'".
EXPORTING
* IS_RKB1X = "Application-specific fields in drill-down reporting
IMPORTING
ED_ADB_REQUEST = "General Indicator
ET_ADB_DATES = "
TABLES
* SELECTED_FIELDS = "Table of fields required (drill down)
SELECTION_TABLE = "Structure of selection table for segment table/level
* ADD_SEL_TAB = "Structure of selection table for segment table/level
* SELECTED_HIERAS = "Table of hierarchies used
EXCEPTIONS
NO_DAY_LEDGER = 1 SEVERAL_YEARS = 2 PROGRAM_ERROR = 3
IMPORTING Parameters details for G_RECHERCHE_ADB_PREPARE
IS_RKB1X - Application-specific fields in drill-down reporting
Data type: RKB1XOptional: Yes
Call by Reference: Yes
EXPORTING Parameters details for G_RECHERCHE_ADB_PREPARE
ED_ADB_REQUEST - General Indicator
Data type: FLAGOptional: No
Call by Reference: Yes
ET_ADB_DATES -
Data type: ANY TABLEOptional: No
Call by Reference: Yes
TABLES Parameters details for G_RECHERCHE_ADB_PREPARE
SELECTED_FIELDS - Table of fields required (drill down)
Data type: CFBSF01Optional: Yes
Call by Reference: Yes
SELECTION_TABLE - Structure of selection table for segment table/level
Data type: CEDSTOptional: No
Call by Reference: Yes
ADD_SEL_TAB - Structure of selection table for segment table/level
Data type: CEDSTOptional: Yes
Call by Reference: Yes
SELECTED_HIERAS - Table of hierarchies used
Data type: CFBSH01Optional: Yes
Call by Reference: Yes
EXCEPTIONS details
NO_DAY_LEDGER -
Data type:Optional: No
Call by Reference: Yes
SEVERAL_YEARS -
Data type:Optional: No
Call by Reference: Yes
PROGRAM_ERROR - Program Error
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for G_RECHERCHE_ADB_PREPARE 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_is_rkb1x | TYPE RKB1X, " | |||
| lv_no_day_ledger | TYPE RKB1X, " | |||
| lv_ed_adb_request | TYPE FLAG, " | |||
| lt_selected_fields | TYPE STANDARD TABLE OF CFBSF01, " | |||
| lv_et_adb_dates | TYPE ANY TABLE, " | |||
| lv_several_years | TYPE ANY TABLE, " | |||
| lt_selection_table | TYPE STANDARD TABLE OF CEDST, " | |||
| lt_add_sel_tab | TYPE STANDARD TABLE OF CEDST, " | |||
| lv_program_error | TYPE CEDST, " | |||
| lt_selected_hieras | TYPE STANDARD TABLE OF CFBSH01. " |
|   CALL FUNCTION 'G_RECHERCHE_ADB_PREPARE' " |
| EXPORTING | ||
| IS_RKB1X | = lv_is_rkb1x | |
| IMPORTING | ||
| ED_ADB_REQUEST | = lv_ed_adb_request | |
| ET_ADB_DATES | = lv_et_adb_dates | |
| TABLES | ||
| SELECTED_FIELDS | = lt_selected_fields | |
| SELECTION_TABLE | = lt_selection_table | |
| ADD_SEL_TAB | = lt_add_sel_tab | |
| SELECTED_HIERAS | = lt_selected_hieras | |
| EXCEPTIONS | ||
| NO_DAY_LEDGER = 1 | ||
| SEVERAL_YEARS = 2 | ||
| PROGRAM_ERROR = 3 | ||
| . " G_RECHERCHE_ADB_PREPARE | ||
ABAP code using 7.40 inline data declarations to call FM G_RECHERCHE_ADB_PREPARE
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.Search for further information about these or an SAP related objects