SAP Function Modules

RSRD_RFC_BRIDGE_DISTRIBUTE SAP Function module - Bridge Method to Distribute RSRD_X_DISTRIBUTE







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

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


Pattern for FM RSRD_RFC_BRIDGE_DISTRIBUTE - RSRD RFC BRIDGE DISTRIBUTE





CALL FUNCTION 'RSRD_RFC_BRIDGE_DISTRIBUTE' "Bridge Method to Distribute RSRD_X_DISTRIBUTE
  EXPORTING
    i_log_handle =              " balloghndl    Application Log: Log Handle
    i_java_class_name =         " rsrparametervalue  Name of the Java class, which handled the call
    i_distribution_type =       " rsrd_distribution_type  Distribution Type in Broadcasting Framework
    i_r_parameter =             " cl_rsr_parameter  Parameters
    i_r_setting =               " cl_rsrd_setting  Broadcast Settings
    i_t_recipient =             " rsrd_t_recipient  Table Type for RSRD_S_RECIPIENT
    i_s_recipient =             " rsrd_s_recipient  Recipient-Specific Creation of Documents
    i_tx_document =             " rsrd_tx_document  Documents with Attributes and Authorization Information
  IMPORTING
    e_subrc =                   " sysubrc       Return Value, Return Value after ABAP Statements
    .  "  RSRD_RFC_BRIDGE_DISTRIBUTE

ABAP code example for Function Module RSRD_RFC_BRIDGE_DISTRIBUTE





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

DATA(ld_i_log_handle) = 'Check type of data required'.
DATA(ld_i_java_class_name) = 'Check type of data required'.
DATA(ld_i_distribution_type) = 'Check type of data required'.
DATA(ld_i_r_parameter) = 'Check type of data required'.
DATA(ld_i_r_setting) = 'Check type of data required'.
DATA(ld_i_t_recipient) = 'Check type of data required'.
DATA(ld_i_s_recipient) = 'Check type of data required'.
DATA(ld_i_tx_document) = 'Check type of data required'. . CALL FUNCTION 'RSRD_RFC_BRIDGE_DISTRIBUTE' EXPORTING i_log_handle = ld_i_log_handle i_java_class_name = ld_i_java_class_name i_distribution_type = ld_i_distribution_type i_r_parameter = ld_i_r_parameter i_r_setting = ld_i_r_setting i_t_recipient = ld_i_t_recipient i_s_recipient = ld_i_s_recipient i_tx_document = ld_i_tx_document IMPORTING e_subrc = ld_e_subrc . " RSRD_RFC_BRIDGE_DISTRIBUTE
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_subrc  TYPE SYSUBRC ,
ld_i_log_handle  TYPE BALLOGHNDL ,
ld_i_java_class_name  TYPE RSRPARAMETERVALUE ,
ld_i_distribution_type  TYPE RSRD_DISTRIBUTION_TYPE ,
ld_i_r_parameter  TYPE CL_RSR_PARAMETER ,
ld_i_r_setting  TYPE CL_RSRD_SETTING ,
ld_i_t_recipient  TYPE RSRD_T_RECIPIENT ,
ld_i_s_recipient  TYPE RSRD_S_RECIPIENT ,
ld_i_tx_document  TYPE RSRD_TX_DOCUMENT .

ld_i_log_handle = 'Check type of data required'.
ld_i_java_class_name = 'Check type of data required'.
ld_i_distribution_type = 'Check type of data required'.
ld_i_r_parameter = 'Check type of data required'.
ld_i_r_setting = 'Check type of data required'.
ld_i_t_recipient = 'Check type of data required'.
ld_i_s_recipient = 'Check type of data required'.
ld_i_tx_document = '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 RSRD_RFC_BRIDGE_DISTRIBUTE or its description.