SAP RODPS_REPL_ODP_FETCH_XML Function Module for









RODPS_REPL_ODP_FETCH_XML is a standard rodps repl odp fetch xml 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 xml FM, simply by entering the name RODPS_REPL_ODP_FETCH_XML 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 + BasXML supported
Update:



Function RODPS_REPL_ODP_FETCH_XML 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_XML'"
EXPORTING
I_POINTER = "
* I_PACKAGE = "
* I_REDO = "
* I_MAXPACKAGESIZE = "

IMPORTING
E_PACKAGE = "
E_NO_MORE_DATA = "
E_XML = "
E_XML_FORMAT_USED = "

TABLES
* ET_RETURN = "
IT_SUPPORTED_XML_FORMATS = "
.



IMPORTING Parameters details for RODPS_REPL_ODP_FETCH_XML

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
Optional: Yes
Call by Reference: No ( called with pass by value option)

EXPORTING Parameters details for RODPS_REPL_ODP_FETCH_XML

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)

E_XML -

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

E_XML_FORMAT_USED -

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

TABLES Parameters details for RODPS_REPL_ODP_FETCH_XML

ET_RETURN -

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

IT_SUPPORTED_XML_FORMATS -

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

Copy and paste ABAP code example for RODPS_REPL_ODP_FETCH_XML 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_return  TYPE STANDARD TABLE OF BAPIRETTAB, "   
lv_e_package  TYPE RODPS_REPL_EXTRACTION_PACKAGE, "   
lv_i_pointer  TYPE RODPS_REPL_POINTER, "   
lv_i_package  TYPE RODPS_REPL_EXTRACTION_PACKAGE, "   
lv_e_no_more_data  TYPE ODQ_BOOLEAN, "   
lt_it_supported_xml_formats  TYPE STANDARD TABLE OF RODPS_REPL_T_XML_FORMAT, "   
lv_e_xml  TYPE XSTRING, "   
lv_i_redo  TYPE ODQ_BOOLEAN, "   
lv_i_maxpackagesize  TYPE RODPS_REPL_SIZE, "   
lv_e_xml_format_used  TYPE RODPS_REPL_XML_FORMAT. "   

  CALL FUNCTION 'RODPS_REPL_ODP_FETCH_XML'  "
    EXPORTING
         I_POINTER = lv_i_pointer
         I_PACKAGE = lv_i_package
         I_REDO = lv_i_redo
         I_MAXPACKAGESIZE = lv_i_maxpackagesize
    IMPORTING
         E_PACKAGE = lv_e_package
         E_NO_MORE_DATA = lv_e_no_more_data
         E_XML = lv_e_xml
         E_XML_FORMAT_USED = lv_e_xml_format_used
    TABLES
         ET_RETURN = lt_et_return
         IT_SUPPORTED_XML_FORMATS = lt_it_supported_xml_formats
. " RODPS_REPL_ODP_FETCH_XML




ABAP code using 7.40 inline data declarations to call FM RODPS_REPL_ODP_FETCH_XML

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.

 
 
 
 
 
 
 
 
 
 


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!