HVEUTMS1 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This program is used to export TemSe files from the SAP system to a PC or server...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.
If you would like to execute this report or see the full code listing simply enter HVEUTMS1 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.
Selection Text: DFT_NAME = Employer name for TemSe
Selection Text: P_TSOBJ = Name of TemSe file
Selection Text: SW_PC = Save in your local PC
Selection Text: SW_UNIX = Save in the server
Selection Text: UNIXFILE = Name of file in server
Title: TemSe file transfer
Text Symbol: S01 = TemSe
Text Symbol: S02 = File
Text Symbol: S03 = Store in server
Text Symbol: S04 = Store in your local PC
INCLUDE PUTMDVE0.
INCLUDE PUTMMVE5.
No SAP DATABASE tables are accessed within this REPORT code!
FILE_VALIDATE_NAME CALL FUNCTION 'FILE_VALIDATE_NAME' EXPORTING logical_filename = gc_fname CHANGING physical_filename = unixfile EXCEPTIONS OTHERS = 1.
DOWNLOAD * CALL FUNCTION 'DOWNLOAD' * EXPORTING * FILETYPE = FILETYPE * TABLES * DATA_TAB = T_TEMSE_TAB * EXCEPTIONS * INVALID_FILESIZE = 1 * INVALID_TABLE_WIDTH = 2 * INVALID_TYPE = 3 * NO_BATCH = 4 * UNKNOWN_ERROR = 5 * OTHERS = 6.
GUI_DOWNLOAD CALL FUNCTION 'GUI_DOWNLOAD' EXPORTING FILETYPE = FILETYPE FILENAME = FILENAME TABLES DATA_TAB = T_TEMSE_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.
FILE_VALIDATE_NAME CALL FUNCTION 'FILE_VALIDATE_NAME' EXPORTING logical_filename = gc_fname CHANGING physical_filename = unixfile EXCEPTIONS OTHERS = 1.
FILE_GET_NAME CALL FUNCTION 'FILE_GET_NAME' EXPORTING logical_filename = gc_fname including_dir = 'X' IMPORTING file_name = UNIXFILE EXCEPTIONS file_not_found = 1 OTHERS = 2.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.