SAP Reports / Programs

HPLCP8AR SAP ABAP Report - PIT-8AR tax form







HPLCP8AR 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 HPLCP8AR into the relevant SAP transactions such as SE38 or SE80


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

PC00_M46_PIT8AR - Tax accounting form PIT-8AR


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


Text pool values


Selection Text: COM03 = III
Selection Text: COM04 = IV
Selection Text: COM05 = V
Selection Text: COM06 = VI
Selection Text: COM07 = VII
Selection Text: COM08 = VIII
Selection Text: COM09 = IX
Selection Text: COM10 = X
Selection Text: COM11 = XI
Selection Text: COM12 = XII
Selection Text: CORR = Correction
Selection Text: DIAL = Print preview
Selection Text: DIMMED = Print immediately
Selection Text: FNAME = First name
Selection Text: FOR1 = Form name
Selection Text: LNAME = Last name
Selection Text: NIP = NIP
Selection Text: PRINTER = Output device
Selection Text: TDARMOD = Archiving mode
Selection Text: TDDELE = Delete after print
Selection Text: TDLIFE = Spool retention period (days)
Selection Text: TDNEWID = New spool request
Selection Text: COM02 = II
Selection Text: COM01 = I
Title: Tax accounting form PIT-8AR
Text Symbol: C01 = I
Text Symbol: C02 = II
Text Symbol: C03 = III
Text Symbol: C04 = IV
Text Symbol: C05 = V
Text Symbol: C06 = VI
Text Symbol: C07 = VII
Text Symbol: C08 = VIII
Text Symbol: C09 = IX
Text Symbol: C10 = X
Text Symbol: C11 = XI
Text Symbol: C12 = XII
Text Symbol: FT1 = Parameters





Text Symbol: FT2 = Comission
Text Symbol: FT3 = Responsible person
Text Symbol: FT4 = Print parameters
Text Symbol: M01 = Begin and end data must be in the same year.
Text Symbol: M02 = Nothing is selected.
Text Symbol: Z01 = zl


INCLUDES used within this REPORT HPLCP8AR

INCLUDE PCZDFPL0.
INCLUDE PCINTPL0.
INCLUDE PCPITPL1.


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:

HR_PL_PY_CLASS_INIT CALL FUNCTION 'HR_PL_PY_CLASS_INIT' EXPORTING lgart_class = '12' processing_class = ' '.

OPEN_FORM CALL FUNCTION 'OPEN_FORM' EXPORTING dialog = dial form = form_name language = 'L' options = itcpo EXCEPTIONS OTHERS = 1.

WRITE_FORM CALL FUNCTION 'WRITE_FORM' EXPORTING window = 'MAIN' EXCEPTIONS OTHERS = 1.

CLOSE_FORM CALL FUNCTION 'CLOSE_FORM'.

HR_PL_COMPANY_GET_DETAILS CALL FUNCTION 'HR_PL_COMPANY_GET_DETAILS' EXPORTING company_key = ckey mode = 0 "data for US trans = 1 "with translate to upper case IMPORTING company_data = cd EXCEPTIONS "ins in OT29088682 company_not_found = 1 OTHERS = 2.

F4IF_INT_TABLE_VALUE_REQUEST CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST' EXPORTING retfield = 'NIP' value_org = 'S' TABLES value_tab = value_tab return_tab = return_tab EXCEPTIONS parameter_error = 1 no_values_found = 2 OTHERS = 3 .

HR_PL_COMPANY_GET_DETAILS CALL FUNCTION 'HR_PL_COMPANY_GET_DETAILS' EXPORTING company_key = ckey mode = 0 "data for US trans = 1 "with translate to upper case IMPORTING company_data = cd EXCEPTIONS "ins in OT29088682 company_not_found = 1 OTHERS = 2.

HR_PL_COMPANY_GET_DETAILS_ID CALL FUNCTION 'HR_PL_COMPANY_GET_DETAILS_ID' EXPORTING payer_id = gv_payer_id mode = 0 trans = 1 * NATION_ADDR = * LANGU = 'L' IMPORTING company_data = cd EXCEPTIONS company_not_found = 1 * INVALID_MODE = 2 OTHERS = 3 .

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 = lv_begda per_end = lv_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.



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