SAP FM_FMIT_READ_HDB Function Module for
FM_FMIT_READ_HDB is a standard fm fmit read hdb 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 fm fmit read hdb FM, simply by entering the name FM_FMIT_READ_HDB into the relevant SAP transaction such as SE37 or SE38.
Function Group: FMRE
Program Name: SAPLFMRE
Main Program: SAPLFMRE
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function FM_FMIT_READ_HDB 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 'FM_FMIT_READ_HDB'".
EXPORTING
I_FIKRS = "
* I_CF_PERIO_IS_001 = ' ' "
G_DBCON = "
TABLES
* T_RLDNR = "
* T_RBTART = "
* T_RSTATS = "
* T_PERIO = "
* T_PERIO7 = "
* T_RHKONT = "
* T_RCFLEV = "
* T_RGNJHR = "
* T_RVERS = "
* T_RVRGNG = "
* T_RFAREA = "
* T_RRCTY = "
* T_ROBJNRZ = "
* T_RUDIM = "
T_FMITTAB = "
T_ALL_FIELDS = "
* T_ADDRESSES = "
* T_RYEAR = "
* T_RTCUR = "
* T_RBUKRS = "
* T_RFISTL = "
* T_RFONDS = "
* T_RFIPEX = "
* T_RWRTTP = "
IMPORTING Parameters details for FM_FMIT_READ_HDB
I_FIKRS -
Data type: FM01-FIKRSOptional: No
Call by Reference: No ( called with pass by value option)
I_CF_PERIO_IS_001 -
Data type: FMDY-XFELDDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
G_DBCON -
Data type: DBCON_NAMEOptional: No
Call by Reference: Yes
TABLES Parameters details for FM_FMIT_READ_HDB
T_RLDNR -
Data type: RANGE_C2Optional: Yes
Call by Reference: Yes
T_RBTART -
Data type: RANGE_C4Optional: Yes
Call by Reference: Yes
T_RSTATS -
Data type: RANGE_C1Optional: Yes
Call by Reference: Yes
T_PERIO -
Data type: RANGE_N3Optional: Yes
Call by Reference: Yes
T_PERIO7 -
Data type: RANGE_N7Optional: Yes
Call by Reference: Yes
T_RHKONT -
Data type: RANGE_C10Optional: Yes
Call by Reference: Yes
T_RCFLEV -
Data type: RANGE_C1Optional: Yes
Call by Reference: Yes
T_RGNJHR -
Data type: RANGE_N4Optional: Yes
Call by Reference: Yes
T_RVERS -
Data type: RANGE_C3Optional: Yes
Call by Reference: Yes
T_RVRGNG -
Data type: RANGE_C4Optional: Yes
Call by Reference: Yes
T_RFAREA -
Data type: RANGE_C16Optional: Yes
Call by Reference: Yes
T_RRCTY -
Data type: RANGE_C1Optional: Yes
Call by Reference: Yes
T_ROBJNRZ -
Data type: RANGE_C22Optional: Yes
Call by Reference: Yes
T_RUDIM -
Data type: RANGE_C10Optional: Yes
Call by Reference: Yes
T_FMITTAB -
Data type: FMFMIT2Optional: No
Call by Reference: Yes
T_ALL_FIELDS -
Data type: CEDSTOptional: No
Call by Reference: Yes
T_ADDRESSES -
Data type: FMIAOptional: Yes
Call by Reference: Yes
T_RYEAR -
Data type: RANGE_N4Optional: Yes
Call by Reference: Yes
T_RTCUR -
Data type:Optional: Yes
Call by Reference: Yes
T_RBUKRS -
Data type: RANGE_C4Optional: Yes
Call by Reference: Yes
T_RFISTL -
Data type: RANGE_C16Optional: Yes
Call by Reference: Yes
T_RFONDS -
Data type: RANGE_C10Optional: Yes
Call by Reference: Yes
T_RFIPEX -
Data type: RANGE_C24Optional: Yes
Call by Reference: Yes
T_RWRTTP -
Data type: RSN2RANGEOptional: Yes
Call by Reference: Yes
Copy and paste ABAP code example for FM_FMIT_READ_HDB 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_i_fikrs | TYPE FM01-FIKRS, " | |||
| lt_t_rldnr | TYPE STANDARD TABLE OF RANGE_C2, " | |||
| lt_t_rbtart | TYPE STANDARD TABLE OF RANGE_C4, " | |||
| lt_t_rstats | TYPE STANDARD TABLE OF RANGE_C1, " | |||
| lt_t_perio | TYPE STANDARD TABLE OF RANGE_N3, " | |||
| lt_t_perio7 | TYPE STANDARD TABLE OF RANGE_N7, " | |||
| lt_t_rhkont | TYPE STANDARD TABLE OF RANGE_C10, " | |||
| lt_t_rcflev | TYPE STANDARD TABLE OF RANGE_C1, " | |||
| lt_t_rgnjhr | TYPE STANDARD TABLE OF RANGE_N4, " | |||
| lt_t_rvers | TYPE STANDARD TABLE OF RANGE_C3, " | |||
| lt_t_rvrgng | TYPE STANDARD TABLE OF RANGE_C4, " | |||
| lt_t_rfarea | TYPE STANDARD TABLE OF RANGE_C16, " | |||
| lt_t_rrcty | TYPE STANDARD TABLE OF RANGE_C1, " | |||
| lv_i_cf_perio_is_001 | TYPE FMDY-XFELD, " SPACE | |||
| lt_t_robjnrz | TYPE STANDARD TABLE OF RANGE_C22, " | |||
| lt_t_rudim | TYPE STANDARD TABLE OF RANGE_C10, " | |||
| lt_t_fmittab | TYPE STANDARD TABLE OF FMFMIT2, " | |||
| lt_t_all_fields | TYPE STANDARD TABLE OF CEDST, " | |||
| lt_t_addresses | TYPE STANDARD TABLE OF FMIA, " | |||
| lv_g_dbcon | TYPE DBCON_NAME, " | |||
| lt_t_ryear | TYPE STANDARD TABLE OF RANGE_N4, " | |||
| lt_t_rtcur | TYPE STANDARD TABLE OF RANGE_N4, " | |||
| lt_t_rbukrs | TYPE STANDARD TABLE OF RANGE_C4, " | |||
| lt_t_rfistl | TYPE STANDARD TABLE OF RANGE_C16, " | |||
| lt_t_rfonds | TYPE STANDARD TABLE OF RANGE_C10, " | |||
| lt_t_rfipex | TYPE STANDARD TABLE OF RANGE_C24, " | |||
| lt_t_rwrttp | TYPE STANDARD TABLE OF RSN2RANGE. " |
|   CALL FUNCTION 'FM_FMIT_READ_HDB' " |
| EXPORTING | ||
| I_FIKRS | = lv_i_fikrs | |
| I_CF_PERIO_IS_001 | = lv_i_cf_perio_is_001 | |
| G_DBCON | = lv_g_dbcon | |
| TABLES | ||
| T_RLDNR | = lt_t_rldnr | |
| T_RBTART | = lt_t_rbtart | |
| T_RSTATS | = lt_t_rstats | |
| T_PERIO | = lt_t_perio | |
| T_PERIO7 | = lt_t_perio7 | |
| T_RHKONT | = lt_t_rhkont | |
| T_RCFLEV | = lt_t_rcflev | |
| T_RGNJHR | = lt_t_rgnjhr | |
| T_RVERS | = lt_t_rvers | |
| T_RVRGNG | = lt_t_rvrgng | |
| T_RFAREA | = lt_t_rfarea | |
| T_RRCTY | = lt_t_rrcty | |
| T_ROBJNRZ | = lt_t_robjnrz | |
| T_RUDIM | = lt_t_rudim | |
| T_FMITTAB | = lt_t_fmittab | |
| T_ALL_FIELDS | = lt_t_all_fields | |
| T_ADDRESSES | = lt_t_addresses | |
| T_RYEAR | = lt_t_ryear | |
| T_RTCUR | = lt_t_rtcur | |
| T_RBUKRS | = lt_t_rbukrs | |
| T_RFISTL | = lt_t_rfistl | |
| T_RFONDS | = lt_t_rfonds | |
| T_RFIPEX | = lt_t_rfipex | |
| T_RWRTTP | = lt_t_rwrttp | |
| . " FM_FMIT_READ_HDB | ||
ABAP code using 7.40 inline data declarations to call FM FM_FMIT_READ_HDB
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 FIKRS FROM FM01 INTO @DATA(ld_i_fikrs). | ||||
| "SELECT single XFELD FROM FMDY INTO @DATA(ld_i_cf_perio_is_001). | ||||
| DATA(ld_i_cf_perio_is_001) | = ' '. | |||
Search for further information about these or an SAP related objects