RSDS_QUEUE_READ 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 RSDS_QUEUE_READ into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
RSDS_QUEUE_SERVICES
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'RSDS_QUEUE_READ' "read queue
EXPORTING
i_datasource = " rsds_queue_head-datasource DataSource
i_logsys = " rsds_queue_head-logsys Source System
i_requid = " rsds_queue_head-requid Request ID (Data Package)
* i_read_only = RS_C_TRUE " rs_bool Simulation: Delete no data
* i_updmode = 'D ' " rsupdmode Mode of data update (Full, Delta, etc.)
* i_initflag = RS_C_FALSE " rs_bool Extraction from queue: Init
* i_maxsize = '000100' " rsmaxsize Maximum number of table entries in extraction API interface
IMPORTING
e_t_data = " rsds_queue_t_data Queue Data (Binary)
EXCEPTIONS
NO_MORE_DATA = 1 " No data (found)
ERROR_READING_QUEUE = 2 " Queue could not be read
FAILED = 3 " Error Reading Data
. " RSDS_QUEUE_READ
The ABAP code below is a full code listing to execute function module RSDS_QUEUE_READ 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).
| ld_e_t_data | TYPE RSDS_QUEUE_T_DATA . |
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_t_data | TYPE RSDS_QUEUE_T_DATA , |
| ld_i_datasource | TYPE RSDS_QUEUE_HEAD-DATASOURCE , |
| ld_i_logsys | TYPE RSDS_QUEUE_HEAD-LOGSYS , |
| ld_i_requid | TYPE RSDS_QUEUE_HEAD-REQUID , |
| ld_i_read_only | TYPE RS_BOOL , |
| ld_i_updmode | TYPE RSUPDMODE , |
| ld_i_initflag | TYPE RS_BOOL , |
| ld_i_maxsize | TYPE RSMAXSIZE . |
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 RSDS_QUEUE_READ or its description.
RSDS_QUEUE_READ - read queue RSDS_QUEUE_INIT - Initializing the Delta Queue RSDS_QUEUE_DELETE - Delete the queue (with data) RSDS_PSA_ADMINISTRATE - Jump to the PSA RSDS_PROPOSE_FIELDNM_CHECK - Checks the proposed field name and returns after modification RSDS_ODP_SET_GET_GLOBAL - read and fill global variables