SAP Reports / Programs | Payroll(PY) SAP PY

PCZUSPL4 SAP ABAP INCLUDE - Include PCZUSPL4







PCZUSPL4 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 PCZUSPL4 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 PCZUSPL4. "Basic submit
SUBMIT PCZUSPL4 AND RETURN. "Return to original report after report execution complete
SUBMIT PCZUSPL4 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 PCZUSPL4


INCLUDES used within this REPORT PCZUSPL4

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:

END_OF_MONTH_DETERMINE_2 CALL FUNCTION 'END_OF_MONTH_DETERMINE_2' EXPORTING I_DATUM = DTEMP IMPORTING * E_KZ_ULT = E_TT = DDORSA-OKRES_DO(2).

END_OF_MONTH_DETERMINE_2 CALL FUNCTION 'END_OF_MONTH_DETERMINE_2' EXPORTING I_DATUM = PN-BEGDA IMPORTING E_TT = DNI30MAX.

END_OF_MONTH_DETERMINE_2 CALL FUNCTION 'END_OF_MONTH_DETERMINE_2' EXPORTING I_DATUM = DTEMP IMPORTING * E_KZ_ULT = E_TT = DDOURGA-OKRES_DO(2).

END_OF_MONTH_DETERMINE_2 CALL FUNCTION 'END_OF_MONTH_DETERMINE_2' EXPORTING I_DATUM = PN-BEGDA IMPORTING E_TT = DNI30MAX.

HR_E_NUM_OF_DAYS_OF_MONTH

HR_PL_E_NUM_OF_DAYS_OF_MONTH "CALL FUNCTION 'HR_E_NUM_OF_DAYS_OF_MONTH' "1163212 CALL FUNCTION 'HR_PL_E_NUM_OF_DAYS_OF_MONTH' EXPORTING P_FECHA = PERBEG IMPORTING NUMBER_OF_DAYS = MMIES.

HR_READ_INFOTYPE CALL FUNCTION 'HR_READ_INFOTYPE' EXPORTING PERNR = PERNR-PERNR INFTY = OFFSET-POLE+1(4) BEGDA = PN-BEGDA ENDDA = PN-ENDDA TABLES INFTY_TAB = BUFOR.

HR_PL_COMPANY_GET_DETAILS CALL FUNCTION 'HR_PL_COMPANY_GET_DETAILS' EXPORTING COMPANY_KEY = CKEY MODE = 1 "ZUS mode IMPORTING COMPANY_DATA = CD EXCEPTIONS COMPANY_NOT_FOUND = 1 OTHERS = 2.

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

HR_PCLX_INIT_BUFFER CALL FUNCTION 'HR_PCLX_INIT_BUFFER'.

HR_IMPORT_RGDIR_FROM_PCLX CALL FUNCTION 'HR_IMPORT_RGDIR_FROM_PCLX' EXPORTING EMPLOYEE_NUMBER = PERNR-PERNR CLUSTER_ID = IMPORT_RELID TABLES IMPORT_RGDIR = EVP EXCEPTIONS NO_RESULTS = 1 NO_READ_AUTHORITY = 2 OTHERS = 3.

PYXX_READ_PAYROLL_RESULT CALL FUNCTION 'PYXX_READ_PAYROLL_RESULT' EXPORTING CLUSTERID = IMPORT_RELID EMPLOYEENUMBER = PERNR-PERNR SEQUENCENUMBER = EVP-SEQNR CHANGING PAYROLL_RESULT = RESULT EXCEPTIONS OTHERS = 1.

CU_READ_RGDIR CALL FUNCTION 'CU_READ_RGDIR' EXPORTING PERSNR = pernr-pernr TABLES IN_RGDIR = rgdir EXCEPTIONS NO_RECORD_FOUND = 1 OTHERS = 2.

CU_READ_RGDIR CALL FUNCTION 'CU_READ_RGDIR' EXPORTING PERSNR = pernr-pernr TABLES IN_RGDIR = rgdir EXCEPTIONS NO_RECORD_FOUND = 1 OTHERS = 2.



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