SAP RSDL_DB_UPLOAD Function Module for Upload of DB data to an InfoSource









RSDL_DB_UPLOAD is a standard rsdl db upload SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Upload of DB data to an InfoSource 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 rsdl db upload FM, simply by entering the name RSDL_DB_UPLOAD into the relevant SAP transaction such as SE37 or SE38.

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



Function RSDL_DB_UPLOAD 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 'RSDL_DB_UPLOAD'"Upload of DB data to an InfoSource
EXPORTING
I_ISOURCE = "InfoSource
I_LOGSYS = "Source System
I_OLTPSOURCE = "DataSource
I_REQUESTID = "

IMPORTING
E_T_MESSAGES = "Notification Transfer

TABLES
I_T_SELVALUES = "
.



IMPORTING Parameters details for RSDL_DB_UPLOAD

I_ISOURCE - InfoSource

Data type: RSLDPIO-SOURCE
Optional: No
Call by Reference: Yes

I_LOGSYS - Source System

Data type: RSLDPIO-LOGSYS
Optional: No
Call by Reference: Yes

I_OLTPSOURCE - DataSource

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

I_REQUESTID -

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

EXPORTING Parameters details for RSDL_DB_UPLOAD

E_T_MESSAGES - Notification Transfer

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

TABLES Parameters details for RSDL_DB_UPLOAD

I_T_SELVALUES -

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

Copy and paste ABAP code example for RSDL_DB_UPLOAD 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_i_isource  TYPE RSLDPIO-SOURCE, "   
lv_e_t_messages  TYPE RSAOS_T_MESSAGES, "   
lt_i_t_selvalues  TYPE STANDARD TABLE OF RSARR_T_REQUEST_SVALUES, "   
lv_i_logsys  TYPE RSLDPIO-LOGSYS, "   
lv_i_oltpsource  TYPE RSOLTPSOURCER, "   
lv_i_requestid  TYPE RSARI_REQUESTID. "   

  CALL FUNCTION 'RSDL_DB_UPLOAD'  "Upload of DB data to an InfoSource
    EXPORTING
         I_ISOURCE = lv_i_isource
         I_LOGSYS = lv_i_logsys
         I_OLTPSOURCE = lv_i_oltpsource
         I_REQUESTID = lv_i_requestid
    IMPORTING
         E_T_MESSAGES = lv_e_t_messages
    TABLES
         I_T_SELVALUES = lt_i_t_seltalues
. " RSDL_DB_UPLOAD




ABAP code using 7.40 inline data declarations to call FM RSDL_DB_UPLOAD

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 SOURCE FROM RSLDPIO INTO @DATA(ld_i_isource).
 
 
 
"SELECT single LOGSYS FROM RSLDPIO INTO @DATA(ld_i_logsys).
 
 
 


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!