SAP RSSDK_GEN_EXTRACTORS Function Module for FuBa generates the necessary extraction elements









RSSDK_GEN_EXTRACTORS is a standard rssdk gen extractors SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for FuBa generates the necessary extraction elements 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 gen extractors FM, simply by entering the name RSSDK_GEN_EXTRACTORS 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_GEN_EXTRACTORS 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_GEN_EXTRACTORS'"FuBa generates the necessary extraction elements
EXPORTING
I_RFCDEST = "UDC RFcDestType
I_UDC_SSYSTEM = "JNDI Name of the BI SDK Source System
I_UDC_DATASOURCE = "Data Type That Maps the Name of BI SDK DataSources
I_BW_SSYSTEM = "Source System
I_BW_DATASOURCE = "DataSource
* I_MODE_CHANGE = RS_C_FALSE "Boolean
* I_DS_TYPE_MDX = 'TRAN ' "DataSource Type
* I_INFOSOURCE = './//.' "InfoSource

TABLES
I_MAPTAB = "UDC table for UDC DS assignment to BW

EXCEPTIONS
WRONG_IOBJ_SETTING = 1 GEN_DS_1 = 10 GEN_DS_2 = 11 REPLICATE_DS_1 = 12 WRONG_INPUT = 13 GEN_IS_1 = 14 OTHERS = 15 GET_IOBJ_INFO = 2 CLEANUP_1 = 3 CLEANUP_2 = 4 GEN_STRUCT_1 = 5 GEN_STRUCT_2 = 6 GEN_FUNC_1 = 7 GEN_FUNC_2 = 8 GEN_FUNC_3 = 9
.



IMPORTING Parameters details for RSSDK_GEN_EXTRACTORS

I_RFCDEST - UDC RFcDestType

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

I_UDC_SSYSTEM - 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_UDC_DATASOURCE - Data Type That Maps the Name of BI SDK DataSources

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

I_BW_SSYSTEM - Source System

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

I_BW_DATASOURCE - DataSource

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

I_MODE_CHANGE - Boolean

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

I_DS_TYPE_MDX - DataSource Type

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

I_INFOSOURCE - InfoSource

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

TABLES Parameters details for RSSDK_GEN_EXTRACTORS

I_MAPTAB - UDC table for UDC DS assignment to BW

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

EXCEPTIONS details

WRONG_IOBJ_SETTING -

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

GEN_DS_1 -

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

GEN_DS_2 -

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

REPLICATE_DS_1 -

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

WRONG_INPUT -

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

GEN_IS_1 -

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

OTHERS -

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

GET_IOBJ_INFO -

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

CLEANUP_1 -

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

CLEANUP_2 -

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

GEN_STRUCT_1 -

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

GEN_STRUCT_2 -

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

GEN_FUNC_1 -

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

GEN_FUNC_2 -

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

GEN_FUNC_3 -

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

Copy and paste ABAP code example for RSSDK_GEN_EXTRACTORS 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_i_maptab  TYPE STANDARD TABLE OF RSSDK_T_MAP_HELP, "   
lv_i_rfcdest  TYPE RSSDK_RFCDEST, "   
lv_wrong_iobj_setting  TYPE RSSDK_RFCDEST, "   
lv_gen_ds_1  TYPE RSSDK_RFCDEST, "   
lv_gen_ds_2  TYPE RSSDK_RFCDEST, "   
lv_replicate_ds_1  TYPE RSSDK_RFCDEST, "   
lv_wrong_input  TYPE RSSDK_RFCDEST, "   
lv_gen_is_1  TYPE RSSDK_RFCDEST, "   
lv_others  TYPE RSSDK_RFCDEST, "   
lv_get_iobj_info  TYPE RSSDK_RFCDEST, "   
lv_i_udc_ssystem  TYPE RSSDK_NAME, "   
lv_cleanup_1  TYPE RSSDK_NAME, "   
lv_i_udc_datasource  TYPE RSSDK_DATASOURCE_NAME, "   
lv_cleanup_2  TYPE RSSDK_DATASOURCE_NAME, "   
lv_i_bw_ssystem  TYPE RSBASIDOC-SLOGSYS, "   
lv_gen_struct_1  TYPE RSBASIDOC, "   
lv_i_bw_datasource  TYPE ROOSOURCER, "   
lv_gen_struct_2  TYPE ROOSOURCER, "   
lv_i_mode_change  TYPE RS_BOOL, "   RS_C_FALSE
lv_gen_func_1  TYPE RS_BOOL, "   
lv_i_ds_type_mdx  TYPE ROOSTYPE, "   'TRAN '
lv_gen_func_2  TYPE ROOSTYPE, "   
lv_i_infosource  TYPE RSISOURCE, "   ',///,'
lv_gen_func_3  TYPE RSISOURCE. "   

  CALL FUNCTION 'RSSDK_GEN_EXTRACTORS'  "FuBa generates the necessary extraction elements
    EXPORTING
         I_RFCDEST = lv_i_rfcdest
         I_UDC_SSYSTEM = lv_i_udc_ssystem
         I_UDC_DATASOURCE = lv_i_udc_datasource
         I_BW_SSYSTEM = lv_i_bw_ssystem
         I_BW_DATASOURCE = lv_i_bw_datasource
         I_MODE_CHANGE = lv_i_mode_change
         I_DS_TYPE_MDX = lv_i_ds_type_mdx
         I_INFOSOURCE = lv_i_infosource
    TABLES
         I_MAPTAB = lt_i_maptab
    EXCEPTIONS
        WRONG_IOBJ_SETTING = 1
        GEN_DS_1 = 10
        GEN_DS_2 = 11
        REPLICATE_DS_1 = 12
        WRONG_INPUT = 13
        GEN_IS_1 = 14
        OTHERS = 15
        GET_IOBJ_INFO = 2
        CLEANUP_1 = 3
        CLEANUP_2 = 4
        GEN_STRUCT_1 = 5
        GEN_STRUCT_2 = 6
        GEN_FUNC_1 = 7
        GEN_FUNC_2 = 8
        GEN_FUNC_3 = 9
. " RSSDK_GEN_EXTRACTORS




ABAP code using 7.40 inline data declarations to call FM RSSDK_GEN_EXTRACTORS

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 SLOGSYS FROM RSBASIDOC INTO @DATA(ld_i_bw_ssystem).
 
 
 
 
DATA(ld_i_mode_change) = RS_C_FALSE.
 
 
DATA(ld_i_ds_type_mdx) = 'TRAN '.
 
 
DATA(ld_i_infosource) = './//.'.
 
 


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!