SAP RH_BASE_READ_INFTY_1001 Function Module for
RH_BASE_READ_INFTY_1001 is a standard rh base read infty 1001 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 rh base read infty 1001 FM, simply by entering the name RH_BASE_READ_INFTY_1001 into the relevant SAP transaction such as SE37 or SE38.
Function Group: RHDB
Program Name: SAPLRHDB
Main Program: SAPLRHDB
Appliation area: H
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function RH_BASE_READ_INFTY_1001 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 'RH_BASE_READ_INFTY_1001'".
EXPORTING
* AUTHORITY = 'DISP' "Function Code for Authorization Check
* SELID = ' ' "Selection ID
* SORT = 'X' "Sort Data Table
* ADATA = 'X' "Read Additional Data
* AUTH_SOBID = ' ' "
* WITH_STRU_AUTH = 'X' "With structural authorization check
PLVAR = "Plan Version
* ISTAT = ' ' "Status
* EXTEND = 'X' "
* BEGDA = '19000101' "Start Date (EXTEND = X)
* ENDDA = '99991231' "End Date (EXTEND = X)
* SUBTY = ' ' "Subtype (EXTEND = X)
* CONDITION = '00000' "Condition (EXTEND = D)
TABLES
I1001 = "Data Table
RANGE = "Object Range
EXCEPTIONS
NOTHING_FOUND = 1 WRONG_CONDITION = 2
IMPORTING Parameters details for RH_BASE_READ_INFTY_1001
AUTHORITY - Function Code for Authorization Check
Data type:Default: 'DISP'
Optional: Yes
Call by Reference: No ( called with pass by value option)
SELID - Selection ID
Data type: HRRHDB-SELIDDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
SORT - Sort Data Table
Data type: HRRHDB-SORTDefault: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)
ADATA - Read Additional Data
Data type: HRRHDB-ADATADefault: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)
AUTH_SOBID -
Data type:Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
WITH_STRU_AUTH - With structural authorization check
Data type:Default: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)
PLVAR - Plan Version
Data type: PLOG-PLVAROptional: No
Call by Reference: No ( called with pass by value option)
ISTAT - Status
Data type: PLOG-ISTATDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
EXTEND -
Data type: HRRHDB-EXTENDDefault: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)
BEGDA - Start Date (EXTEND = X)
Data type: PLOG-BEGDADefault: '19000101'
Optional: Yes
Call by Reference: No ( called with pass by value option)
ENDDA - End Date (EXTEND = X)
Data type: PLOG-ENDDADefault: '99991231'
Optional: Yes
Call by Reference: No ( called with pass by value option)
SUBTY - Subtype (EXTEND = X)
Data type: PLOG-SUBTYDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
CONDITION - Condition (EXTEND = D)
Data type: HRRHDB-CONDITIONDefault: '00000'
Optional: Yes
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for RH_BASE_READ_INFTY_1001
I1001 - Data Table
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
RANGE - Object Range
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
NOTHING_FOUND - No data selected
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
WRONG_CONDITION -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for RH_BASE_READ_INFTY_1001 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: | ||||
| lt_i1001 | TYPE STANDARD TABLE OF STRING, " | |||
| lv_authority | TYPE STRING, " 'DISP' | |||
| lv_nothing_found | TYPE STRING, " | |||
| lv_selid | TYPE HRRHDB-SELID, " SPACE | |||
| lv_sort | TYPE HRRHDB-SORT, " 'X' | |||
| lv_adata | TYPE HRRHDB-ADATA, " 'X' | |||
| lv_auth_sobid | TYPE HRRHDB, " SPACE | |||
| lt_range | TYPE STANDARD TABLE OF HRRHDB, " | |||
| lv_with_stru_auth | TYPE HRRHDB, " 'X' | |||
| lv_wrong_condition | TYPE HRRHDB, " | |||
| lv_plvar | TYPE PLOG-PLVAR, " | |||
| lv_istat | TYPE PLOG-ISTAT, " SPACE | |||
| lv_extend | TYPE HRRHDB-EXTEND, " 'X' | |||
| lv_begda | TYPE PLOG-BEGDA, " '19000101' | |||
| lv_endda | TYPE PLOG-ENDDA, " '99991231' | |||
| lv_subty | TYPE PLOG-SUBTY, " SPACE | |||
| lv_condition | TYPE HRRHDB-CONDITION. " '00000' |
|   CALL FUNCTION 'RH_BASE_READ_INFTY_1001' " |
| EXPORTING | ||
| AUTHORITY | = lv_authority | |
| SELID | = lv_selid | |
| SORT | = lv_sort | |
| ADATA | = lv_adata | |
| AUTH_SOBID | = lv_auth_sobid | |
| WITH_STRU_AUTH | = lv_with_stru_auth | |
| PLVAR | = lv_plvar | |
| ISTAT | = lv_istat | |
| EXTEND | = lv_extend | |
| BEGDA | = lv_begda | |
| ENDDA | = lv_endda | |
| SUBTY | = lv_subty | |
| CONDITION | = lv_condition | |
| TABLES | ||
| I1001 | = lt_i1001 | |
| RANGE | = lt_range | |
| EXCEPTIONS | ||
| NOTHING_FOUND = 1 | ||
| WRONG_CONDITION = 2 | ||
| . " RH_BASE_READ_INFTY_1001 | ||
ABAP code using 7.40 inline data declarations to call FM RH_BASE_READ_INFTY_1001
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.| DATA(ld_authority) | = 'DISP'. | |||
| "SELECT single SELID FROM HRRHDB INTO @DATA(ld_selid). | ||||
| DATA(ld_selid) | = ' '. | |||
| "SELECT single SORT FROM HRRHDB INTO @DATA(ld_sort). | ||||
| DATA(ld_sort) | = 'X'. | |||
| "SELECT single ADATA FROM HRRHDB INTO @DATA(ld_adata). | ||||
| DATA(ld_adata) | = 'X'. | |||
| DATA(ld_auth_sobid) | = ' '. | |||
| DATA(ld_with_stru_auth) | = 'X'. | |||
| "SELECT single PLVAR FROM PLOG INTO @DATA(ld_plvar). | ||||
| "SELECT single ISTAT FROM PLOG INTO @DATA(ld_istat). | ||||
| DATA(ld_istat) | = ' '. | |||
| "SELECT single EXTEND FROM HRRHDB INTO @DATA(ld_extend). | ||||
| DATA(ld_extend) | = 'X'. | |||
| "SELECT single BEGDA FROM PLOG INTO @DATA(ld_begda). | ||||
| DATA(ld_begda) | = '19000101'. | |||
| "SELECT single ENDDA FROM PLOG INTO @DATA(ld_endda). | ||||
| DATA(ld_endda) | = '99991231'. | |||
| "SELECT single SUBTY FROM PLOG INTO @DATA(ld_subty). | ||||
| DATA(ld_subty) | = ' '. | |||
| "SELECT single CONDITION FROM HRRHDB INTO @DATA(ld_condition). | ||||
| DATA(ld_condition) | = '00000'. | |||
Search for further information about these or an SAP related objects