SAP RSSDK_DATASOURCES_REMOTE_GET Function Module for SDK remote to get list of available data sources for given system









RSSDK_DATASOURCES_REMOTE_GET is a standard rssdk datasources remote get SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for SDK remote to get list of available data sources for given system 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 rssdk datasources remote get FM, simply by entering the name RSSDK_DATASOURCES_REMOTE_GET into the relevant SAP transaction such as SE37 or SE38.

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



Function RSSDK_DATASOURCES_REMOTE_GET 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 'RSSDK_DATASOURCES_REMOTE_GET'"SDK remote to get list of available data sources for given system
EXPORTING
I_QSYSTEMNAME = "JNDI Name of the BI SDK Source System
* I_DATASOURCE_NAME = ' ' "Data Type That Maps the Name of BI SDK DataSources

TABLES
E_T_DST = "List of DataSources available in BISDK source system
E_T_MSG = "Message (ONLY message without anything else)
E_T_TRACE = "Table type for UDC Trace Information keeping

EXCEPTIONS
SYSTEM_FAILURE = 1 COMMUNICATION_FAILURE = 2 OTHERS = 3
.



IMPORTING Parameters details for RSSDK_DATASOURCES_REMOTE_GET

I_QSYSTEMNAME - JNDI Name of the BI SDK Source System

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

I_DATASOURCE_NAME - Data Type That Maps the Name of BI SDK DataSources

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

TABLES Parameters details for RSSDK_DATASOURCES_REMOTE_GET

E_T_DST - List of DataSources available in BISDK source system

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

E_T_MSG - Message (ONLY message without anything else)

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

E_T_TRACE - Table type for UDC Trace Information keeping

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

EXCEPTIONS details

SYSTEM_FAILURE -

Data type:
Optional: No
Call by Reference: Yes

COMMUNICATION_FAILURE -

Data type:
Optional: No
Call by Reference: Yes

OTHERS -

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for RSSDK_DATASOURCES_REMOTE_GET 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_e_t_dst  TYPE STANDARD TABLE OF RSSDK_T_DS_EXT, "   
lv_i_qsystemname  TYPE RSSDK_NAME, "   
lv_system_failure  TYPE RSSDK_NAME, "   
lt_e_t_msg  TYPE STANDARD TABLE OF RSPC_T_MSG, "   
lv_i_datasource_name  TYPE RSSDK_DATASOURCE_NAME, "   ' '
lv_communication_failure  TYPE RSSDK_DATASOURCE_NAME, "   
lv_others  TYPE RSSDK_DATASOURCE_NAME, "   
lt_e_t_trace  TYPE STANDARD TABLE OF RSSDK_T_TRACE. "   

  CALL FUNCTION 'RSSDK_DATASOURCES_REMOTE_GET'  "SDK remote to get list of available data sources for given system
    EXPORTING
         I_QSYSTEMNAME = lv_i_qsystemname
         I_DATASOURCE_NAME = lv_i_datasource_name
    TABLES
         E_T_DST = lt_e_t_dst
         E_T_MSG = lt_e_t_msg
         E_T_TRACE = lt_e_t_trace
    EXCEPTIONS
        SYSTEM_FAILURE = 1
        COMMUNICATION_FAILURE = 2
        OTHERS = 3
. " RSSDK_DATASOURCES_REMOTE_GET




ABAP code using 7.40 inline data declarations to call FM RSSDK_DATASOURCES_REMOTE_GET

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_datasource_name) = ' '.
 
 
 
 


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!