SAP RSRD_X_DISTRIBUTE_PROXY Function Module for Distribute a document in Broadcasting
RSRD_X_DISTRIBUTE_PROXY is a standard rsrd x distribute proxy SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Distribute a document in Broadcasting processing and below is the pattern details for this FM, showing its interface including any import and export parameters, exceptions etc. there is also a full "cut and paste" ABAP pattern code example, along with implementation ABAP coding, documentation and contribution comments specific to this or related objects.
See here to view full function module documentation and code listing for rsrd x distribute proxy FM, simply by entering the name RSRD_X_DISTRIBUTE_PROXY into the relevant SAP transaction such as SE37 or SE38.
Function Group: RSRD_X_RUNTIME
Program Name: SAPLRSRD_X_RUNTIME
Main Program: SAPLRSRD_X_RUNTIME
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:

Function RSRD_X_DISTRIBUTE_PROXY pattern details
In-order to call this FM within your sap programs, simply using the below ABAP pattern details to trigger the function call...or see the full ABAP code listing at the end of this article. You can simply cut and paste this code into your ABAP progrom as it is, including variable declarations.CALL FUNCTION 'RSRD_X_DISTRIBUTE_PROXY'"Distribute a document in Broadcasting.
EXPORTING
I_JAVA_CLASS_NAME = "Name of Java class, that processes the call
* I_DISTRIBUTION_TYPE = "Distribution Type in Broadcasting Framework
* I_RECIPIENT = "Recipient ID for Recipient-Specific Creation of Documents
I_PARAMETER_CONTAINER_ID = "RFC Schnittstelle: ID for Additionally Inserted Keys
I_S_SETTING = "Setting parameter
* I_S_RECIPIENT_X = "
* I_LANGU = "Language According to ISO 639
* I_COUNTRY = "Country ISO code
IMPORTING
E_SUBRC = "Return Value, Return Value after ABAP Statements
TABLES
I_T_PARAMETER_X = "Parameter Structure (RFC-enabled with Additional Key)
I_T_MESSAGE = "Message
E_T_MESSAGE = "Message
I_T_SETTING_NODE_X = "Node for a Setting for Design Time (RFC-enabled)
* I_T_RECIPIENT_X = "Recipient-Specific Document Creation (RFC-Enabled)
I_T_DOCUMENT_X = "Document for RFC Communication
I_T_DOCUMENT_MIME_X = "Mime Files for the Document, for RFC Communication
I_T_FILE_X = "Broadcasting: File (RFC Enabled, with Additional Key)
* I_T_CONTENT_ASCII_X = "Broadcasting: ASCII File Content (RFC Enabled)
* I_T_CONTENT_BINARY_X = "Broadcasting: Binary File Content (RFC Enabled)
E_T_STATISTIC_INFO = "OLAP Statistics: Mass Insert of Event Data
EXCEPTIONS
SYSTEM_FAILURE = 1 COMMUNICATION_FAILURE = 2
IMPORTING Parameters details for RSRD_X_DISTRIBUTE_PROXY
I_JAVA_CLASS_NAME - Name of Java class, that processes the call
Data type: RSRPARAMETERVALUEOptional: No
Call by Reference: No ( called with pass by value option)
I_DISTRIBUTION_TYPE - Distribution Type in Broadcasting Framework
Data type: RSRD_DISTRIBUTION_TYPEOptional: Yes
Call by Reference: No ( called with pass by value option)
I_RECIPIENT - Recipient ID for Recipient-Specific Creation of Documents
Data type: RSRD_RECIPIENTOptional: Yes
Call by Reference: No ( called with pass by value option)
I_PARAMETER_CONTAINER_ID - RFC Schnittstelle: ID for Additionally Inserted Keys
Data type: RSRD_RFC_KEY_IDOptional: No
Call by Reference: No ( called with pass by value option)
I_S_SETTING - Setting parameter
Data type: RSRD_V_SETTINGOptional: No
Call by Reference: No ( called with pass by value option)
I_S_RECIPIENT_X -
Data type: RSRD_S_RECIPIENT_XOptional: Yes
Call by Reference: No ( called with pass by value option)
I_LANGU - Language According to ISO 639
Data type: LAISOOptional: Yes
Call by Reference: No ( called with pass by value option)
I_COUNTRY - Country ISO code
Data type: INTCAOptional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for RSRD_X_DISTRIBUTE_PROXY
E_SUBRC - Return Value, Return Value after ABAP Statements
Data type: SYSUBRCOptional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for RSRD_X_DISTRIBUTE_PROXY
I_T_PARAMETER_X - Parameter Structure (RFC-enabled with Additional Key)
Data type: RSRD_S_PARAMETER_XOptional: No
Call by Reference: No ( called with pass by value option)
I_T_MESSAGE - Message
Data type: BICS_PROV_MESSAGEOptional: No
Call by Reference: Yes
E_T_MESSAGE - Message
Data type: BICS_PROV_MESSAGEOptional: No
Call by Reference: Yes
I_T_SETTING_NODE_X - Node for a Setting for Design Time (RFC-enabled)
Data type: RSRD_S_SETTING_NODE_XOptional: No
Call by Reference: No ( called with pass by value option)
I_T_RECIPIENT_X - Recipient-Specific Document Creation (RFC-Enabled)
Data type: RSRD_S_RECIPIENT_XOptional: Yes
Call by Reference: No ( called with pass by value option)
I_T_DOCUMENT_X - Document for RFC Communication
Data type: RSRD_S_DOCUMENT_XOptional: No
Call by Reference: No ( called with pass by value option)
I_T_DOCUMENT_MIME_X - Mime Files for the Document, for RFC Communication
Data type: RSRD_S_DOCUMENT_MIME_XOptional: No
Call by Reference: No ( called with pass by value option)
I_T_FILE_X - Broadcasting: File (RFC Enabled, with Additional Key)
Data type: RSRD_S_FILE_XOptional: No
Call by Reference: No ( called with pass by value option)
I_T_CONTENT_ASCII_X - Broadcasting: ASCII File Content (RFC Enabled)
Data type: RSRD_S_FILE_CONTENT_ASCII_XOptional: Yes
Call by Reference: No ( called with pass by value option)
I_T_CONTENT_BINARY_X - Broadcasting: Binary File Content (RFC Enabled)
Data type: RSRD_S_FILE_CONTENT_BINARY_XOptional: Yes
Call by Reference: No ( called with pass by value option)
E_T_STATISTIC_INFO - OLAP Statistics: Mass Insert of Event Data
Data type: RSSTA_S_EVENTINPUTOptional: No
Call by Reference: Yes
EXCEPTIONS details
SYSTEM_FAILURE - System Error
Data type:Optional: No
Call by Reference: Yes
COMMUNICATION_FAILURE - Communication Error
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for RSRD_X_DISTRIBUTE_PROXY Function Module
The ABAP code below is a full code listing to execute function module POPUP_TO_CONFIRM including all data declarations. The code uses the original data declarations rather than 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 newer method of declaring data variables on the fly. 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), which i why i have stuck to the origianl for this example.| DATA: | ||||
| lv_e_subrc | TYPE SYSUBRC, " | |||
| lv_system_failure | TYPE SYSUBRC, " | |||
| lt_i_t_parameter_x | TYPE STANDARD TABLE OF RSRD_S_PARAMETER_X, " | |||
| lv_i_java_class_name | TYPE RSRPARAMETERVALUE, " | |||
| lt_i_t_message | TYPE STANDARD TABLE OF BICS_PROV_MESSAGE, " | |||
| lt_e_t_message | TYPE STANDARD TABLE OF BICS_PROV_MESSAGE, " | |||
| lt_i_t_setting_node_x | TYPE STANDARD TABLE OF RSRD_S_SETTING_NODE_X, " | |||
| lv_i_distribution_type | TYPE RSRD_DISTRIBUTION_TYPE, " | |||
| lv_communication_failure | TYPE RSRD_DISTRIBUTION_TYPE, " | |||
| lv_i_recipient | TYPE RSRD_RECIPIENT, " | |||
| lt_i_t_recipient_x | TYPE STANDARD TABLE OF RSRD_S_RECIPIENT_X, " | |||
| lt_i_t_document_x | TYPE STANDARD TABLE OF RSRD_S_DOCUMENT_X, " | |||
| lv_i_parameter_container_id | TYPE RSRD_RFC_KEY_ID, " | |||
| lv_i_s_setting | TYPE RSRD_V_SETTING, " | |||
| lt_i_t_document_mime_x | TYPE STANDARD TABLE OF RSRD_S_DOCUMENT_MIME_X, " | |||
| lt_i_t_file_x | TYPE STANDARD TABLE OF RSRD_S_FILE_X, " | |||
| lv_i_s_recipient_x | TYPE RSRD_S_RECIPIENT_X, " | |||
| lv_i_langu | TYPE LAISO, " | |||
| lt_i_t_content_ascii_x | TYPE STANDARD TABLE OF RSRD_S_FILE_CONTENT_ASCII_X, " | |||
| lv_i_country | TYPE INTCA, " | |||
| lt_i_t_content_binary_x | TYPE STANDARD TABLE OF RSRD_S_FILE_CONTENT_BINARY_X, " | |||
| lt_e_t_statistic_info | TYPE STANDARD TABLE OF RSSTA_S_EVENTINPUT. " |
|   CALL FUNCTION 'RSRD_X_DISTRIBUTE_PROXY' "Distribute a document in Broadcasting |
| EXPORTING | ||
| I_JAVA_CLASS_NAME | = lv_i_java_class_name | |
| I_DISTRIBUTION_TYPE | = lv_i_distribution_type | |
| I_RECIPIENT | = lv_i_recipient | |
| I_PARAMETER_CONTAINER_ID | = lv_i_parameter_container_id | |
| I_S_SETTING | = lv_i_s_setting | |
| I_S_RECIPIENT_X | = lv_i_s_recipient_x | |
| I_LANGU | = lv_i_langu | |
| I_COUNTRY | = lv_i_country | |
| IMPORTING | ||
| E_SUBRC | = lv_e_subrc | |
| TABLES | ||
| I_T_PARAMETER_X | = lt_i_t_parameter_x | |
| I_T_MESSAGE | = lt_i_t_message | |
| E_T_MESSAGE | = lt_e_t_message | |
| I_T_SETTING_NODE_X | = lt_i_t_setting_node_x | |
| I_T_RECIPIENT_X | = lt_i_t_recipient_x | |
| I_T_DOCUMENT_X | = lt_i_t_document_x | |
| I_T_DOCUMENT_MIME_X | = lt_i_t_document_mime_x | |
| I_T_FILE_X | = lt_i_t_file_x | |
| I_T_CONTENT_ASCII_X | = lt_i_t_content_ascii_x | |
| I_T_CONTENT_BINARY_X | = lt_i_t_content_binary_x | |
| E_T_STATISTIC_INFO | = lt_e_t_statistic_info | |
| EXCEPTIONS | ||
| SYSTEM_FAILURE = 1 | ||
| COMMUNICATION_FAILURE = 2 | ||
| . " RSRD_X_DISTRIBUTE_PROXY | ||
ABAP code using 7.40 inline data declarations to call FM RSRD_X_DISTRIBUTE_PROXY
The below ABAP code uses the newer in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. Please note some of the newer syntax below, such as the @DATA is not available until 4.70 EHP 8.Search for further information about these or an SAP related objects