SAP Reports / Programs | Payroll | China(PY-CN) SAP PY

PC2TDCNK SAP ABAP INCLUDE - Include PC2TDCNK







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


INCLUDES used within this REPORT PC2TDCNK

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:

CD_READ_DATE_RANGE_ACTUAL_NV

CD_READ_DATE_RANGE_WITH_PAYDT * CALL FUNCTION 'CD_READ_DATE_RANGE_ACTUAL_NV' * Start of Note 1522180: fix the cross year retro * CALL FUNCTION 'CD_READ_DATE_RANGE_WITH_PAYDT' " note 1473194 * EXPORTING * begda = g_first_date_of_taxyr * endda = g_last_date_of_taxyr * TABLES * rgdir_in = rgdir * rgdir_out = it_rgdir.

CD_SELECT_IPEND_RANGE ** CALL FUNCTION 'CD_SELECT_IPEND_RANGE' ** EXPORTING ** ipbeg_date = iv_begda_tax_year ** ipend_date = iv_endda_tax_year ** TABLES ** in_rgdir = it_rgdir ** out_rgdir = it_tmp_rgdir.

CD_READ_PREVIOUS ** CALL FUNCTION 'CD_READ_PREVIOUS' ** EXPORTING ** in_record = ls_rgdir ** exact = 'X' ** TABLES ** rgdir = p_rgdir ** out_rgdir = it_tmp_rgdir.

PYXX_READ_RGDIR_PAYRESULTS ** CALL FUNCTION 'PYXX_READ_RGDIR_PAYRESULTS' ** EXPORTING ** clusterid = lv_relid ** employeenumber = pernr-pernr ** TABLES ** rgdir = it_tmp_rgdir ** imported_periods = lt_results ** EXCEPTIONS ** import_error = 1 ** OTHERS = 2.

CD_SELECT_IPEND_RANGE CALL FUNCTION 'CD_SELECT_IPEND_RANGE' EXPORTING ipbeg_date = pv_begda_of_taxyr ipend_date = pv_endda_of_taxyr TABLES in_rgdir = it_rgdir out_rgdir = lt_tmp_rgdir.

CD_READ_PREVIOUS CALL FUNCTION 'CD_READ_PREVIOUS' EXPORTING in_record = ls_rgdir exact = 'X' TABLES rgdir = pt_rgdir out_rgdir = lt_tmp_rgdir EXCEPTIONS no_record_found = 1.

PYXX_READ_RGDIR_PAYRESULTS CALL FUNCTION 'PYXX_READ_RGDIR_PAYRESULTS' EXPORTING clusterid = lv_relid employeenumber = pernr-pernr TABLES rgdir = lt_tmp_rgdir imported_periods = lt_results EXCEPTIONS import_error = 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 PC2TDCNK or its description.