SAP Reports / Programs | Payroll(PY) SAP PY

PCP16UAF SAP ABAP INCLUDE - Include ZPTP16UAF







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


Text pool values


Title: Include ZPTP16UAF


INCLUDES used within this REPORT PCP16UAF

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_GET_FILE_INFO CALL FUNCTION 'GUI_GET_FILE_INFO' EXPORTING FNAME = l_filename IMPORTING * FILE_VERSION = * FILE_DBGREL = * FILE_LANG = FILE_SIZE = size EXCEPTIONS FILEINFO_ERROR = 1 OTHERS = 2 .

RH_READ_INFTY CALL FUNCTION 'RH_READ_INFTY' EXPORTING * AUTHORITY = 'DISP' * WITH_STRU_AUTH = 'X' INFTY = '1001' * ISTAT = '1' * EXTEND = 'X' * SUBTY = ' ' * BEGDA = PA_DATEI * ENDDA = PA_DATEI * CONDITION = '00000' * INFTB = '1' * SORT = 'X' * VIA_T777D = ' ' TABLES INNNN = P1001 OBJECTS = OBJ1001 EXCEPTIONS ALL_INFTY_WITH_SUBTY = 1 NOTHING_FOUND = 2 NO_OBJECTS = 3 WRONG_CONDITION = 4 OTHERS = 5 .

HR_READ_INFOTYPE CALL FUNCTION 'HR_READ_INFOTYPE' EXPORTING PERNR = IT_PERNR-pernr INFTY = '0001' BEGDA = PA_DATEI ENDDA = PA_DATEI TABLES INFTY_TAB = P0001 EXCEPTIONS INFTY_NOT_FOUND = 1 OTHERS = 2.

FI_ACCT_DET_HR CALL FUNCTION 'FI_ACCT_DET_HR' EXPORTING companycode = pa_bukrs process = 'HRF' SYMB_ACCT = gv_symko * EG_ACCT_DET = * ADD_MODIF = IMPORTING GL_ACCOUNT_DEBIT = svz * GL_ACCOUNT_CREDIT = * POSTING_KEY_DEBIT = * POSTING_KEY_CREDIT = * ACCOUNT_TYPE = .

HR_READ_INFOTYPE CALL FUNCTION 'HR_READ_INFOTYPE' EXPORTING PERNR = IT_PERNR-pernr INFTY = '0008' BEGDA = PA_DATEI ENDDA = PA_DATEI TABLES INFTY_TAB = P0008 EXCEPTIONS INFTY_NOT_FOUND = 1 OTHERS = 2.

HR_READ_INFOTYPE CALL FUNCTION 'HR_READ_INFOTYPE' EXPORTING PERNR = IT_PERNR-pernr INFTY = '2001' BEGDA = PA_DATEI ENDDA = PA_DATEI TABLES INFTY_TAB = P2001 EXCEPTIONS INFTY_NOT_FOUND = 1 OTHERS = 2.

CU_READ_RGDIR CALL FUNCTION 'CU_READ_RGDIR' EXPORTING PERSNR = IT_PERNR-PERNR * BUFFER = * NO_AUTHORITY_CHECK = ' ' * IMPORTING * MOLGA = '36' TABLES IN_RGDIR = RGDIR EXCEPTIONS NO_RECORD_FOUND = 1 OTHERS = 2 .

PYXX_READ_PAYROLL_RESULT call function 'PYXX_READ_PAYROLL_RESULT' exporting clusterid = 'UA' employeenumber = it_pernr-pernr sequencenumber = V_RGDIR-SEQNR * READ_ONLY_BUFFER = ' ' * READ_ONLY_INTERNATIONAL = ' ' * ARC_GROUP = ' ' * CHECK_READ_AUTHORITY = 'X' * FILTER_CUMULATIONS = 'X' * CLIENT = * IMPORTING * VERSION_NUMBER_PAYVN = * VERSION_NUMBER_PCL2 = changing payroll_result = result EXCEPTIONS ILLEGAL_ISOCODE_OR_CLUSTERID = 1 ERROR_GENERATING_IMPORT = 2 IMPORT_MISMATCH_ERROR = 3 SUBPOOL_DIR_FULL = 4 NO_READ_AUTHORITY = 5 NO_RECORD_FOUND = 6 VERSIONS_DO_NOT_MATCH = 7 ERROR_READING_ARCHIVE = 8 ERROR_READING_RELID = 9 OTHERS = 10 .

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

GUI_DOWNLOAD CALL FUNCTION 'GUI_DOWNLOAD' EXPORTING * BIN_FILESIZE = FILENAME = wr_EDURL * FILETYPE = 'ASC' * APPEND = '' * WRITE_FIELD_SEPARATOR = ' ' * HEADER = '00' * TRUNC_TRAILING_BLANKS = ' ' * WRITE_LF = 'X' * COL_SELECT = ' ' * COL_SELECT_MASK = ' ' * DAT_MODE = ' ' * IMPORTING * FILELENGTH = TABLES DATA_TAB = LT_XMLEXP 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 PCP16UAF or its description.