SAP Reports / Programs | Payroll | India(PY-IN) SAP PY

PCF24IN9 SAP ABAP INCLUDE - Subroutines for download







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


INCLUDES used within this REPORT PCF24IN9

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:

WS_DOWNLOAD * call function 'WS_DOWNLOAD' * exporting * filename = pathname * filetype = ftype * tables * data_tab = error_tab.

GUI_DOWNLOAD CALL FUNCTION 'GUI_DOWNLOAD' EXPORTING FILENAME = pathname FILETYPE = ftype WRITE_FIELD_SEPARATOR = 'X' TABLES DATA_TAB = error_tab EXCEPTIONS FILE_WRITE_ERROR = 1. "Unicode

WS_DOWNLOAD * call function 'WS_DOWNLOAD' * exporting * filename = pathname * filetype = ftype * tables * data_tab = disp_tab2.

GUI_DOWNLOAD CALL FUNCTION 'GUI_DOWNLOAD' EXPORTING FILENAME = pathname FILETYPE = ftype WRITE_FIELD_SEPARATOR = 'X' TABLES DATA_TAB = disp_tab2 EXCEPTIONS FILE_WRITE_ERROR = 1.

WS_DOWNLOAD

GUI_DOWNLOAD * call function 'WS_DOWNLOAD' * exporting * filename = pathname * filetype = ftype * MODE = 'A' * tables * data_tab = final_tab CALL FUNCTION 'GUI_DOWNLOAD' EXPORTING FILENAME = pathname FILETYPE = ftype APPEND = 'X' WRITE_FIELD_SEPARATOR = 'X' TABLES DATA_TAB = final_tab_temp EXCEPTIONS FILE_WRITE_ERROR = 1.

WS_DOWNLOAD

GUI_DOWNLOAD * call function 'WS_DOWNLOAD' * exporting * filename = pathname * filetype = ftype * MODE = 'A' * tables * data_tab = disp_tab3 CALL FUNCTION 'GUI_DOWNLOAD' EXPORTING FILENAME = pathname FILETYPE = ftype APPEND = 'X' WRITE_FIELD_SEPARATOR = 'X' TABLES DATA_TAB = disp_tab3 EXCEPTIONS FILE_WRITE_ERROR = 1.

GUI_DOWNLOAD CALL FUNCTION 'GUI_DOWNLOAD' EXPORTING FILENAME = pathname FILETYPE = ftype APPEND = 'X' WRITE_FIELD_SEPARATOR = 'X' TABLES DATA_TAB = challan EXCEPTIONS FILE_WRITE_ERROR = 1.

GUI_DOWNLOAD CALL FUNCTION 'GUI_DOWNLOAD' EXPORTING FILENAME = pathname FILETYPE = ftype APPEND = 'X' WRITE_FIELD_SEPARATOR = 'X' TABLES DATA_TAB = disp_tab8 EXCEPTIONS FILE_WRITE_ERROR = 1.

GUI_DOWNLOAD CALL FUNCTION 'GUI_DOWNLOAD' EXPORTING FILENAME = pathname FILETYPE = ftype APPEND = 'X' WRITE_FIELD_SEPARATOR = 'X' TABLES DATA_TAB = disp_tab6 EXCEPTIONS FILE_WRITE_ERROR = 1.

WS_DOWNLOAD * call function 'WS_DOWNLOAD' * exporting * filename = pathname * filetype = ftype * MODE = 'A' * tables * data_tab = disp_tab4 * .

GUI_DOWNLOAD CALL FUNCTION 'GUI_DOWNLOAD' EXPORTING FILENAME = pathname FILETYPE = ftype APPEND = 'X' WRITE_FIELD_SEPARATOR = 'X' TABLES DATA_TAB = disp_tab4 EXCEPTIONS FILE_WRITE_ERROR = 1.

WS_DOWNLOAD * call function 'WS_DOWNLOAD' * exporting * filename = pathname * filetype = ftype * MODE = 'A' * tables * data_tab = disp_tab7 * .

GUI_DOWNLOAD CALL FUNCTION 'GUI_DOWNLOAD' EXPORTING FILENAME = pathname FILETYPE = ftype APPEND = 'X' WRITE_FIELD_SEPARATOR = 'X' TABLES DATA_TAB = disp_tab7 EXCEPTIONS FILE_WRITE_ERROR = 1. "Unicode

WS_DOWNLOAD * call function 'WS_DOWNLOAD' * exporting * filename = pathname * filetype = ftype * tables * data_tab = nx_tab1 * .

