SAP RSC1_QUEUE_WRITE_ODQ_RSA3 Function Module for
RSC1_QUEUE_WRITE_ODQ_RSA3 is a standard rsc1 queue write odq rsa3 SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used to perform a specific ABAP function and below is the pattern details, 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 rsc1 queue write odq rsa3 FM, simply by entering the name RSC1_QUEUE_WRITE_ODQ_RSA3 into the relevant SAP transaction such as SE37 or SE38.
Function Group: RSFH
Program Name: SAPLRSFH
Main Program: SAPLRSFH
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function RSC1_QUEUE_WRITE_ODQ_RSA3 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 'RSC1_QUEUE_WRITE_ODQ_RSA3'".
EXPORTING
I_OSOURCE = "
I_DEBUG = "
I_SSN = "
I_REQUNR = "
* I_COMMIT = 'X' "
* I_LOG_OPEN = '' "
I_RLOGSYS = "
I_PACKAGE_SIZE = "
I_PACKAGE = "
I_MAXPACK = "
I_READ_ONLY = "
IMPORTING
E_SUBRC = "
E_T_MSG = "
IMPORTING Parameters details for RSC1_QUEUE_WRITE_ODQ_RSA3
I_OSOURCE -
Data type: ROOSOURCEROptional: No
Call by Reference: Yes
I_DEBUG -
Data type: ROSREQUEST-IMMEDIATEOptional: No
Call by Reference: Yes
I_SSN -
Data type: ODQSSNQUE_VOptional: No
Call by Reference: Yes
I_REQUNR -
Data type: RSREQUNROptional: No
Call by Reference: Yes
I_COMMIT -
Data type: CHAR1Default: 'X'
Optional: No
Call by Reference: Yes
I_LOG_OPEN -
Data type: CHAR1Default: ''
Optional: No
Call by Reference: Yes
I_RLOGSYS -
Data type: RSBASIDOC-RLOGSYSOptional: No
Call by Reference: Yes
I_PACKAGE_SIZE -
Data type: INTEGEROptional: No
Call by Reference: Yes
I_PACKAGE -
Data type: RODPS_REPL_EXTRACTION_PACKAGEOptional: No
Call by Reference: Yes
I_MAXPACK -
Data type: ROSREQUEST-DATAPAKIDOptional: No
Call by Reference: Yes
I_READ_ONLY -
Data type: RSIODYNP4-READONLYOptional: No
Call by Reference: Yes
EXPORTING Parameters details for RSC1_QUEUE_WRITE_ODQ_RSA3
E_SUBRC -
Data type: SYSUBRCOptional: No
Call by Reference: Yes
E_T_MSG -
Data type: RSAOT_T_MESSAGESOptional: No
Call by Reference: Yes
Copy and paste ABAP code example for RSC1_QUEUE_WRITE_ODQ_RSA3 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_i_osource | TYPE ROOSOURCER, " | |||
| lv_i_debug | TYPE ROSREQUEST-IMMEDIATE, " | |||
| lv_i_ssn | TYPE ODQSSNQUE_V, " | |||
| lv_e_t_msg | TYPE RSAOT_T_MESSAGES, " | |||
| lv_i_requnr | TYPE RSREQUNR, " | |||
| lv_i_commit | TYPE CHAR1, " 'X' | |||
| lv_i_log_open | TYPE CHAR1, " '' | |||
| lv_i_rlogsys | TYPE RSBASIDOC-RLOGSYS, " | |||
| lv_i_package_size | TYPE INTEGER, " | |||
| lv_i_package | TYPE RODPS_REPL_EXTRACTION_PACKAGE, " | |||
| lv_i_maxpack | TYPE ROSREQUEST-DATAPAKID, " | |||
| lv_i_read_only | TYPE RSIODYNP4-READONLY. " |
|   CALL FUNCTION 'RSC1_QUEUE_WRITE_ODQ_RSA3' " |
| EXPORTING | ||
| I_OSOURCE | = lv_i_osource | |
| I_DEBUG | = lv_i_debug | |
| I_SSN | = lv_i_ssn | |
| I_REQUNR | = lv_i_requnr | |
| I_COMMIT | = lv_i_commit | |
| I_LOG_OPEN | = lv_i_log_open | |
| I_RLOGSYS | = lv_i_rlogsys | |
| I_PACKAGE_SIZE | = lv_i_package_size | |
| I_PACKAGE | = lv_i_package | |
| I_MAXPACK | = lv_i_maxpack | |
| I_READ_ONLY | = lv_i_read_only | |
| IMPORTING | ||
| E_SUBRC | = lv_e_subrc | |
| E_T_MSG | = lv_e_t_msg | |
| . " RSC1_QUEUE_WRITE_ODQ_RSA3 | ||
ABAP code using 7.40 inline data declarations to call FM RSC1_QUEUE_WRITE_ODQ_RSA3
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.| "SELECT single IMMEDIATE FROM ROSREQUEST INTO @DATA(ld_i_debug). | ||||
| DATA(ld_i_commit) | = 'X'. | |||
| DATA(ld_i_log_open) | = ''. | |||
| "SELECT single RLOGSYS FROM RSBASIDOC INTO @DATA(ld_i_rlogsys). | ||||
| "SELECT single DATAPAKID FROM ROSREQUEST INTO @DATA(ld_i_maxpack). | ||||
| "SELECT single READONLY FROM RSIODYNP4 INTO @DATA(ld_i_read_only). | ||||
Search for further information about these or an SAP related objects