SAP Reports / Programs | Payroll | Canada(PY-CA) SAP PY

RPCBPSK2 SAP ABAP INCLUDE - File download routines for Business Payroll Survey (Canada)







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


Text pool values


Title: File download routines for Business Payroll Survey (Canada)


INCLUDES used within this REPORT RPCBPSK2

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:

POPUP_TO_CONFIRM call function 'POPUP_TO_CONFIRM' exporting TITLEBAR = 'Confirm download'(10C) * DIAGNOSE_OBJECT = ' ' text_question = 'Some employees not counted, still download?'(10S) TEXT_BUTTON_1 = 'Yes' ICON_BUTTON_1 = 'ICON_OKAY' TEXT_BUTTON_2 = 'No' ICON_BUTTON_2 = 'ICON_CANCEL' * DEFAULT_BUTTON = '1' DISPLAY_CANCEL_BUTTON = ' ' * USERDEFINED_F1_HELP = ' ' * START_COLUMN = 25 * START_ROW = 6 * POPUP_TYPE = IMPORTING ANSWER = return.

GUI_DOWNLOAD call function 'GUI_DOWNLOAD' "SDAAL0K007118 EXPORTING filename = filename filetype = 'ASC' confirm_overwrite = 'X' "Note 895620 IMPORTING filelength = filelength TABLES data_tab = rec1_itab_final EXCEPTIONS "Note 895620 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 .

GUI_DOWNLOAD call function 'GUI_DOWNLOAD' "SDAAL0K007118 EXPORTING filename = filename filetype = 'ASC' append = mode "Note 895620 IMPORTING filelength = filelength TABLES data_tab = rec1_itab_final EXCEPTIONS "Note 895620 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.

GUI_DOWNLOAD call function 'GUI_DOWNLOAD' "SDAAL0K007118 EXPORTING filename = filename filetype = 'ASC' append = mode "Note 895620 IMPORTING filelength = filelength TABLES data_tab = rec2_itab_final "Note 895620 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 RPCBPSK2 or its description.