SAP Function Modules

RSDS_DATA_PUSH_REF SAP Function module - save PSA new DataSource







RSDS_DATA_PUSH_REF 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_PUSH_REF 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_PUSH_REF - RSDS DATA PUSH REF





CALL FUNCTION 'RSDS_DATA_PUSH_REF' "save PSA new DataSource
  EXPORTING
*   i_request =                 " rsrequid      Request ID (Data Package)
    i_datasource =              " rsoltpsourcer  DataSource
    i_logsys =                  " rsslogsys     Source System
    i_datapakid =               " rsdatapid     Data Package Number
*   i_segid =                   " rsds_segid    Segment
*   i_more_segs =               " rs_bool       Additional segments in this data package
    i_r_sdata =                 " data          Reference to Data
*   i_filtered =                " rsnumrecord   Number of selected data records (absolute)
*   i_memory =                  " rs_bool       Save data to memory
*   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_log =                 " rs_bool       Write into CRT-Log
*   i_crt =                     " rsds_onlycrt  Extractor Only to Be Used for Close to Real-time
*   i_updmode =                 " roupdmode     Mode of data update (Full, Delta, etc.)
  IMPORTING
    e_error =                   " rs_bool       Errors occurred
    .  "  RSDS_DATA_PUSH_REF

ABAP code example for Function Module RSDS_DATA_PUSH_REF





The ABAP code below is a full code listing to execute function module RSDS_DATA_PUSH_REF 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 .

DATA(ld_i_request) = 'Check type of data required'.
DATA(ld_i_datasource) = 'Check type of data required'.
DATA(ld_i_logsys) = 'some text here'.
DATA(ld_i_datapakid) = 'some text here'.
DATA(ld_i_segid) = 'some text here'.
DATA(ld_i_more_segs) = 'some text here'.
DATA(ld_i_r_sdata) = 'some text here'.
DATA(ld_i_filtered) = 'some text here'.
DATA(ld_i_memory) = 'some text here'.
DATA(ld_i_no_store) = 'some text here'.
DATA(ld_i_no_monitor) = 'some text here'.
DATA(ld_i_crt_log) = 'some text here'.
DATA(ld_i_crt) = 'some text here'.
DATA(ld_i_updmode) = 'some text here'. . CALL FUNCTION 'RSDS_DATA_PUSH_REF' EXPORTING * i_request = ld_i_request i_datasource = ld_i_datasource i_logsys = ld_i_logsys i_datapakid = ld_i_datapakid * i_segid = ld_i_segid * i_more_segs = ld_i_more_segs i_r_sdata = ld_i_r_sdata * i_filtered = ld_i_filtered * i_memory = ld_i_memory * i_no_store = ld_i_no_store * i_no_monitor = ld_i_no_monitor * i_crt_log = ld_i_crt_log * i_crt = ld_i_crt * i_updmode = ld_i_updmode IMPORTING e_error = ld_e_error . " RSDS_DATA_PUSH_REF
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_i_datasource  TYPE RSOLTPSOURCER ,
ld_i_logsys  TYPE RSSLOGSYS ,
ld_i_datapakid  TYPE RSDATAPID ,
ld_i_segid  TYPE RSDS_SEGID ,
ld_i_more_segs  TYPE RS_BOOL ,
ld_i_r_sdata  TYPE DATA ,
ld_i_filtered  TYPE RSNUMRECORD ,
ld_i_memory  TYPE RS_BOOL ,
ld_i_no_store  TYPE RS_BOOL ,
ld_i_no_monitor  TYPE RS_BOOL ,
ld_i_crt_log  TYPE RS_BOOL ,
ld_i_crt  TYPE RSDS_ONLYCRT ,
ld_i_updmode  TYPE ROUPDMODE .

ld_i_request = 'some text here'.
ld_i_datasource = 'some text here'.
ld_i_logsys = 'some text here'.
ld_i_datapakid = 'some text here'.
ld_i_segid = 'some text here'.
ld_i_more_segs = 'some text here'.
ld_i_r_sdata = 'some text here'.
ld_i_filtered = 'some text here'.
ld_i_memory = 'some text here'.
ld_i_no_store = 'some text here'.
ld_i_no_monitor = 'some text here'.
ld_i_crt_log = 'some text here'.
ld_i_crt = 'some text here'.
ld_i_updmode = '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_PUSH_REF or its description.