RPCTRTU0 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). Below is the basic information available for this SAP report including which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC. Also check out the submitted Comments related to this SAP report or see any standard documentation available.
If you would like to execute this report or see the full code listing simply enter RPCTRTU0 into the relevant SAP transactions such as SE38 or SE80
This report can be called from another progam/report simply by using the ABAP SUBMIT statement, see below for example ABAP code snipts of how to do this.
Title:
Text Symbol: U05 = Size
Text Symbol: U04 = User
Text Symbol: U03 = Time
Text Symbol: U02 = Date
Text Symbol: U01 = TemSe-Object
Text Symbol: T10 = Magnetic Media files
Text Symbol: T09 = Tempse
Text Symbol: T08 = Gen. date -
Text Symbol: T07 = No Tax Company Info
Text Symbol: T06 = Productive Run
Text Symbol: T05 = Test Run
Text Symbol: T04 = Prod/Test Run
Text Symbol: T03 = Tax Authority
Text Symbol: T02 = Tax Company
Text Symbol: T01 = Tax Form Class
Text Symbol: M04 = Magnetic Media Download: Application Log
Text Symbol: M02 = Download of TemSe-Object successful. Filename:
Text Symbol: M01 = No file specified
Text Symbol: L01 = File:
Text Symbol: I03 = No header line defined for the file
Text Symbol: I02 = There are no production Temse files
Text Symbol: I01 = No data for creating a file found.
Text Symbol: E03 =
Text Symbol: E02 =
Text Symbol: E01 =
Text Symbol: 012 = Downloading XLS file
Text Symbol: 004 = Lth
Text Symbol: 003 = Directly assigned content
Text Symbol: 002 = Sourceflds
Text Symbol: 001 = Fields on tape and their locations
INCLUDE RPCTRTU0_XML.
No SAP DATABASE tables are accessed within this REPORT code!
RP_TS_OPEN CALL FUNCTION 'RP_TS_OPEN' EXPORTING tsobj = ist01-dname empfg = 'RPUTSVUM' IMPORTING objin = objlst-objin.
RSTS_CLOSE CALL FUNCTION 'RSTS_CLOSE'.
RP_TS_OPEN call function 'RP_TS_OPEN' exporting tsobj = selected-dname empfg = 'RPUTSVUM' importing objin = objlst-objin.
RSTS_READ call function 'RSTS_READ' tables datatab = tape.
RSTS_CLOSE call function 'RSTS_CLOSE'.
WS_FILENAME_GET CALL FUNCTION 'WS_FILENAME_GET' EXPORTING def_filename = filename mask = mask mode = 'S' IMPORTING filename = filename EXCEPTIONS inv_winsys = 04 no_batch = 08 selection_cancel = 12 selection_error = 16.
RP_TS_OPEN CALL FUNCTION 'RP_TS_OPEN' EXPORTING tsobj = selected-dname empfg = 'RPUTSVUM'.
RSTS_READ CALL FUNCTION 'RSTS_READ' TABLES datatab = tape.
RSTS_CLOSE CALL FUNCTION 'RSTS_CLOSE'.
GUI_DOWNLOAD CALL FUNCTION 'GUI_DOWNLOAD' "Unicode EXPORTING bin_filesize = filesize filename = uc_filename filetype = 'BIN' TABLES data_tab =
EXCEPTIONS file_write_error = 1 no_batch = 2 gui_refuse_filetransfer = 3 invalid_type = 4 no_authority = 5
unknown_error = 6 header_not_allowed = 7 separator_not_allowed = 8 filesize_not_allowed = 9 header_too_long = 10 dp_error_create = 11 dp_error_send = 12 dp_error_write = 13 unknown_dp_error = 14 access_denied = 15 dp_out_of_memory = 16 disk_full = 17 dp_timeout = 18 file_not_found = 19 dataprovider_exception = 20 control_flush_error = 21
OTHERS = 22.
GUI_DOWNLOAD CALL FUNCTION 'GUI_DOWNLOAD' EXPORTING filename = uc_filename filetype = 'ASC' WRITE_LF = '' "nt.1002284
RP_TS_OPEN * CALL FUNCTION 'RP_TS_OPEN' * EXPORTING * tsobj = selected-dname * empfg = 'RPUTSVUM'.
RSTS_READ * CALL FUNCTION 'RSTS_READ' * TABLES * datatab = tape.
RSTS_CLOSE * CALL FUNCTION 'RSTS_CLOSE'.
WS_DOWNLOAD * CALL FUNCTION 'WS_DOWNLOAD' * EXPORTING * bin_filesize = filesize "WYNP30K144934 * filename = filename "Zielfile * filetype = filetype "WYNP30K144934 * mode = space"anhängen * TABLES * data_tab = tape * EXCEPTIONS * file_open_error = 01 * file_write_error = 02 * invalid_filesize = 03 * invalid_table_width = 04 * invalid_type = 05 * no_batch = 06 * unknown_error = 07.
RS_TREE_CONSTRUCT CALL FUNCTION 'RS_TREE_CONSTRUCT' TABLES nodetab = nodetab EXCEPTIONS tree_failure = 1 id_not_found = 2 wrong_relationship = 3 OTHERS = 4.
RS_TREE_LIST_DISPLAY CALL FUNCTION 'RS_TREE_LIST_DISPLAY' EXPORTING CALLBACK_PROGRAM = SY-CPROG callback_user_command = 'USER_COM' EXCEPTIONS OTHERS = 1.
RP_TS_OPEN CALL FUNCTION 'RP_TS_OPEN' EXPORTING tsobj = selected-dname empfg = 'RPUTSVUM' IMPORTING objin = objlst-objin.
CALL FUNCTION 'RSTS_READ' TABLES datatab = tape.
RSTS_CLOSE CALL FUNCTION 'RSTS_CLOSE'.
WS_QUERY CALL FUNCTION 'WS_QUERY' EXPORTING filename = 'c:\sappcadm' query = 'DE' IMPORTING return = retq EXCEPTIONS inv_query = 1 no_batch = 2 frontend_error = 3 OTHERS = 4.
WS_FILENAME_GET CALL FUNCTION 'WS_FILENAME_GET' EXPORTING def_filename = filename mask = mask mode = 'S' IMPORTING filename = filenames-nfname EXCEPTIONS inv_winsys = 04 no_batch = 08 selection_cancel = 12 selection_error = 16.
WS_QUERY CALL FUNCTION 'WS_QUERY' EXPORTING filename = $file query = 'FE' IMPORTING return = retf EXCEPTIONS inv_query = 1 no_batch = 2 frontend_error = 3 OTHERS = 4.
SAPGUI_PROGRESS_INDICATOR call function 'SAPGUI_PROGRESS_INDICATOR' exporting text = text-012 exceptions others = 0.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
The contribute/comments section below therefore offer's an opportunity for anyone to add additional information. This can be anything from useful hints, tips and screen shots to relevant SAP notes or anything else you feel is relevant to this report.
This will then be available for everyone to easily find by simply searching on the report name RPCTRTU0 or its description.