SAP Reports / Programs | Personnel Management | Personnel Administration | USA(PA-PA-US) SAP PA

RPUEOSU0 SAP ABAP Report - Utility to download promotions based on events to local drive







RPUEOSU0 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Utility to download promotions based on events to local drive The purpose of this utility is to help users identify and download employee promotions data that is based on customized actions/events...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 RPUEOSU0 into the relevant SAP transactions such as SE38 or SE80


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 RPUEOSU0. "Basic submit
SUBMIT RPUEOSU0 AND RETURN. "Return to original report after report execution complete
SUBMIT RPUEOSU0 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: SL_PRM_R = Reasons: Promotion
Selection Text: SL_PROM = Actions: Promotion
Title: Utility to download promotions based on events to local drive
Text Symbol: C01 = Promotions.txt
Text Symbol: C02 = Specify the output file name
Text Symbol: C03 = The file has been successfully written to the disk
Text Symbol: E01 = Can not download the file to the disk. Error code
Text Symbol: E02 = Can not get the file name. Error code
Text Symbol: SS1 = Promotions: Actions and reasons


INCLUDES used within this REPORT RPUEOSU0

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:

RP_EDIT_NAME CALL FUNCTION 'RP_EDIT_NAME' EXPORTING pp0002 = p0002 molga = const_molga langu = sy-langu format = p0002-knznm IMPORTING edit_name = data_tab-ename.

RP_EDIT_NAME * CALL FUNCTION 'RP_EDIT_NAME' * EXPORTING * pp0002 = p0002 * molga = const_molga * langu = sy-langu * format = p0002-knznm * IMPORTING * edit_name = data_tab-ename.

WS_FILENAME_GET CALL FUNCTION 'WS_FILENAME_GET' EXPORTING def_filename = filename mask = ',*.txt,*.txt.'

WS_DOWNLOAD * CALL FUNCTION 'WS_DOWNLOAD' * EXPORTING * filename = filename * filetype = 'DAT' * TABLES * data_tab = data_tab * 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 * OTHERS = 8.

GUI_DOWNLOAD CALL FUNCTION 'GUI_DOWNLOAD' EXPORTING * BIN_FILESIZE = FILENAME = filename FILETYPE = 'ASC' * APPEND = ' ' * WRITE_FIELD_SEPARATOR = ' ' * HEADER = '00' * TRUNC_TRAILING_BLANKS = ' ' * WRITE_LF = 'X' * COL_SELECT = ' ' * COL_SELECT_MASK = ' ' * IMPORTING * FILELENGTH = TABLES DATA_TAB = data_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 .



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