SAP RH_READ_INFTY_1000 Function Module for Read Infotype 1000 for Object Set









RH_READ_INFTY_1000 is a standard rh read infty 1000 SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Read Infotype 1000 for Object Set processing and below is the pattern details for this FM, 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 read infty 1000 FM, simply by entering the name RH_READ_INFTY_1000 into the relevant SAP transaction such as SE37 or SE38.

Function Group: RHDB
Program Name: SAPLRHDB
Main Program: SAPLRHDB
Appliation area: H
Release date: 08-Apr-1998
Mode(Normal, Remote etc): Normal Function Module
Update:



Function RH_READ_INFTY_1000 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_READ_INFTY_1000'"Read Infotype 1000 for Object Set
EXPORTING
* AUTHORITY = 'DISP' "Function Code for Authorization Check
* CONDITION = '00000' "Condition (EXTEND = D)
* SORT = 'X' "Sort Data Table
* WITH_STRU_AUTH = 'X' "With Structural Authorization Check
* PLVAR = "Plan Version
* OTYPE = "Object Type
* OBJID = "Object ID
* ISTAT = ' ' "Status
* EXTEND = 'X' "Extension (X = with BEGDA/ENDDA)
* BEGDA = '19000101' "Start Date (EXTEND = X)
* ENDDA = '99991231' "End Date (EXTEND = X)

TABLES
I1000 = "Data Table
* OBJECTS = "Object Range

EXCEPTIONS
NOTHING_FOUND = 1 WRONG_CONDITION = 2 WRONG_PARAMETERS = 3
.



IMPORTING Parameters details for RH_READ_INFTY_1000

AUTHORITY - Function Code for Authorization Check

Data type:
Default: 'DISP'
Optional: Yes
Call by Reference: No ( called with pass by value option)

CONDITION - Condition (EXTEND = D)

Data type: HRRHDB-CONDITION
Default: '00000'
Optional: Yes
Call by Reference: No ( called with pass by value option)

SORT - Sort Data Table

Data type: HRRHDB-SORT
Default: 'X'
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-PLVAR
Optional: Yes
Call by Reference: No ( called with pass by value option)

OTYPE - Object Type

Data type: PLOG-OTYPE
Optional: Yes
Call by Reference: No ( called with pass by value option)

OBJID - Object ID

Data type: PLOG-OBJID
Optional: Yes
Call by Reference: No ( called with pass by value option)

ISTAT - Status

Data type: PLOG-ISTAT
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

EXTEND - Extension (X = with BEGDA/ENDDA)

Data type: HRRHDB-EXTEND
Default: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)

BEGDA - Start Date (EXTEND = X)

Data type: PLOG-BEGDA
Default: '19000101'
Optional: Yes
Call by Reference: No ( called with pass by value option)

ENDDA - End Date (EXTEND = X)

Data type: PLOG-ENDDA
Default: '99991231'
Optional: Yes
Call by Reference: No ( called with pass by value option)

TABLES Parameters details for RH_READ_INFTY_1000

I1000 - Data Table

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

OBJECTS - Object Range

Data type: HROBJECT
Optional: Yes
Call by Reference: Yes

EXCEPTIONS details

NOTHING_FOUND - No Data Selected

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

WRONG_CONDITION - No condition exists

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

WRONG_PARAMETERS - FM Was Called With Incorrect Parameters

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for RH_READ_INFTY_1000 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_i1000  TYPE STANDARD TABLE OF STRING, "   
lv_authority  TYPE STRING, "   'DISP'
lv_nothing_found  TYPE STRING, "   
lv_condition  TYPE HRRHDB-CONDITION, "   '00000'
lv_sort  TYPE HRRHDB-SORT, "   'X'
lt_objects  TYPE STANDARD TABLE OF HROBJECT, "   
lv_with_stru_auth  TYPE HROBJECT, "   'X'
lv_wrong_condition  TYPE HROBJECT, "   
lv_plvar  TYPE PLOG-PLVAR, "   
lv_wrong_parameters  TYPE PLOG, "   
lv_otype  TYPE PLOG-OTYPE, "   
lv_objid  TYPE PLOG-OBJID, "   
lv_istat  TYPE PLOG-ISTAT, "   SPACE
lv_extend  TYPE HRRHDB-EXTEND, "   'X'
lv_begda  TYPE PLOG-BEGDA, "   '19000101'
lv_endda  TYPE PLOG-ENDDA. "   '99991231'

  CALL FUNCTION 'RH_READ_INFTY_1000'  "Read Infotype 1000 for Object Set
    EXPORTING
         AUTHORITY = lv_authority
         CONDITION = lv_condition
         SORT = lv_sort
         WITH_STRU_AUTH = lv_with_stru_auth
         PLVAR = lv_plvar
         OTYPE = lv_otype
         OBJID = lv_objid
         ISTAT = lv_istat
         EXTEND = lv_extend
         BEGDA = lv_begda
         ENDDA = lv_endda
    TABLES
         I1000 = lt_i1000
         OBJECTS = lt_objects
    EXCEPTIONS
        NOTHING_FOUND = 1
        WRONG_CONDITION = 2
        WRONG_PARAMETERS = 3
. " RH_READ_INFTY_1000




ABAP code using 7.40 inline data declarations to call FM RH_READ_INFTY_1000

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 CONDITION FROM HRRHDB INTO @DATA(ld_condition).
DATA(ld_condition) = '00000'.
 
"SELECT single SORT FROM HRRHDB INTO @DATA(ld_sort).
DATA(ld_sort) = 'X'.
 
 
DATA(ld_with_stru_auth) = 'X'.
 
 
"SELECT single PLVAR FROM PLOG INTO @DATA(ld_plvar).
 
 
"SELECT single OTYPE FROM PLOG INTO @DATA(ld_otype).
 
"SELECT single OBJID FROM PLOG INTO @DATA(ld_objid).
 
"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'.
 


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!