PCARTEC 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 PCARTEC into the relevant SAP transactions such as SE38 or SE80
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.
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
HRAR_SUBTRACT_MONTH_TO_DATE CALL FUNCTION 'HRAR_SUBTRACT_MONTH_TO_DATE' EXPORTING date = aper-begda IMPORTING date_minus_one_month = endda_549q.
HRAR_GET_PAYROLL_PERIOD CALL FUNCTION 'HRAR_GET_PAYROLL_PERIOD' EXPORTING permo = aper-permo date = endda_549q IMPORTING begda = last_begda.
HRAR_READ_RGDIR_PAYRESULTS CALL FUNCTION 'HRAR_READ_RGDIR_PAYRESULTS' EXPORTING pernr = pernr-pernr begda = last_begda begda_for_last = aper-begda endda_for_last = aper-endda last = c_true TABLES payar_result = payar_results EXCEPTIONS error_in_cu_read_rgdir = 1 error_in_cd_select_date_range = 2 error_in_cd_select_srtza = 3 error_in_cd_select_void = 4 error_in_cd_select_payty_range = 5 error_in_cd_select_payid_range = 6 error_in_cd_select_fpper = 7 error_in_cd_select_permo = 8 error_in_cd_select_abkrs = 9 error_in_cd_select_juper = 10 error_in_read_rgdir_payresults = 11 error_incorrect_date_range = 12 error_incorrect_fpper_range = 13 error_others = 14 OTHERS = 15.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.