SAP Function Modules

RSSM_TR_OBJECTS_CHECK SAP Function module - Check







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

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


Pattern for FM RSSM_TR_OBJECTS_CHECK - RSSM TR OBJECTS CHECK





CALL FUNCTION 'RSSM_TR_OBJECTS_CHECK' "Check
* EXPORTING
*   i_before = 'X'              " char1
*   i_write_to_request = SPACE  " char1
*   i_check_gui_on = 'X'        " char1         Single-Character Indicator
*   i_transport = 'X'           " char1         Single-Character Indicator
  IMPORTING
    e_display_only =            " rs_bool       Boolean
* CHANGING
*   l_t_rsldpio =               " rssm_t_rsldpio
*   l_t_rsappl =                " rsarc_t_rsappl
*   l_t_rslgrhie =              " rssm_t_rslgrhie
*   l_t_rsdarea =               " rssm_t_rsdarea
*   l_t_rseventhead =           " rssm_t_rseventhead
  EXCEPTIONS
    CANCEL = 1                  "
    .  "  RSSM_TR_OBJECTS_CHECK

ABAP code example for Function Module RSSM_TR_OBJECTS_CHECK





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

DATA(ld_l_t_rsldpio) = 'Check type of data required'.
DATA(ld_l_t_rsappl) = 'Check type of data required'.
DATA(ld_l_t_rslgrhie) = 'Check type of data required'.
DATA(ld_l_t_rsdarea) = 'Check type of data required'.
DATA(ld_l_t_rseventhead) = 'Check type of data required'.
DATA(ld_i_before) = 'Check type of data required'.
DATA(ld_i_write_to_request) = 'Check type of data required'.
DATA(ld_i_check_gui_on) = 'Check type of data required'.
DATA(ld_i_transport) = 'Check type of data required'. . CALL FUNCTION 'RSSM_TR_OBJECTS_CHECK' * EXPORTING * i_before = ld_i_before * i_write_to_request = ld_i_write_to_request * i_check_gui_on = ld_i_check_gui_on * i_transport = ld_i_transport IMPORTING e_display_only = ld_e_display_only * CHANGING * l_t_rsldpio = ld_l_t_rsldpio * l_t_rsappl = ld_l_t_rsappl * l_t_rslgrhie = ld_l_t_rslgrhie * l_t_rsdarea = ld_l_t_rsdarea * l_t_rseventhead = ld_l_t_rseventhead EXCEPTIONS CANCEL = 1 . " RSSM_TR_OBJECTS_CHECK
IF SY-SUBRC EQ 0. "All OK ELSEIF SY-SUBRC EQ 1. "Exception "Add code for exception here 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_l_t_rsldpio  TYPE RSSM_T_RSLDPIO ,
ld_e_display_only  TYPE RS_BOOL ,
ld_i_before  TYPE CHAR1 ,
ld_l_t_rsappl  TYPE RSARC_T_RSAPPL ,
ld_i_write_to_request  TYPE CHAR1 ,
ld_l_t_rslgrhie  TYPE RSSM_T_RSLGRHIE ,
ld_i_check_gui_on  TYPE CHAR1 ,
ld_l_t_rsdarea  TYPE RSSM_T_RSDAREA ,
ld_i_transport  TYPE CHAR1 ,
ld_l_t_rseventhead  TYPE RSSM_T_RSEVENTHEAD .

ld_l_t_rsldpio = 'Check type of data required'.
ld_i_before = 'Check type of data required'.
ld_l_t_rsappl = 'Check type of data required'.
ld_i_write_to_request = 'Check type of data required'.
ld_l_t_rslgrhie = 'Check type of data required'.
ld_i_check_gui_on = 'Check type of data required'.
ld_l_t_rsdarea = 'Check type of data required'.
ld_i_transport = 'Check type of data required'.
ld_l_t_rseventhead = '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 RSSM_TR_OBJECTS_CHECK or its description.