RPUYRKV0 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Upload program for Norwegian occupation codes This program is used for uploading Norwegian occupation codes (yrkeskoder) to the appropriate table...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 RPUYRKV0 into the relevant SAP transactions such as SE38 or SE80
Below is a list of transaction codes which are relevant to this SAP report
PC00_M20_UYRK - Upload of yrkeskoder
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: APP = Append new occupation codes
Selection Text: DATE = Start date for new codes
Selection Text: MOD = Modify with complete new list
Selection Text: TEST = Testrun - no update
Title: Yrkeskoder import
Text Symbol: DAT = Begin of validity date
Text Symbol: E01 = Error during upload
Text Symbol: E02 = Error while displaying list
Text Symbol: PRA = Update
Text Symbol: TYP = Choose update mode
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
GUI_UPLOAD CALL FUNCTION 'GUI_UPLOAD' EXPORTING filename = filename * FILETYPE = 'ASC' * HAS_FIELD_SEPARATOR = ' ' * HEADER_LENGTH = 0 * IMPORTING * FILELENGTH = * HEADER = TABLES data_tab = import EXCEPTIONS file_open_error = 1 file_read_error = 2 no_batch = 3 gui_refuse_filetransfer = 4 invalid_type = 5 no_authority = 6 unknown_error = 7 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 .
UPLOAD * CALL FUNCTION 'UPLOAD' * EXPORTING * filename = 'a:\yrkeskoder.txt'
REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_structure_name = 'T5V5A' TABLES t_outtab = i5v5a EXCEPTIONS program_error = 1 OTHERS = 2.
HR_DISPLAY_ERROR_LIST CALL FUNCTION 'HR_DISPLAY_ERROR_LIST' EXPORTING no_popup = 'X' no_print = space TABLES error = error_tab.
HR_DISPLAY_ERROR_LIST CALL FUNCTION 'HR_DISPLAY_ERROR_LIST' TABLES error = error_tab.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.