SAP Reports / Programs | Payroll | Argentina(PY-AR) SAP PY

PCARTEC SAP ABAP INCLUDE - documentation and ABAP source code







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


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


INCLUDES used within this REPORT PCARTEC

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:

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.



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