SAP REOBJECT_GENREAD_DATGAB Function Module for









REOBJECT_GENREAD_DATGAB is a standard reobject genread datgab 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 reobject genread datgab FM, simply by entering the name REOBJECT_GENREAD_DATGAB into the relevant SAP transaction such as SE37 or SE38.

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



Function REOBJECT_GENREAD_DATGAB 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 'REOBJECT_GENREAD_DATGAB'"
EXPORTING
IV_BUKRS = "
IV_ANLN1 = "
IV_ANLN2 = "
IV_DATGAB = "
* IV_RESET_BUFFER = 'X' "
* IV_BYPASSING_BUFFER = "
* IV_MAX_BUFFER_SIZE = 100 "

TABLES
* ET_VIOB37 = "

EXCEPTIONS
BUFFER_INCONSISTENCY = 1 INDEX_INCONSISTENCY = 2 NOT_FOUND = 3 PARAMETER_ERROR = 4 OTHER_ERROR_INDEX_PUSH = 5
.



IMPORTING Parameters details for REOBJECT_GENREAD_DATGAB

IV_BUKRS -

Data type: VIOB37-BUKRS
Optional: No
Call by Reference: Yes

IV_ANLN1 -

Data type: VIOB37-ANLN1
Optional: No
Call by Reference: Yes

IV_ANLN2 -

Data type: VIOB37-ANLN2
Optional: No
Call by Reference: Yes

IV_DATGAB -

Data type: VIOB37-DATGAB
Optional: No
Call by Reference: Yes

IV_RESET_BUFFER -

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

IV_BYPASSING_BUFFER -

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

IV_MAX_BUFFER_SIZE -

Data type: I
Default: 100
Optional: Yes
Call by Reference: Yes

TABLES Parameters details for REOBJECT_GENREAD_DATGAB

ET_VIOB37 -

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

EXCEPTIONS details

BUFFER_INCONSISTENCY -

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

INDEX_INCONSISTENCY -

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

NOT_FOUND -

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

PARAMETER_ERROR -

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

OTHER_ERROR_INDEX_PUSH -

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

Copy and paste ABAP code example for REOBJECT_GENREAD_DATGAB 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_iv_bukrs  TYPE VIOB37-BUKRS, "   
lt_et_viob37  TYPE STANDARD TABLE OF VIOB37, "   
lv_buffer_inconsistency  TYPE VIOB37, "   
lv_iv_anln1  TYPE VIOB37-ANLN1, "   
lv_index_inconsistency  TYPE VIOB37, "   
lv_iv_anln2  TYPE VIOB37-ANLN2, "   
lv_not_found  TYPE VIOB37, "   
lv_iv_datgab  TYPE VIOB37-DATGAB, "   
lv_parameter_error  TYPE VIOB37, "   
lv_iv_reset_buffer  TYPE XFELD, "   'X'
lv_other_error_index_push  TYPE XFELD, "   
lv_iv_bypassing_buffer  TYPE XFELD, "   
lv_iv_max_buffer_size  TYPE I. "   100

  CALL FUNCTION 'REOBJECT_GENREAD_DATGAB'  "
    EXPORTING
         IV_BUKRS = lv_iv_bukrs
         IV_ANLN1 = lv_iv_anln1
         IV_ANLN2 = lv_iv_anln2
         IV_DATGAB = lv_iv_datgab
         IV_RESET_BUFFER = lv_iv_reset_buffer
         IV_BYPASSING_BUFFER = lv_iv_bypassing_buffer
         IV_MAX_BUFFER_SIZE = lv_iv_max_buffer_size
    TABLES
         ET_VIOB37 = lt_et_viob37
    EXCEPTIONS
        BUFFER_INCONSISTENCY = 1
        INDEX_INCONSISTENCY = 2
        NOT_FOUND = 3
        PARAMETER_ERROR = 4
        OTHER_ERROR_INDEX_PUSH = 5
. " REOBJECT_GENREAD_DATGAB




ABAP code using 7.40 inline data declarations to call FM REOBJECT_GENREAD_DATGAB

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 BUKRS FROM VIOB37 INTO @DATA(ld_iv_bukrs).
 
 
 
"SELECT single ANLN1 FROM VIOB37 INTO @DATA(ld_iv_anln1).
 
 
"SELECT single ANLN2 FROM VIOB37 INTO @DATA(ld_iv_anln2).
 
 
"SELECT single DATGAB FROM VIOB37 INTO @DATA(ld_iv_datgab).
 
 
DATA(ld_iv_reset_buffer) = 'X'.
 
 
 
DATA(ld_iv_max_buffer_size) = 100.
 


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!