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

PCPTXIN7 SAP ABAP INCLUDE - Standard routines for PTax







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


Text pool values


Title: Standard routines for PTax


INCLUDES used within this REPORT PCPTXIN7

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:

HR_READ_INFOTYPE CALL FUNCTION 'HR_READ_INFOTYPE' EXPORTING pernr = pernr-pernr infty = '0002' begda = begda endda = endda IMPORTING subrc = bck_subrc TABLES infty_tab = p0002_tmp EXCEPTIONS infty_not_found = 1 OTHERS = 2.

RP_EDIT_NAME CALL FUNCTION 'RP_EDIT_NAME' EXPORTING format = '01' langu = sy-langu molga = '40' pp0002 = p0002_tmp IMPORTING edit_name = format_name.

HR_IN_GET_FISCAL_PERIOD CALL FUNCTION 'HR_IN_GET_FISCAL_PERIOD' EXPORTING parea1 = pernr-abkrs * PYEAR1 = IMPORTING pbegda = fybegda pendda = fyendda * FIYEAR = EXCEPTIONS no_entry_found_t549a = 1 no_entry_found_t549q = 2 no_begin_period_found = 3 no_end_period_found = 4 no_cntrl_record_found = 5 OTHERS = 6.

HELP_VALUES_GET_WITH_TABLE CALL FUNCTION 'HELP_VALUES_GET_WITH_TABLE' EXPORTING fieldname = fnam tabname = tnam titel = title IMPORTING select_value = chd_value TABLES fields = ihelp_fields valuetab = helptab EXCEPTIONS field_not_in_ddic = 01 more_then_one_selectfield = 02 no_selectfield = 03.

PYXX_GET_RELID_FROM_PERNR CALL FUNCTION 'PYXX_GET_RELID_FROM_PERNR' EXPORTING employee = pernr-pernr IMPORTING relid = lv_relid.

CD_READ_RGDIR CALL FUNCTION 'CD_READ_RGDIR' EXPORTING persnr = pernr-pernr TABLES in_rgdir = lt_rgdir.

PYXX_READ_PAYROLL_RESULT CALL FUNCTION 'PYXX_READ_PAYROLL_RESULT' EXPORTING clusterid = lv_relid employeenumber = pernr-pernr sequencenumber = lv_seqnr CHANGING payroll_result = lt_py_result.



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