PLHIMTWI is a standard ABAP INCLUDE 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 PLHIMTWI 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: Routines, NHI medium
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
WS_FILENAME_GET * call function 'WS_FILENAME_GET' * exporting * def_filename = def_filename * DEF_PATH = ' ' * mask = mask * mode = 'S' * TITLE = ' ' * importing * filename = ret_str * rc = dummy1 * EXCEPTIONS ** INV_WINSYS = 1 ** NO_BATCH = 2 * SELECTION_CANCEL = 3 * SELECTION_ERROR = 4 * OTHERS = 5 * .
WS_DOWNLOAD * CALL FUNCTION 'WS_DOWNLOAD' "unicode start * EXPORTING * bin_filesize = l_filesize "note365697 * FILENAME = FILENAME * filetype = 'BIN' "note365697 * TABLES * DATA_TAB = NHI_MEDIUM_ALL * EXCEPTIONS * FILE_OPEN_ERROR = 1 * FILE_WRITE_ERROR = 2 * INVALID_FILESIZE = 3 * INVALID_TABLE_WIDTH = 4 * INVALID_TYPE = 5 * NO_BATCH = 6 * UNKNOWN_ERROR = 7 * GUI_REFUSE_FILETRANSFER = 8 * OTHERS = 9.
GUI_DOWNLOAD CALL FUNCTION 'GUI_DOWNLOAD' EXPORTING bin_filesize = l_filesize filename = file_name filetype = 'BIN' TABLES data_tab =
EXCEPTIONS file_write_error = 1 no_batch = 2 gui_refuse_filetransfer = 3 invalid_type = 4 OTHERS = 5.
GUI_DOWNLOAD CALL FUNCTION 'GUI_DOWNLOAD' EXPORTING * BIN_FILESIZE = l_filesize "note568420 filename = file_name * FILETYPE = 'BIN' "note568420 filetype = 'ASC' "note568420 * APPEND = ' ' * WRITE_FIELD_SEPARATOR = ' ' * HEADER = '00' * TRUNC_TRAILING_BLANKS = ' ' * WRITE_LF = 'X' * COL_SELECT = ' ' * COL_SELECT_MASK = ' ' * IMPORTING * FILELENGTH = TABLES data_tab = nhi_medium_all 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 . "unicode end
HR_TW_NAME_IN_CHINESE CALL FUNCTION 'HR_TW_NAME_IN_CHINESE' EXPORTING PP0002 = P0002 PP0182 = P0182 IMPORTING EDIT_NAME = $NAME RETCODE = SUBRC EXCEPTIONS OTHERS = 1.
RP_EDIT_NAME CALL FUNCTION 'RP_EDIT_NAME' EXPORTING FORMAT = P0002-KNZNM LANGU = SPACE MOLGA = '42' PP0002 = P0002 IMPORTING EDIT_NAME = $NAME RETCODE = SUBRC EXCEPTIONS OTHERS = 1.
HR_TW_NAME_IN_CHINESE CALL FUNCTION 'HR_TW_NAME_IN_CHINESE' EXPORTING PP0352 = P0352 PP0021 = P0021 IMPORTING EDIT_NAME = $NAME RETCODE = SUBRC EXCEPTIONS OTHERS = 1.
RP_EDIT_NAME CALL FUNCTION 'RP_EDIT_NAME' EXPORTING FORMAT = P0021-FKNZN LANGU = SPACE MOLGA = '42' PP0021 = P0021 IMPORTING EDIT_NAME = $NAME RETCODE = SUBRC EXCEPTIONS OTHERS = 1.
REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING I_CALLBACK_PROGRAM = REPID * i_structure_name = 'NHIM' IS_LAYOUT = GS_LAYOUT IT_FIELDCAT = GT_FIELDCAT[] I_BUFFER_ACTIVE = 'X' "LIUYO TABLES T_OUTTAB = $NHIM.
WS_FILENAME_GET CALL FUNCTION 'WS_FILENAME_GET' EXPORTING DEF_FILENAME = DEF_FNM DEF_PATH = 'C:/' MASK = ',*.*,*.*.'
WS_QUERY CALL FUNCTION 'WS_QUERY' EXPORTING FILENAME = PATH QUERY = 'DE' IMPORTING RETURN = RETURN EXCEPTIONS INV_QUERY = 1 NO_BATCH = 2 FRONTEND_ERROR = 3 OTHERS = 4.
HR_KR_STRING_TO_XSTRING * CALL FUNCTION 'HR_KR_STRING_TO_XSTRING' * EXPORTING * codepage_to = '8300' * unicode_string = in_str * out_len = length * IMPORTING * xstring_stream = out_xstr.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.