SAP Reports / Programs | Payroll | Germany(PY-DE) SAP PY

RPCAODD0 SAP ABAP Report - Data Access Tax Audit: Download of a Year







RPCAODD0 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Download one or more files for the data transfer...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 RPCAODD0 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_M01_RPCAODD0 - Data Access Tax Audit: Download


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 RPCAODD0. "Basic submit
SUBMIT RPCAODD0 AND RETURN. "Return to original report after report execution complete
SUBMIT RPCAODD0 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: CODEPAGE = Code Page for Download
Selection Text: TSO_DATA = Data File(s)
Selection Text: AS_FILE = D .
Selection Text: PC_FILE = D .
Title: Data Access Tax Audit: Download of a Year
Text Symbol: F01 = Files from File System
Text Symbol: F02 = Download
Text Symbol: M01 = Read In Data File &1...
Text Symbol: M02 = Read In Data File &1... Completed.
Text Symbol: P01 = C:\*.*
Text Symbol: P02 = Tgt File
Text Symbol: T03 =
Text Symbol: T04 =
Text Symbol: T07 =
Text Symbol: T08 =


INCLUDES used within this REPORT RPCAODD0

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:

FILE_GET_NAME CALL FUNCTION 'FILE_GET_NAME' EXPORTING logical_filename = 'HR_DE_TX_DATENUEBERLASSUNG_DATEINAME' IMPORTING file_name = as_file EXCEPTIONS file_not_found = 1 OTHERS = 2.

WS_FILENAME_GET CALL FUNCTION 'WS_FILENAME_GET' "#EC * EXPORTING def_filename = prefname def_path = prefname mask = g_mask mode = 'O' title = 'Zieldatei'(p02) IMPORTING filename = pc_file EXCEPTIONS OTHERS = 5.

SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING text = message_text.

HR_PAL_GENRL_MSG_ADD CALL FUNCTION 'HR_PAL_GENRL_MSG_ADD' EXPORTING i_msgid = c_msgid i_msgty = c_e i_msgno = '030' i_msgv1 = sy-msgv1 i_msgv2 = sy-msgv2 EXCEPTIONS program_error = 1 OTHERS = 2.

SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING text = message_text.

HR_PAL_GENRL_MSG_ADD CALL FUNCTION 'HR_PAL_GENRL_MSG_ADD' EXPORTING i_msgid = c_msgid i_msgty = c_i i_msgno = '043' i_msgv1 = sy-msgv1 EXCEPTIONS program_error = 1 OTHERS = 2.

HR_PAL_LOG_DISPLAY CALL FUNCTION 'HR_PAL_LOG_DISPLAY' EXPORTING i_s_display_profile = l_s_display_profile * I_S_FLAT_PROFILE = EXCEPTIONS program_error = 1 no_logs = 2 OTHERS = 3 .

HR_PAL_GENRL_MSG_ADD CALL FUNCTION 'HR_PAL_GENRL_MSG_ADD' EXPORTING i_msgid = c_msgid i_msgty = c_e i_msgno = '100' i_msgv1 = sy-msgv1 i_msgv2 = sy-msgv2 EXCEPTIONS program_error = 1 OTHERS = 2.

HR_PAL_GENRL_MSG_ADD CALL FUNCTION 'HR_PAL_GENRL_MSG_ADD' EXPORTING i_msgid = c_msgid i_msgty = c_e i_msgno = '101' i_msgv1 = sy-msgv1 i_msgv2 = sy-msgv2 EXCEPTIONS program_error = 1 OTHERS = 2.

HR_PAL_GENRL_MSG_ADD CALL FUNCTION 'HR_PAL_GENRL_MSG_ADD' EXPORTING i_msgid = c_msgid i_msgty = c_e i_msgno = '044' EXCEPTIONS program_error = 1 OTHERS = 2.

GUI_DOWNLOAD CALL FUNCTION 'GUI_DOWNLOAD' EXPORTING bin_filesize = p_struc_len filename = pc_file_string filetype = 'BIN' IMPORTING filelength = filelength TABLES data_tab = p_out_tab EXCEPTIONS OTHERS = 4.

GUI_VSS_DOWNLOAD CALL FUNCTION 'GUI_VSS_DOWNLOAD' EXPORTING codepage = codepage_abap_encod filename = pc_file_string IMPORTING filelength = filelength TABLES data_tab = out_tab_vss EXCEPTIONS OTHERS = 4.

HR_PAL_GENRL_MSG_ADD CALL FUNCTION 'HR_PAL_GENRL_MSG_ADD' EXPORTING i_msgid = c_msgid i_msgty = c_i i_msgno = '010' i_msgv1 = sy-msgv1 i_msgv2 = sy-msgv2 EXCEPTIONS program_error = 1 OTHERS = 2.

HR_PAL_GENRL_MSG_ADD CALL FUNCTION 'HR_PAL_GENRL_MSG_ADD' EXPORTING i_msgid = sy-msgid i_msgty = sy-msgty i_msgno = sy-msgno i_msgv1 = sy-msgv1 i_msgv2 = sy-msgv2 EXCEPTIONS program_error = 1 OTHERS = 2.

FILE_VALIDATE_NAME CALL FUNCTION 'FILE_VALIDATE_NAME' EXPORTING logical_filename = lc_logical_filename CHANGING physical_filename = p_path EXCEPTIONS logical_filename_not_found = 1 validation_failed = 2 OTHERS = 3.

HR_PAL_GENRL_MSG_ADD CALL FUNCTION 'HR_PAL_GENRL_MSG_ADD' EXPORTING i_msgid = c_msgid i_msgty = c_e i_msgno = '042' i_msgv1 = sy-msgv1 EXCEPTIONS program_error = 1 OTHERS = 2.

AUTHORITY_CHECK_DATASET * CALL FUNCTION 'AUTHORITY_CHECK_DATASET' * EXPORTING * activity = 'READ' * filename = p_as_path * EXCEPTIONS * no_authority = 1 * activity_unknown = 2 * OTHERS = 3.



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