GUI_DOWNLOAD CALL FUNCTION 'GUI_DOWNLOAD' EXPORTING FILENAME = pathname FILETYPE = ftype WRITE_FIELD_SEPARATOR = 'X' TABLES DATA_TAB = nx_tab1 EXCEPTIONS FILE_WRITE_ERROR = 1.

WS_DOWNLOAD * call function 'WS_DOWNLOAD' * exporting * filename = pathname * filetype = ftype * mode = 'A' * tables * data_tab = nx_dp_tab * .

GUI_DOWNLOAD CALL FUNCTION 'GUI_DOWNLOAD' EXPORTING FILENAME = pathname FILETYPE = ftype APPEND = 'X' WRITE_FIELD_SEPARATOR = 'X' TABLES DATA_TAB = nx_dp_tab EXCEPTIONS FILE_WRITE_ERROR = 1.

WS_DOWNLOAD





* call function 'WS_DOWNLOAD' * exporting * filename = pathname * filetype = ftype * MODE = 'A' * tables * data_tab = nx_tab * .

GUI_DOWNLOAD CALL FUNCTION 'GUI_DOWNLOAD' EXPORTING FILENAME = pathname FILETYPE = ftype APPEND = 'X' WRITE_FIELD_SEPARATOR = 'X' TABLES DATA_TAB = nx_tab_temp EXCEPTIONS FILE_WRITE_ERROR = 1.

WS_DOWNLOAD * call function 'WS_DOWNLOAD' * exporting * filename = pathname * filetype = ftype * MODE = 'A' * tables * data_tab = nx_tab3 * .

GUI_DOWNLOAD CALL FUNCTION 'GUI_DOWNLOAD' EXPORTING FILENAME = pathname FILETYPE = ftype APPEND = 'X' WRITE_FIELD_SEPARATOR = 'X' TABLES DATA_TAB = nx_tab3 EXCEPTIONS FILE_WRITE_ERROR = 1.

WS_DOWNLOAD * call function 'WS_DOWNLOAD' * exporting * filename = pathname * filetype = ftype * MODE = 'A' * tables * data_tab = nx_tab4 * .

GUI_DOWNLOAD CALL FUNCTION 'GUI_DOWNLOAD' EXPORTING FILENAME = pathname FILETYPE = ftype APPEND = 'X' WRITE_FIELD_SEPARATOR = 'X' TABLES DATA_TAB = nx_tab4 EXCEPTIONS FILE_WRITE_ERROR = 1.

WS_FILENAME_GET call function 'WS_FILENAME_GET' exporting def_filename = rlgrap-filename def_path = $pathname mask = ',*.*,*.*.'

WS_DOWNLOAD * call function 'WS_DOWNLOAD' * exporting * filename = p_pathname * filetype = p_ftype * MODE = p_mode * tables * data_tab = p_dtab * .

GUI_DOWNLOAD CALL FUNCTION 'GUI_DOWNLOAD' EXPORTING FILENAME = pathname FILETYPE = ftype * WRITE_FIELD_SEPARATOR = 'X' TABLES DATA_TAB = file_hdr EXCEPTIONS FILE_WRITE_ERROR = 1.

GUI_DOWNLOAD CALL FUNCTION 'GUI_DOWNLOAD' EXPORTING FILENAME = pathname FILETYPE = ftype APPEND = 'X' * WRITE_FIELD_SEPARATOR = 'X' TABLES DATA_TAB = batch_hdr EXCEPTIONS FILE_WRITE_ERROR = 1.

GUI_DOWNLOAD CALL FUNCTION 'GUI_DOWNLOAD' EXPORTING FILENAME = pathname FILETYPE = ftype APPEND = 'X' * WRITE_FIELD_SEPARATOR = 'X' TABLES DATA_TAB = ch_det EXCEPTIONS FILE_WRITE_ERROR = 1.

GUI_DOWNLOAD CALL FUNCTION 'GUI_DOWNLOAD' EXPORTING FILENAME = pathname FILETYPE = ftype APPEND = 'X' * WRITE_FIELD_SEPARATOR = 'X' TABLES DATA_TAB = dedu_det EXCEPTIONS FILE_WRITE_ERROR = 1.

GUI_DOWNLOAD CALL FUNCTION 'GUI_DOWNLOAD' EXPORTING FILENAME = pathname FILETYPE = ftype APPEND = 'X' * WRITE_FIELD_SEPARATOR = 'X' TABLES DATA_TAB = perk_det EXCEPTIONS FILE_WRITE_ERROR = 1.



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