SAP DMC_RTO_WRAPPER_CLSTRTB_READER Function Module for Call reader initial load for tables with reading type 3
DMC_RTO_WRAPPER_CLSTRTB_READER is a standard dmc rto wrapper clstrtb reader SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Call reader initial load for tables with reading type 3 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 dmc rto wrapper clstrtb reader FM, simply by entering the name DMC_RTO_WRAPPER_CLSTRTB_READER into the relevant SAP transaction such as SE37 or SE38.
Function Group: DMC_RTO_WRAPPERS
Program Name: SAPLDMC_RTO_WRAPPERS
Main Program: SAPLDMC_RTO_WRAPPERS
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:

Function DMC_RTO_WRAPPER_CLSTRTB_READER 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 'DMC_RTO_WRAPPER_CLSTRTB_READER'"Call reader initial load for tables with reading type 3.
EXPORTING
IV_CONVOBJ_GUID = "GUID of Object
IV_SYSID = "Name of SAP System
IV_FMID = "Remote Gen.: RTO ident
* IV_STRINGS = "Sender container uses strings
IV_TABLE_NAME = "DDIC Name of the migration object
IV_MAX_ROWS = "Maximum rows fetched
IV_FIRST_ROW = "ABAP System Field: Internal Use
* IV_APPL_SEL = ' ' "Sender container use application select
IMPORTING
EV_ERROR_CODE = "Error code
ET_MSG_LIST = "Application Log: Table with Messages
EV_RUNTIME = "Run time
EV_ROWS_FETCHED = "Number of rows fetched
EV_RC = "Return Code
ES_RETURN = "Structure for return code + messages of a function module
CHANGING
* CT_PAYLOAD_TAB = "Payload transfer table
EXCEPTIONS
NO_AUTHORIZATION = 1 NO_AUTH_FOR_TABLE = 2
IMPORTING Parameters details for DMC_RTO_WRAPPER_CLSTRTB_READER
IV_CONVOBJ_GUID - GUID of Object
Data type: DMC_GUIDOptional: No
Call by Reference: No ( called with pass by value option)
IV_SYSID - Name of SAP System
Data type: SYSYSIDOptional: No
Call by Reference: No ( called with pass by value option)
IV_FMID - Remote Gen.: RTO ident
Data type: NUMC15Optional: No
Call by Reference: No ( called with pass by value option)
IV_STRINGS - Sender container uses strings
Data type: BOOLE_DOptional: Yes
Call by Reference: No ( called with pass by value option)
IV_TABLE_NAME - DDIC Name of the migration object
Data type: DD02L-TABNAMEOptional: No
Call by Reference: No ( called with pass by value option)
IV_MAX_ROWS - Maximum rows fetched
Data type: SY-TABIXOptional: No
Call by Reference: No ( called with pass by value option)
IV_FIRST_ROW - ABAP System Field: Internal Use
Data type: SY-INPUTOptional: No
Call by Reference: No ( called with pass by value option)
IV_APPL_SEL - Sender container use application select
Data type: BOOLE_DDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for DMC_RTO_WRAPPER_CLSTRTB_READER
EV_ERROR_CODE - Error code
Data type: NUMC2Optional: No
Call by Reference: No ( called with pass by value option)
ET_MSG_LIST - Application Log: Table with Messages
Data type: DMC_BAL_T_MSGOptional: No
Call by Reference: No ( called with pass by value option)
EV_RUNTIME - Run time
Data type: IOptional: No
Call by Reference: No ( called with pass by value option)
EV_ROWS_FETCHED - Number of rows fetched
Data type: SY-TABIXOptional: No
Call by Reference: No ( called with pass by value option)
EV_RC - Return Code
Data type: SY-SUBRCOptional: No
Call by Reference: No ( called with pass by value option)
ES_RETURN - Structure for return code + messages of a function module
Data type: DMC_S_RTO_RETURNOptional: No
Call by Reference: No ( called with pass by value option)
CHANGING Parameters details for DMC_RTO_WRAPPER_CLSTRTB_READER
CT_PAYLOAD_TAB - Payload transfer table
Data type: DMC_PAYLOAD_TABLES_TABOptional: Yes
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
NO_AUTHORIZATION -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
NO_AUTH_FOR_TABLE -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for DMC_RTO_WRAPPER_CLSTRTB_READER 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_ev_error_code | TYPE NUMC2, " | |||
| lv_ct_payload_tab | TYPE DMC_PAYLOAD_TABLES_TAB, " | |||
| lv_iv_convobj_guid | TYPE DMC_GUID, " | |||
| lv_no_authorization | TYPE DMC_GUID, " | |||
| lv_iv_sysid | TYPE SYSYSID, " | |||
| lv_et_msg_list | TYPE DMC_BAL_T_MSG, " | |||
| lv_no_auth_for_table | TYPE DMC_BAL_T_MSG, " | |||
| lv_iv_fmid | TYPE NUMC15, " | |||
| lv_ev_runtime | TYPE I, " | |||
| lv_iv_strings | TYPE BOOLE_D, " | |||
| lv_ev_rows_fetched | TYPE SY-TABIX, " | |||
| lv_ev_rc | TYPE SY-SUBRC, " | |||
| lv_iv_table_name | TYPE DD02L-TABNAME, " | |||
| lv_es_return | TYPE DMC_S_RTO_RETURN, " | |||
| lv_iv_max_rows | TYPE SY-TABIX, " | |||
| lv_iv_first_row | TYPE SY-INPUT, " | |||
| lv_iv_appl_sel | TYPE BOOLE_D. " SPACE |
|   CALL FUNCTION 'DMC_RTO_WRAPPER_CLSTRTB_READER' "Call reader initial load for tables with reading type 3 |
| EXPORTING | ||
| IV_CONVOBJ_GUID | = lv_iv_convobj_guid | |
| IV_SYSID | = lv_iv_sysid | |
| IV_FMID | = lv_iv_fmid | |
| IV_STRINGS | = lv_iv_strings | |
| IV_TABLE_NAME | = lv_iv_table_name | |
| IV_MAX_ROWS | = lv_iv_max_rows | |
| IV_FIRST_ROW | = lv_iv_first_row | |
| IV_APPL_SEL | = lv_iv_appl_sel | |
| IMPORTING | ||
| EV_ERROR_CODE | = lv_ev_error_code | |
| ET_MSG_LIST | = lv_et_msg_list | |
| EV_RUNTIME | = lv_ev_runtime | |
| EV_ROWS_FETCHED | = lv_ev_rows_fetched | |
| EV_RC | = lv_ev_rc | |
| ES_RETURN | = lv_es_return | |
| CHANGING | ||
| CT_PAYLOAD_TAB | = lv_ct_payload_tab | |
| EXCEPTIONS | ||
| NO_AUTHORIZATION = 1 | ||
| NO_AUTH_FOR_TABLE = 2 | ||
| . " DMC_RTO_WRAPPER_CLSTRTB_READER | ||
ABAP code using 7.40 inline data declarations to call FM DMC_RTO_WRAPPER_CLSTRTB_READER
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 TABIX FROM SY INTO @DATA(ld_ev_rows_fetched). | ||||
| "SELECT single SUBRC FROM SY INTO @DATA(ld_ev_rc). | ||||
| "SELECT single TABNAME FROM DD02L INTO @DATA(ld_iv_table_name). | ||||
| "SELECT single TABIX FROM SY INTO @DATA(ld_iv_max_rows). | ||||
| "SELECT single INPUT FROM SY INTO @DATA(ld_iv_first_row). | ||||
| DATA(ld_iv_appl_sel) | = ' '. | |||
Search for further information about these or an SAP related objects