SAP RHOM_READ_INFTY_BUFFERED Function Module for Read Infotype - via Buffer If Object in Process









RHOM_READ_INFTY_BUFFERED is a standard rhom read infty buffered 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 - via Buffer If Object in Process 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 rhom read infty buffered FM, simply by entering the name RHOM_READ_INFTY_BUFFERED into the relevant SAP transaction such as SE37 or SE38.

Function Group: RHOMBUFFER
Program Name: SAPLRHOMBUFFER
Main Program: SAPLRHOMBUFFER
Appliation area: H
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function RHOM_READ_INFTY_BUFFERED 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 'RHOM_READ_INFTY_BUFFERED'"Read Infotype - via Buffer If Object in Process
EXPORTING
* PLVAR = "
* WITH_STRU_AUTH = 'X' "
* BUFFER_MODE = 'X' "
* LANGU_MODE = ' ' "General Flag
* OTYPE = "
* OBJID = "
INFTY = "
* SUBTY = "
* ISTAT = "
* BEGDA = '19000101' "
* ENDDA = '99991231' "
* AUTH_FCODE = 'DISP' "

TABLES
* OBJECTS = "
INFTY_DAT = "Structure PNNNN_EXP Also for Non-Tab Inftypes

EXCEPTIONS
NO_ACTIVE_PLVAR = 1
.



IMPORTING Parameters details for RHOM_READ_INFTY_BUFFERED

PLVAR -

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

WITH_STRU_AUTH -

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

BUFFER_MODE -

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

LANGU_MODE - General Flag

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

OTYPE -

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

OBJID -

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

INFTY -

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

SUBTY -

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

ISTAT -

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

BEGDA -

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

ENDDA -

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

AUTH_FCODE -

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

TABLES Parameters details for RHOM_READ_INFTY_BUFFERED

OBJECTS -

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

INFTY_DAT - Structure PNNNN_EXP Also for Non-Tab Inftypes

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

EXCEPTIONS details

NO_ACTIVE_PLVAR -

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

Copy and paste ABAP code example for RHOM_READ_INFTY_BUFFERED 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_plvar  TYPE PLVAR, "   
lt_objects  TYPE STANDARD TABLE OF HROBJECT, "   
lv_no_active_plvar  TYPE HROBJECT, "   
lv_with_stru_auth  TYPE FLAG, "   'X'
lv_buffer_mode  TYPE FLAG, "   'X'
lv_langu_mode  TYPE FLAG, "   ' '
lv_otype  TYPE OTYPE, "   
lt_infty_dat  TYPE STANDARD TABLE OF OTYPE, "   
lv_objid  TYPE OTYPE, "   
lv_infty  TYPE INFOTYP, "   
lv_subty  TYPE INFOTYP, "   
lv_istat  TYPE ISTAT_D, "   
lv_begda  TYPE BEGDATUM, "   '19000101'
lv_endda  TYPE ENDDATUM, "   '99991231'
lv_auth_fcode  TYPE FCODE. "   'DISP'

  CALL FUNCTION 'RHOM_READ_INFTY_BUFFERED'  "Read Infotype - via Buffer If Object in Process
    EXPORTING
         PLVAR = lv_plvar
         WITH_STRU_AUTH = lv_with_stru_auth
         BUFFER_MODE = lv_buffer_mode
         LANGU_MODE = lv_langu_mode
         OTYPE = lv_otype
         OBJID = lv_objid
         INFTY = lv_infty
         SUBTY = lv_subty
         ISTAT = lv_istat
         BEGDA = lv_begda
         ENDDA = lv_endda
         AUTH_FCODE = lv_auth_fcode
    TABLES
         OBJECTS = lt_objects
         INFTY_DAT = lt_infty_dat
    EXCEPTIONS
        NO_ACTIVE_PLVAR = 1
. " RHOM_READ_INFTY_BUFFERED




ABAP code using 7.40 inline data declarations to call FM RHOM_READ_INFTY_BUFFERED

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_with_stru_auth) = 'X'.
 
DATA(ld_buffer_mode) = 'X'.
 
DATA(ld_langu_mode) = ' '.
 
 
 
 
 
 
 
DATA(ld_begda) = '19000101'.
 
DATA(ld_endda) = '99991231'.
 
DATA(ld_auth_fcode) = 'DISP'.
 


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!