SAP Reports / Programs

RPUTSD00 SAP ABAP Report - Download a TemSe Object to Presentation Server







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


ABAP code to call this SAP report using the submit statement

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.






SUBMIT RPUTSD00. "Basic submit
SUBMIT RPUTSD00 AND RETURN. "Return to original report after report execution complete
SUBMIT RPUTSD00 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


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.


INCLUDES used within this REPORT RPUTSD00

INCLUDE RPUTSD01.


TABLES used within REPORT and the associated SELECT statement:





No SAP DATABASE tables are accessed within this REPORT code!


Function Modules used within report and the associated call statement:

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.



Contribute (Add Comments)

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 RPUTSD00 or its description.