HPLCP400 is a standard Executable ABAP Report 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 HPLCP400 into the relevant SAP transactions such as SE38 or SE80
Below is a list of transaction codes which are relevant to this SAP report
PC00_M46_PIT40 - Tax accounting form PIT40
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.
Selection Text: TST_ON = Test run (no update)
Selection Text: TDNEWID = New task
Selection Text: TDLIFE = Life
Selection Text: TDDELE = Delete after printout
Selection Text: TDARMOD = Archive mode
Selection Text: R_PAY = Round payment
Selection Text: R_KOREK = Form correction
Selection Text: R_EXC = Round excess payment
Selection Text: REC_DATE = Record created on
Selection Text: R3 = Ident. NIP-3
Selection Text: R1 = PIT-R
Selection Text: P_PDF = Duplex mode for PDF download
Selection Text: PRINTER = Printer name
Selection Text: PITYEAR = Year
Selection Text: MLIMIT = Monthly cost limit
Selection Text: LNAME = Last name
Selection Text: FOR1 = Form name
Selection Text: FNAME = First name
Selection Text: DIMMED = Print immediately
Selection Text: DIAL = Print preview
Title: Tax accounting form PIT40
Text Symbol: PTS = Attached forms
Text Symbol: FRX = Responsible person
Text Symbol: FR2 = Additional data
Text Symbol: FR1 = Printout data
Text Symbol: 202 = Read note 1832279.
Text Symbol: 201 = is not prepared for duplex mode.
Text Symbol: 200 = Form
Text Symbol: 104 = Personnel numbers incorrectly processed :
Text Symbol: 103 = Personnel numbers correctly processed :
Text Symbol: 102 = Personnel numbers processed :
Text Symbol: 101 = Personnel numbers rejected :
Text Symbol: 100 = Personnel numbers selected :
Text Symbol: 001 = Missing data in table T511K
INCLUDE PCZDFPL0.
INCLUDE PCPIDPL0.
INCLUDE PCINTPL0. "OT41606452
INCLUDE PCPITPL0. "87020850
No SAP DATABASE tables are accessed within this REPORT code!
RP_HIRE_FIRE CALL FUNCTION 'RP_HIRE_FIRE' EXPORTING BEG = '18000101' END = '99991231' IMPORTING FIRE_DATE = FIRE_DATE HIRE_DATE = HIRE_DATE TABLES PPHIFI = PHIFI PP0000 = P0000 PP0001 = P0001.
OPEN_FORM CALL FUNCTION 'OPEN_FORM' EXPORTING DIALOG = DIAL * form = for1 OT61820077 FORM = FORM_NAME "OT61820077 LANGUAGE = 'L' OPTIONS = ITCPO.
WRITE_FORM CALL FUNCTION 'WRITE_FORM' "HR-PL-38 EXPORTING WINDOW = 'STR1'.
WRITE_FORM CALL FUNCTION 'WRITE_FORM' EXPORTING WINDOW = 'MAIN'.
END_FORM CALL FUNCTION 'END_FORM'.
START_FORM CALL FUNCTION 'START_FORM' EXPORTING startpage = 'STRONA4'.
WRITE_FORM CALL FUNCTION 'WRITE_FORM' EXPORTING window = 'MAIN'.
WRITE_FORM * call function 'WRITE_FORM' * exporting * window = 'STR2'.
WRITE_FORM * call function 'WRITE_FORM' * exporting * window = 'STR3'.
WRITE_FORM * call function 'WRITE_FORM' * exporting * window = 'STR4'.
CLOSE_FORM CALL FUNCTION 'CLOSE_FORM'.
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_PL_PY_EVP CALL FUNCTION 'HR_PL_PY_EVP' EXPORTING PER_BEG = PN-BEGDA PER_END = PN-ENDDA MODE = 1 "by in pay date VIEW = 1 "in periods * payt_ = l_reg * payt_a = l_spec * payt_b = l_kor TABLES IN_RGDIR = RGDIR OUT_EVP = EVP2 OUT_EVPX = EVPX EXCEPTIONS OTHERS = 1 .
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 = EVP2 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 = EVPX-SEQNR * READ_ONLY_BUFFER = ' ' * READ_ONLY_INTERNATIONAL = ' ' 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 OTHERS = 8.
HR_INFOTYPE_OPERATION CALL FUNCTION 'HR_INFOTYPE_OPERATION' EXPORTING INFTY = '0015' NUMBER = PP0015-PERNR SUBTYPE = PP0015-SUBTY VALIDITYEND = PP0015-BEGDA VALIDITYBEGIN = PP0015-ENDDA RECORD = PP0015 OPERATION = 'INS' * nocommit = 'X' DIALOG_MODE = '1' " if error than with dialog IMPORTING RETURN = RETURN KEY = PAKEY.
BAPI_EMPLOYEE_ENQUEUE CALL FUNCTION 'BAPI_EMPLOYEE_ENQUEUE' EXPORTING NUMBER = PERNR-PERNR IMPORTING RETURN = RETURN_STRUC.
HR_APPEND_ERROR_LIST CALL FUNCTION 'HR_APPEND_ERROR_LIST' EXPORTING PERNR = PERNR-PERNR ARBGB = 'RP' MSGTY = 'E' MSGNO = '002'.
BAPI_EMPLOYEE_DEQUEUE CALL FUNCTION 'BAPI_EMPLOYEE_DEQUEUE' EXPORTING NUMBER = PERNR-PERNR.
READ_FORM CALL FUNCTION 'READ_FORM' EXPORTING form = form_name language = 'L' IMPORTING found = lv_found TABLES pages = lt_pages.
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 HPLCP400 or its description.