SAP Function Modules

RSDDS_CHANGERUN_MONITOR SAP Function module - Monitor for Change Run







RSDDS_CHANGERUN_MONITOR 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 RSDDS_CHANGERUN_MONITOR into the relevant SAP transaction such as SE37 or SE80.

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


Pattern for FM RSDDS_CHANGERUN_MONITOR - RSDDS CHANGERUN MONITOR





CALL FUNCTION 'RSDDS_CHANGERUN_MONITOR' "Monitor for Change Run
  EXPORTING
    i_with_details = RS_C_TRUE  " rs_bool       Boolean
*   i_t_chabasnm =              " rsd_t_iobjnm  List of InfoObjects
*   i_t_hieid =                 " rshi_t_hieid  List of Hierarchy IDs
  IMPORTING
    e_ts_state_cr =             " rsdds_ts_state_cr
    e_ts_chanm_in_aggr =        " rsdds_ts_chabas  Changes by Basic Characteristic
    e_ts_hier_cr =              " rsdds_ts_hier_cr
    e_ts_chabasnm_cr =          " rsdds_ts_chabasnm_cr
    e_t_aggregate_cr =          " rsdds_t_aggregate_cr
    e_ts_trexaggr_cr =          " rsdds_ts_trexaggr_cr
    e_tsx_msg_cr =              " rsdds_tsx_msg_cr  BW: Table with Messages (Application Log)
    .  "  RSDDS_CHANGERUN_MONITOR

ABAP code example for Function Module RSDDS_CHANGERUN_MONITOR





The ABAP code below is a full code listing to execute function module RSDDS_CHANGERUN_MONITOR 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_ts_state_cr  TYPE RSDDS_TS_STATE_CR ,
ld_e_ts_chanm_in_aggr  TYPE RSDDS_TS_CHABAS ,
ld_e_ts_hier_cr  TYPE RSDDS_TS_HIER_CR ,
ld_e_ts_chabasnm_cr  TYPE RSDDS_TS_CHABASNM_CR ,
ld_e_t_aggregate_cr  TYPE RSDDS_T_AGGREGATE_CR ,
ld_e_ts_trexaggr_cr  TYPE RSDDS_TS_TREXAGGR_CR ,
ld_e_tsx_msg_cr  TYPE RSDDS_TSX_MSG_CR .

DATA(ld_i_with_details) = 'Check type of data required'.
DATA(ld_i_t_chabasnm) = 'Check type of data required'.
DATA(ld_i_t_hieid) = 'Check type of data required'. . CALL FUNCTION 'RSDDS_CHANGERUN_MONITOR' EXPORTING i_with_details = ld_i_with_details * i_t_chabasnm = ld_i_t_chabasnm * i_t_hieid = ld_i_t_hieid IMPORTING e_ts_state_cr = ld_e_ts_state_cr e_ts_chanm_in_aggr = ld_e_ts_chanm_in_aggr e_ts_hier_cr = ld_e_ts_hier_cr e_ts_chabasnm_cr = ld_e_ts_chabasnm_cr e_t_aggregate_cr = ld_e_t_aggregate_cr e_ts_trexaggr_cr = ld_e_ts_trexaggr_cr e_tsx_msg_cr = ld_e_tsx_msg_cr . " RSDDS_CHANGERUN_MONITOR
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_ts_state_cr  TYPE RSDDS_TS_STATE_CR ,
ld_i_with_details  TYPE RS_BOOL ,
ld_e_ts_chanm_in_aggr  TYPE RSDDS_TS_CHABAS ,
ld_i_t_chabasnm  TYPE RSD_T_IOBJNM ,
ld_e_ts_hier_cr  TYPE RSDDS_TS_HIER_CR ,
ld_i_t_hieid  TYPE RSHI_T_HIEID ,
ld_e_ts_chabasnm_cr  TYPE RSDDS_TS_CHABASNM_CR ,
ld_e_t_aggregate_cr  TYPE RSDDS_T_AGGREGATE_CR ,
ld_e_ts_trexaggr_cr  TYPE RSDDS_TS_TREXAGGR_CR ,
ld_e_tsx_msg_cr  TYPE RSDDS_TSX_MSG_CR .

ld_i_with_details = 'Check type of data required'.
ld_i_t_chabasnm = 'Check type of data required'.
ld_i_t_hieid = 'Check type of data required'.

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 RSDDS_CHANGERUN_MONITOR or its description.