SAP RHOM_READ_OBJ_COMPLETE_BUFF Function Module for









RHOM_READ_OBJ_COMPLETE_BUFF is a standard rhom read obj complete buff 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 rhom read obj complete buff FM, simply by entering the name RHOM_READ_OBJ_COMPLETE_BUFF into the relevant SAP transaction such as SE37 or SE38.

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



Function RHOM_READ_OBJ_COMPLETE_BUFF 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_OBJ_COMPLETE_BUFF'"
EXPORTING
ACT_PLVAR = "Plan Version
* OM_BUFFER_MODE = 'X' "
* SELECTION_ONLY = "
ACT_OTYPE = "Object Type
ACT_OBJID = "Object ID
* BEGDA = '19000101' "Start Date
* ENDDA = '99991231' "End Date
* AUTHORITY_CHECK = 'X' "Historical record flag
* STRU_AUTH_CHECK = 'X' "
* FCODE = 'DISP' "
* SUBTY_TO_PARENT = "

IMPORTING
NO_STRU_AUTH_FCODE = "

TABLES
INFTY = "
* CPY_INFTY = "

EXCEPTIONS
NO_DATA_FOUND = 1 INFTY_READ_ERROR = 2 CPY_INFTY_EMPTY = 3
.



IMPORTING Parameters details for RHOM_READ_OBJ_COMPLETE_BUFF

ACT_PLVAR - Plan Version

Data type: HROBJECT-PLVAR
Optional: No
Call by Reference: Yes

OM_BUFFER_MODE -

Data type: FLAG
Default: 'X'
Optional: Yes
Call by Reference: Yes

SELECTION_ONLY -

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

ACT_OTYPE - Object Type

Data type: HROBJECT-OTYPE
Optional: No
Call by Reference: Yes

ACT_OBJID - Object ID

Data type: HROBJECT-OBJID
Optional: No
Call by Reference: Yes

BEGDA - Start Date

Data type: OBJEC-BEGDA
Default: '19000101'
Optional: Yes
Call by Reference: Yes

ENDDA - End Date

Data type: OBJEC-ENDDA
Default: '99991231'
Optional: Yes
Call by Reference: Yes

AUTHORITY_CHECK - Historical record flag

Data type: OBJEC-HISTO
Default: 'X'
Optional: Yes
Call by Reference: Yes

STRU_AUTH_CHECK -

Data type: FLAG
Default: 'X'
Optional: Yes
Call by Reference: Yes

FCODE -

Data type: FCODE
Default: 'DISP'
Optional: Yes
Call by Reference: Yes

SUBTY_TO_PARENT -

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

EXPORTING Parameters details for RHOM_READ_OBJ_COMPLETE_BUFF

NO_STRU_AUTH_FCODE -

Data type: FLAG
Optional: No
Call by Reference: Yes

TABLES Parameters details for RHOM_READ_OBJ_COMPLETE_BUFF

INFTY -

Data type: PNNNN_EXP
Optional: No
Call by Reference: Yes

CPY_INFTY -

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

EXCEPTIONS details

NO_DATA_FOUND -

Data type:
Optional: No
Call by Reference: Yes

INFTY_READ_ERROR -

Data type:
Optional: No
Call by Reference: Yes

CPY_INFTY_EMPTY -

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for RHOM_READ_OBJ_COMPLETE_BUFF 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_infty  TYPE STANDARD TABLE OF PNNNN_EXP, "   
lv_act_plvar  TYPE HROBJECT-PLVAR, "   
lv_no_data_found  TYPE HROBJECT, "   
lv_no_stru_auth_fcode  TYPE FLAG, "   
lv_om_buffer_mode  TYPE FLAG, "   'X'
lv_selection_only  TYPE FLAG, "   
lv_act_otype  TYPE HROBJECT-OTYPE, "   
lt_cpy_infty  TYPE STANDARD TABLE OF SEL_INFTY, "   
lv_infty_read_error  TYPE SEL_INFTY, "   
lv_act_objid  TYPE HROBJECT-OBJID, "   
lv_cpy_infty_empty  TYPE HROBJECT, "   
lv_begda  TYPE OBJEC-BEGDA, "   '19000101'
lv_endda  TYPE OBJEC-ENDDA, "   '99991231'
lv_authority_check  TYPE OBJEC-HISTO, "   'X'
lv_stru_auth_check  TYPE FLAG, "   'X'
lv_fcode  TYPE FCODE, "   'DISP'
lv_subty_to_parent  TYPE SUBTYP. "   

  CALL FUNCTION 'RHOM_READ_OBJ_COMPLETE_BUFF'  "
    EXPORTING
         ACT_PLVAR = lv_act_plvar
         OM_BUFFER_MODE = lv_om_buffer_mode
         SELECTION_ONLY = lv_selection_only
         ACT_OTYPE = lv_act_otype
         ACT_OBJID = lv_act_objid
         BEGDA = lv_begda
         ENDDA = lv_endda
         AUTHORITY_CHECK = lv_authority_check
         STRU_AUTH_CHECK = lv_stru_auth_check
         FCODE = lv_fcode
         SUBTY_TO_PARENT = lv_subty_to_parent
    IMPORTING
         NO_STRU_AUTH_FCODE = lv_no_stru_auth_fcode
    TABLES
         INFTY = lt_infty
         CPY_INFTY = lt_cpy_infty
    EXCEPTIONS
        NO_DATA_FOUND = 1
        INFTY_READ_ERROR = 2
        CPY_INFTY_EMPTY = 3
. " RHOM_READ_OBJ_COMPLETE_BUFF




ABAP code using 7.40 inline data declarations to call FM RHOM_READ_OBJ_COMPLETE_BUFF

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 PLVAR FROM HROBJECT INTO @DATA(ld_act_plvar).
 
 
 
DATA(ld_om_buffer_mode) = 'X'.
 
 
"SELECT single OTYPE FROM HROBJECT INTO @DATA(ld_act_otype).
 
 
 
"SELECT single OBJID FROM HROBJECT INTO @DATA(ld_act_objid).
 
 
"SELECT single BEGDA FROM OBJEC INTO @DATA(ld_begda).
DATA(ld_begda) = '19000101'.
 
"SELECT single ENDDA FROM OBJEC INTO @DATA(ld_endda).
DATA(ld_endda) = '99991231'.
 
"SELECT single HISTO FROM OBJEC INTO @DATA(ld_authority_check).
DATA(ld_authority_check) = 'X'.
 
DATA(ld_stru_auth_check) = 'X'.
 
DATA(ld_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!