SAP RSSDK_METADATA_GENERATE Function Module for Generating an SDK DataSource for BW









RSSDK_METADATA_GENERATE is a standard rssdk metadata generate SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Generating an SDK DataSource for BW 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 metadata generate FM, simply by entering the name RSSDK_METADATA_GENERATE into the relevant SAP transaction such as SE37 or SE38.

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



Function RSSDK_METADATA_GENERATE 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_METADATA_GENERATE'"Generating an SDK DataSource for BW
EXPORTING
* I_CHECK = RS_C_FALSE "Boolean
I_S_DS = "Description of Database Connections
I_S_DST = "Texts for OLTP Sources
I_T_DSFIE = "OLTP Source Fields
I_T_DSFIET = "Texts for OLTP Source Fields

IMPORTING
E_S_OLTPSOURCE = "Replicate Table for OLTP Sources in BW
E_T_OLTPSOURCET = "Texts for OLTP Sources
E_T_OSOURCEFIELD = "OLTP Source Fields
E_T_OSOURCEFIELDT = "Texts for OLTP Source Fields
E_T_MESSAGES = "Notification Transfer

EXCEPTIONS
INCONSISTENT = 1
.



IMPORTING Parameters details for RSSDK_METADATA_GENERATE

I_CHECK - Boolean

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

I_S_DS - Description of Database Connections

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

I_S_DST - Texts for OLTP Sources

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

I_T_DSFIE - OLTP Source Fields

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

I_T_DSFIET - Texts for OLTP Source Fields

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

EXPORTING Parameters details for RSSDK_METADATA_GENERATE

E_S_OLTPSOURCE - Replicate Table for OLTP Sources in BW

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

E_T_OLTPSOURCET - Texts for OLTP Sources

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

E_T_OSOURCEFIELD - OLTP Source Fields

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

E_T_OSOURCEFIELDT - Texts for OLTP Source Fields

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

E_T_MESSAGES - Notification Transfer

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

EXCEPTIONS details

INCONSISTENT -

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

Copy and paste ABAP code example for RSSDK_METADATA_GENERATE 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_check  TYPE RS_BOOL, "   RS_C_FALSE
lv_inconsistent  TYPE RS_BOOL, "   
lv_e_s_oltpsource  TYPE RSAOS_S_OLTPSOURCE, "   
lv_i_s_ds  TYPE RSAOS_S_OLTPSOURCE, "   
lv_e_t_oltpsourcet  TYPE RSAOS_T_OLTPSOURCET, "   
lv_i_s_dst  TYPE RSAOS_S_OLTPSOURCET, "   
lv_e_t_osourcefield  TYPE RSAOS_T_OLTPSOURCEFIE, "   
lv_i_t_dsfie  TYPE RSAOS_T_OLTPSOURCEFIE, "   
lv_e_t_osourcefieldt  TYPE RSAOS_T_OLTPSOURCEFIET, "   
lv_i_t_dsfiet  TYPE RSAOS_T_OLTPSOURCEFIET, "   
lv_e_t_messages  TYPE RSAOS_T_MESSAGES. "   

  CALL FUNCTION 'RSSDK_METADATA_GENERATE'  "Generating an SDK DataSource for BW
    EXPORTING
         I_CHECK = lv_i_check
         I_S_DS = lv_i_s_ds
         I_S_DST = lv_i_s_dst
         I_T_DSFIE = lv_i_t_dsfie
         I_T_DSFIET = lv_i_t_dsfiet
    IMPORTING
         E_S_OLTPSOURCE = lv_e_s_oltpsource
         E_T_OLTPSOURCET = lv_e_t_oltpsourcet
         E_T_OSOURCEFIELD = lv_e_t_osourcefield
         E_T_OSOURCEFIELDT = lv_e_t_osourcefieldt
         E_T_MESSAGES = lv_e_t_messages
    EXCEPTIONS
        INCONSISTENT = 1
. " RSSDK_METADATA_GENERATE




ABAP code using 7.40 inline data declarations to call FM RSSDK_METADATA_GENERATE

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_check) = RS_C_FALSE.
 
 
 
 
 
 
 
 
 
 
 


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!