SAP Reports / Programs | Personnel Management | Personnel Administration | Norway(PA-PA-NO) SAP PA

RPUYRKV0 SAP ABAP Report - Yrkeskoder import







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


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

PC00_M20_UYRK - Upload of yrkeskoder


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 RPUYRKV0. "Basic submit
SUBMIT RPUYRKV0 AND RETURN. "Return to original report after report execution complete
SUBMIT RPUYRKV0 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


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


INCLUDES used within this REPORT RPUYRKV0

No INCLUDES are used within this REPORT code!


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:

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.



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