RPCIMPM5 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 RPCIMPM5 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.
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
HR_DK_AUTHORITY_CHECK CALL FUNCTION 'HR_DK_AUTHORITY_CHECK' EXPORTING operation = 'READ' EXCEPTIONS user_no_authroity = 1 too_many_parameters = 2 no_authority_action = 3 user_no_profile = 4 fieldname_not_identified = 5 authoritydestroyed = 6 OTHERS = 7.
GUI_UPLOAD CALL FUNCTION 'GUI_UPLOAD' EXPORTING FILENAME = filen1 * FILETYPE = 'ASC' * HAS_FIELD_SEPARATOR = ' ' * HEADER_LENGTH = 0 IMPORTING FILELENGTH = number_of_recs * HEADER = TABLES DATA_TAB = download_itab EXCEPTIONS BAD_DATA_FORMAT = 1 FILE_OPEN_ERROR = 2 FILE_READ_ERROR = 3 GUI_REFUSE_FILETRANSFER = 4 INVALID_TYPE = 5 NO_BATCH = 6 UNKNOWN_ERROR = 7 * GUI_REFUSE_FILETRANSFER = 4 * NO_AUTHORITY = 6 * BAD_DATA_FORMAT = 8 * HEADER_NOT_ALLOWED = 9 * SEPARATOR_NOT_ALLOWED = 10 * HEADER_TOO_LONG = 11 * UNKNOWN_DP_ERROR = 12 * ACCESS_DENIED = 13 * DP_OUT_OF_MEMORY = 14 * DISK_FULL = 15 * DP_TIMEOUT = 16 * OTHERS = 17 .
WS_UPLOAD * CALL FUNCTION 'WS_UPLOAD' * EXPORTING ** codepage = ' ' * filename = filen ** filetype = ' ' ** headlen = ' ' ** line_exit = ' ' ** trunclen = ' ' ** user_form = ' ' ** user_prog = ' ' * IMPORTING * filelength = number_of_recs * TABLES * data_tab = download_itab * EXCEPTIONS * conversion_error = 01 * file_open_error = 02 * file_read_error = 03 * invalid_table_width = 04 * invalid_type = 05 * no_batch = 06 * unknown_error = 07.
WS_FILENAME_GET CALL FUNCTION 'WS_FILENAME_GET' EXPORTING def_filename = space def_path = space mask = ',*.*,*.*.'
HR_DK_GET_T5M8P_FROM_TEXT CALL FUNCTION 'HR_DK_GET_T5M8P_FROM_TEXT' EXPORTING line_of_file = itab-line IMPORTING hr_pernr = i5m8p-pernr begda = begda endda = endda lgart = i5m8p-lgart betpe = i5m8p-betpe anzhl = i5m8p-anzhl betrg = i5m8p-betrg spstr = i5m8p-spstr firm = i5m8p-firma lonnr = i5m8p-lonnr EXCEPTIONS OTHERS = 1.
HR_DK_FTP_PBS CALL FUNCTION 'HR_DK_FTP_PBS' DESTINATION 'HR_DK_PBS_FTP' EXPORTING command = 'GETC' sourcefile = rfcfile targetfile = space firma = pbs_firma TABLES itab = itab EXCEPTIONS coulndt_open_source = 1 couldnt_open_target = 2 error_writing_target = 3 error_reading_source = 4 error_closing_file = 5 error_deleting_file = 6 couldnt_read_from_file = 7 error_creating_directory = 8 change_dir_failed = 9 change_maindir_failed = 10 open_sourcefile_failed = 11 open_targetfile_failed = 12 OTHERS = 13.
SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING text = statustext EXCEPTIONS OTHERS = 1.
HR_DK_ALV_DISP_LIST_PERSON CALL FUNCTION 'HR_DK_ALV_DISP_LIST_PERSON' EXPORTING struct_name = 'HRDK_RPCIMPM2' current_report = sy-cprog * LIST_TITLE = * LIST_TITLE2 = * GUI_STATUS = ' ' variant = pa_varia * HR_DISPLAY_ERROR_LIST = ' ' * HR_DISPLAY_STAT_LIST = ' ' callback_end_of_list = 'END_OF_LIST' * CALLBACK_BUTTON1 = ' ' * TEXT_BUTTON1 = ' ' * CALLBACK_BUTTON2 = ' ' * TEXT_BUTTON2 = ' ' * CALLBACK_USER_COMMAND = ' ' TABLES tab = output_table * EXCEPTIONS * READ_INFOTYPE_FAILED = 1 * HR_ALV_LIST_DISPLAY_ERROR = 2 * OTHERS = 3 .
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
RPCIMPM5 - documentation and ABAP source code RPCIMPM4 - documentation and ABAP source code RPCIMPM3 - documentation and ABAP source code RPCIMPM2 - Import year-end values for wage types from PBS results file RPCIMPM2 - Import year-end values for wage types from PBS results file RPCIMPM1 - Import payroll results from PBS to R/3