RPUTSD00 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 RPUTSD00 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: Download a TemSe Object to Presentation Server
Text Symbol: E01 = Error When Determining Target File
Text Symbol: E02 = Error When Importing TemSe Object
Text Symbol: E03 = Error When Copying the File to the PC
Text Symbol: M01 = The Data Carrier Was Not Copied. No Target File Was Specified.
Text Symbol: M02 = The Data Carrier Was Copied Successfully to the Target File.
INCLUDE RPUTSD01.
No SAP DATABASE tables are accessed within this REPORT code!
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 = tsobj empfg = empfg.
RSTS_READ CALL FUNCTION 'RSTS_READ' EXPORTING showlg = 'X' TABLES datatab = datatab EXCEPTIONS fb_call_handle = 01 fb_error = 02 fb_rsts_noconv = 03 fb_rsts_other = 04.
RSTS_CLOSE CALL FUNCTION 'RSTS_CLOSE' EXCEPTIONS fb_call_handle = 01 fb_error = 02 fb_rsts_other = 03.
WS_DOWNLOAD * CALL FUNCTION 'WS_DOWNLOAD' "XQHAL0K032734 * EXPORTING * bin_filesize = filesize "file size (used for BIN) * filename = filename "target file * filetype = filetype "BIN / ASCII * mode = ' ' "overwrite * TABLES * data_tab = p_itab * 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.
GUI_DOWNLOAD CALL FUNCTION 'GUI_DOWNLOAD' "XQHAL0K032734 EXPORTING bin_filesize = filesize filename = p_filename filetype = p_filetype TABLES data_tab = p_itab EXCEPTIONS OTHERS = 22.
WS_DOWNLOAD * CALL FUNCTION 'WS_DOWNLOAD' * EXPORTING * bin_filesize = 1 "Quellfilelänge * filename = filename "Zielfile * filetype = 'BIN' "Binär, also ohne CR/LF * mode = 'A' "anhängen * TABLES * data_tab = p_itab * 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.
GUI_DOWNLOAD CALL FUNCTION 'GUI_DOWNLOAD' EXPORTING bin_filesize = 1 filename = p_filename filetype = 'BIN' append = 'X' TABLES data_tab = l_hxtab EXCEPTIONS OTHERS = 22.
BAL_LOG_CREATE CALL FUNCTION 'BAL_LOG_CREATE' EXPORTING i_s_log = ls_log EXCEPTIONS OTHERS = 1.
BAL_LOG_MSG_ADD_FREE_TEXT CALL FUNCTION 'BAL_LOG_MSG_ADD_FREE_TEXT' EXPORTING i_msgty = iv_messages_msgty i_text = iv_msg_text EXCEPTIONS log_not_found = 1 msg_inconsistent = 2 log_is_full = 3 OTHERS = 4.
BAL_DSP_PROFILE_NO_TREE_GET CALL FUNCTION 'BAL_DSP_PROFILE_NO_TREE_GET' IMPORTING e_s_display_profile = ls_display_profile EXCEPTIONS OTHERS = 1.
BAL_DSP_LOG_DISPLAY CALL FUNCTION 'BAL_DSP_LOG_DISPLAY' EXPORTING i_s_display_profile = ls_display_profile EXCEPTIONS profile_inconsistent = 1 internal_error = 2 no_data_available = 3 no_authority = 4 OTHERS = 5.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.