SAP RODPS_REPL_ODP_FETCH Function Module for









RODPS_REPL_ODP_FETCH is a standard rodps repl odp fetch 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 rodps repl odp fetch FM, simply by entering the name RODPS_REPL_ODP_FETCH into the relevant SAP transaction such as SE37 or SE38.

Function Group: RODPS_REPL
Program Name: SAPLRODPS_REPL
Main Program: SAPLRODPS_REPL
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:



Function RODPS_REPL_ODP_FETCH 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 'RODPS_REPL_ODP_FETCH'"
EXPORTING
I_POINTER = "
* I_PACKAGE = "
* I_REDO = "
* I_MAXPACKAGESIZE = '52428800' "
* I_ENCODING = 'UTF-8' "

IMPORTING
E_PACKAGE = "
E_NO_MORE_DATA = "

TABLES
* ET_DATA = "
* ET_RETURN = "
.



IMPORTING Parameters details for RODPS_REPL_ODP_FETCH

I_POINTER -

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

I_PACKAGE -

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

I_REDO -

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

I_MAXPACKAGESIZE -

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

I_ENCODING -

Data type: ABAP_ENCOD
Default: 'UTF-8'
Optional: Yes
Call by Reference: No ( called with pass by value option)

EXPORTING Parameters details for RODPS_REPL_ODP_FETCH

E_PACKAGE -

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

E_NO_MORE_DATA -

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

TABLES Parameters details for RODPS_REPL_ODP_FETCH

ET_DATA -

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

ET_RETURN -

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

Copy and paste ABAP code example for RODPS_REPL_ODP_FETCH 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_et_data  TYPE STANDARD TABLE OF RODPS_REPL_T_XDATA, "   
lv_e_package  TYPE RODPS_REPL_EXTRACTION_PACKAGE, "   
lv_i_pointer  TYPE RODPS_REPL_POINTER, "   
lt_et_return  TYPE STANDARD TABLE OF BAPIRETTAB, "   
lv_i_package  TYPE RODPS_REPL_EXTRACTION_PACKAGE, "   
lv_e_no_more_data  TYPE ODQ_BOOLEAN, "   
lv_i_redo  TYPE ODQ_BOOLEAN, "   
lv_i_maxpackagesize  TYPE RODPS_REPL_SIZE, "   '52428800'
lv_i_encoding  TYPE ABAP_ENCOD. "   'UTF-8'

  CALL FUNCTION 'RODPS_REPL_ODP_FETCH'  "
    EXPORTING
         I_POINTER = lv_i_pointer
         I_PACKAGE = lv_i_package
         I_REDO = lv_i_redo
         I_MAXPACKAGESIZE = lv_i_maxpackagesize
         I_ENCODING = lv_i_encoding
    IMPORTING
         E_PACKAGE = lv_e_package
         E_NO_MORE_DATA = lv_e_no_more_data
    TABLES
         ET_DATA = lt_et_data
         ET_RETURN = lt_et_return
. " RODPS_REPL_ODP_FETCH




ABAP code using 7.40 inline data declarations to call FM RODPS_REPL_ODP_FETCH

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_i_maxpackagesize) = '52428800'.
 
DATA(ld_i_encoding) = 'UTF-8'.
 


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!