SAP Function Modules

RSDS_DATA_PULL SAP Function module - Data extraction by "passive" Extractor







RSDS_DATA_PULL is a standard SAP function module available within R/3 SAP systems depending on your version and release level. Below is the pattern details for this FM showing its interface including any import and export parameters, exceptions etc as well as any documentation contributions (Comments) specific to the object.

See here to view full function module documentation and code listing, simply by entering the name RSDS_DATA_PULL into the relevant SAP transaction such as SE37 or SE80.

Associated Function Group: RSDS_BACKEND
Released Date: Not Released
Processing type: Normal fucntion module
Normal function module settings


Pattern for FM RSDS_DATA_PULL - RSDS DATA PULL





CALL FUNCTION 'RSDS_DATA_PULL' "Data extraction by "passive" Extractor
  EXPORTING
*   i_request =                 " rsrequid      Request ID (Data Package)
*   i_datapakid =               " rsdatapid     Data Package Number
    i_datasource =              " rsoltpsourcer  DataSource
    i_logsys =                  " rsslogsys     Source System
*   i_extract =                 " rsdsaccess    Access Method DataSource
*   i_convert =                 " rsdsaccess    Access Method DataSource
*   i_t_methods =               " rsds_t_r_accessattr  Instances of Access Methods
*   i_t_select =                " rs_t_rscedst  BIW: Transfer structure selections
*   i_t_fields =                " rsds_t_extract_fields  Fields for Extraction
*   i_updmode =                 " roupdmode     Mode of data update (Full, Delta, etc.)
*   i_nofetch =                 " rsds_nofetch  Method Does Not Permit Packaging During Loading
*   i_fetchsize =               " rsmaxsize     Maximum number of table entries in extraction API interface
*   i_maxrows = 0               " i             A priori limitation of result set in data sets (0 = none)
*   i_synchronous =             " rs_bool       update synchronously
*   i_no_store =                " rs_bool       Do not save data, but store in memory
*   i_no_monitor =              " rs_bool       Do not write monitoring entries
*   i_crt =                     " rsds_onlycrt  Extractor Only to Be Used for Close to Real-time
*   i_one_paket =               " rs_bool       Extract only the first package
*   i_read_only =               " rs_bool       Extractor Should Only Read, No Delta Management
*   i_external =                " rs_bool       Module is called package-wise several times
  IMPORTING
    e_error =                   " rs_bool       Errors occurred
    e_no_more_data =            " rs_bool       No More Data Available
    .  "  RSDS_DATA_PULL

ABAP code example for Function Module RSDS_DATA_PULL





The ABAP code below is a full code listing to execute function module RSDS_DATA_PULL including all data declarations. The code uses 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 original method of declaring data variables up front. 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).

DATA:
ld_e_error  TYPE RS_BOOL ,
ld_e_no_more_data  TYPE RS_BOOL .

DATA(ld_i_request) = 'Check type of data required'.
DATA(ld_i_datapakid) = 'Check type of data required'.
DATA(ld_i_datasource) = 'Check type of data required'.
DATA(ld_i_logsys) = 'some text here'.
DATA(ld_i_extract) = 'some text here'.
DATA(ld_i_convert) = 'some text here'.
DATA(ld_i_t_methods) = 'some text here'.
DATA(ld_i_t_select) = 'some text here'.
DATA(ld_i_t_fields) = 'some text here'.
DATA(ld_i_updmode) = 'some text here'.
DATA(ld_i_nofetch) = 'some text here'.
DATA(ld_i_fetchsize) = 'some text here'.
DATA(ld_i_maxrows) = 'some text here'.
DATA(ld_i_synchronous) = 'some text here'.
DATA(ld_i_no_store) = 'some text here'.
DATA(ld_i_no_monitor) = 'some text here'.
DATA(ld_i_crt) = 'some text here'.
DATA(ld_i_one_paket) = 'some text here'.
DATA(ld_i_read_only) = 'some text here'.
DATA(ld_i_external) = 'some text here'. . CALL FUNCTION 'RSDS_DATA_PULL' EXPORTING * i_request = ld_i_request * i_datapakid = ld_i_datapakid i_datasource = ld_i_datasource i_logsys = ld_i_logsys * i_extract = ld_i_extract * i_convert = ld_i_convert * i_t_methods = ld_i_t_methods * i_t_select = ld_i_t_select * i_t_fields = ld_i_t_fields * i_updmode = ld_i_updmode * i_nofetch = ld_i_nofetch * i_fetchsize = ld_i_fetchsize * i_maxrows = ld_i_maxrows * i_synchronous = ld_i_synchronous * i_no_store = ld_i_no_store * i_no_monitor = ld_i_no_monitor * i_crt = ld_i_crt * i_one_paket = ld_i_one_paket * i_read_only = ld_i_read_only * i_external = ld_i_external IMPORTING e_error = ld_e_error e_no_more_data = ld_e_no_more_data . " RSDS_DATA_PULL
IF SY-SUBRC EQ 0. "All OK ENDIF.







ABAP code to compare 7.40 inline data declaration with original syntax

The below ABAP code uses the older none in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. It may also be useful if you are using an older version of SAP as some of the newer syntax above, such as the @DATA is not available until 4.70 EHP 8.

DATA:
ld_e_error  TYPE RS_BOOL ,
ld_i_request  TYPE RSREQUID ,
ld_e_no_more_data  TYPE RS_BOOL ,
ld_i_datapakid  TYPE RSDATAPID ,
ld_i_datasource  TYPE RSOLTPSOURCER ,
ld_i_logsys  TYPE RSSLOGSYS ,
ld_i_extract  TYPE RSDSACCESS ,
ld_i_convert  TYPE RSDSACCESS ,
ld_i_t_methods  TYPE RSDS_T_R_ACCESSATTR ,
ld_i_t_select  TYPE RS_T_RSCEDST ,
ld_i_t_fields  TYPE RSDS_T_EXTRACT_FIELDS ,
ld_i_updmode  TYPE ROUPDMODE ,
ld_i_nofetch  TYPE RSDS_NOFETCH ,
ld_i_fetchsize  TYPE RSMAXSIZE ,
ld_i_maxrows  TYPE I ,
ld_i_synchronous  TYPE RS_BOOL ,
ld_i_no_store  TYPE RS_BOOL ,
ld_i_no_monitor  TYPE RS_BOOL ,
ld_i_crt  TYPE RSDS_ONLYCRT ,
ld_i_one_paket  TYPE RS_BOOL ,
ld_i_read_only  TYPE RS_BOOL ,
ld_i_external  TYPE RS_BOOL .

ld_i_request = 'some text here'.
ld_i_datapakid = 'some text here'.
ld_i_datasource = 'some text here'.
ld_i_logsys = 'some text here'.
ld_i_extract = 'some text here'.
ld_i_convert = 'some text here'.
ld_i_t_methods = 'some text here'.
ld_i_t_select = 'some text here'.
ld_i_t_fields = 'some text here'.
ld_i_updmode = 'some text here'.
ld_i_nofetch = 'some text here'.
ld_i_fetchsize = 'some text here'.
ld_i_maxrows = 'some text here'.
ld_i_synchronous = 'some text here'.
ld_i_no_store = 'some text here'.
ld_i_no_monitor = 'some text here'.
ld_i_crt = 'some text here'.
ld_i_one_paket = 'some text here'.
ld_i_read_only = 'some text here'.
ld_i_external = 'some text here'.

Contribute (Add Comments)

Please help keep this info upto date and use the comments section below to add useful hints, tips and information specific to this SAP function. This will then be available for you and other users to easily find by simply searching on the object name RSDS_DATA_PULL or its description.