SAP RSWR_TEMPLATE_PROCESS_PROXY Function Module for Notification of change of the template contents
RSWR_TEMPLATE_PROCESS_PROXY is a standard rswr template process 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 Notification of change of the template contents 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 rswr template process proxy FM, simply by entering the name RSWR_TEMPLATE_PROCESS_PROXY into the relevant SAP transaction such as SE37 or SE38.
Function Group: RSWRTEMPLATE
Program Name: SAPLRSWRTEMPLATE
Main Program: SAPLRSWRTEMPLATE
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:

Function RSWR_TEMPLATE_PROCESS_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 'RSWR_TEMPLATE_PROCESS_PROXY'"Notification of change of the template contents.
EXPORTING
I_ACTION = "Action to be executed
I_OBJID = "Technical Name of Object
I_OBJTYPE = "
I_TEMPLATE_SOURCE = "BISP Template Source Text
I_T_PARAMETER_BAG = "Query Table
I_T_OBJECT_IDS = "BW Web Runtime: List of Objects (Templates/LibItems)
IMPORTING
E_TEMPLATE_RESULT = "BISP Template result
E_LAUNCH_URL = "URL for call of template (withour server prefix)
E_SUBRC = "Error Code
TABLES
E_T_STATISTIC_INFO = "OLAP Statistics: Mass Insert of Event Data
I_T_MESSAGE = "Messages of Caller
E_T_MESSAGE = "All collected messages
EXCEPTIONS
SYSTEM_FAILURE = 1 COMMUNICATION_FAILURE = 2
IMPORTING Parameters details for RSWR_TEMPLATE_PROCESS_PROXY
I_ACTION - Action to be executed
Data type: STRINGOptional: No
Call by Reference: No ( called with pass by value option)
I_OBJID - Technical Name of Object
Data type: RSZWOBJIDOptional: No
Call by Reference: No ( called with pass by value option)
I_OBJTYPE -
Data type: RSOBJS_TYPEOptional: No
Call by Reference: No ( called with pass by value option)
I_TEMPLATE_SOURCE - BISP Template Source Text
Data type: STRINGOptional: No
Call by Reference: No ( called with pass by value option)
I_T_PARAMETER_BAG - Query Table
Data type: RRXW3TQUERYOptional: No
Call by Reference: No ( called with pass by value option)
I_T_OBJECT_IDS - BW Web Runtime: List of Objects (Templates/LibItems)
Data type: RSWR_TX_OBJECT_IDOptional: No
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for RSWR_TEMPLATE_PROCESS_PROXY
E_TEMPLATE_RESULT - BISP Template result
Data type: STRINGOptional: No
Call by Reference: No ( called with pass by value option)
E_LAUNCH_URL - URL for call of template (withour server prefix)
Data type: STRINGOptional: No
Call by Reference: No ( called with pass by value option)
E_SUBRC - Error Code
Data type: INT4Optional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for RSWR_TEMPLATE_PROCESS_PROXY
E_T_STATISTIC_INFO - OLAP Statistics: Mass Insert of Event Data
Data type: RSSTA_S_EVENTINPUTOptional: No
Call by Reference: No ( called with pass by value option)
I_T_MESSAGE - Messages of Caller
Data type: BICS_PROV_MESSAGEOptional: No
Call by Reference: No ( called with pass by value option)
E_T_MESSAGE - All collected messages
Data type: BICS_PROV_MESSAGEOptional: No
Call by Reference: No ( called with pass by value option)
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 RSWR_TEMPLATE_PROCESS_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_i_action | TYPE STRING, " | |||
| lv_system_failure | TYPE STRING, " | |||
| lv_e_template_result | TYPE STRING, " | |||
| lt_e_t_statistic_info | TYPE STANDARD TABLE OF RSSTA_S_EVENTINPUT, " | |||
| lv_i_objid | TYPE RSZWOBJID, " | |||
| lt_i_t_message | TYPE STANDARD TABLE OF BICS_PROV_MESSAGE, " | |||
| lv_e_launch_url | TYPE STRING, " | |||
| lv_communication_failure | TYPE STRING, " | |||
| lv_e_subrc | TYPE INT4, " | |||
| lv_i_objtype | TYPE RSOBJS_TYPE, " | |||
| lt_e_t_message | TYPE STANDARD TABLE OF BICS_PROV_MESSAGE, " | |||
| lv_i_template_source | TYPE STRING, " | |||
| lv_i_t_parameter_bag | TYPE RRXW3TQUERY, " | |||
| lv_i_t_object_ids | TYPE RSWR_TX_OBJECT_ID. " |
|   CALL FUNCTION 'RSWR_TEMPLATE_PROCESS_PROXY' "Notification of change of the template contents |
| EXPORTING | ||
| I_ACTION | = lv_i_action | |
| I_OBJID | = lv_i_objid | |
| I_OBJTYPE | = lv_i_objtype | |
| I_TEMPLATE_SOURCE | = lv_i_template_source | |
| I_T_PARAMETER_BAG | = lv_i_t_parameter_bag | |
| I_T_OBJECT_IDS | = lv_i_t_object_ids | |
| IMPORTING | ||
| E_TEMPLATE_RESULT | = lv_e_template_result | |
| E_LAUNCH_URL | = lv_e_launch_url | |
| E_SUBRC | = lv_e_subrc | |
| TABLES | ||
| E_T_STATISTIC_INFO | = lt_e_t_statistic_info | |
| I_T_MESSAGE | = lt_i_t_message | |
| E_T_MESSAGE | = lt_e_t_message | |
| EXCEPTIONS | ||
| SYSTEM_FAILURE = 1 | ||
| COMMUNICATION_FAILURE = 2 | ||
| . " RSWR_TEMPLATE_PROCESS_PROXY | ||
ABAP code using 7.40 inline data declarations to call FM RSWR_TEMPLATE_PROCESS_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