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

PC649AR2 SAP ABAP INCLUDE - documentation and ABAP source code







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

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:

RP_HIRE_FIRE CALL FUNCTION 'RP_HIRE_FIRE' * EXPORTING * BEG = '18000101' * END = '99991231' IMPORTING FIRE_DATE = GT_FIRE_DATE * hire_date = TABLES PPHIFI = PHIFI PP0000 = P0000 PP0001 = P0001 EXCEPTIONS OTHERS = 1.

RP_HIRE_FIRE CALL FUNCTION 'RP_HIRE_FIRE' EXPORTING beg = employee-begda end = employee-endda IMPORTING * FIRE_DATE = FIRE_DATE hire_date = l_begda TABLES pphifi = phifi pp0000 = p0000 pp0001 = p0001 EXCEPTIONS OTHERS = 1.

H99B_OUTPUT_LFORM CALL FUNCTION 'H99B_OUTPUT_LFORM' EXPORTING i_molga = hr99b_form_sel-molga i_fogroup = hr99b_form_sel-fogroup i_folname = hr99b_form_sel-folname i_fovariant = hr99b_form_sel-fovariant i_data_struc = p_if_data EXCEPTIONS OTHERS = 99.

HRCA_COMPANYCODE_GETDETAIL CALL FUNCTION 'HRCA_COMPANYCODE_GETDETAIL' EXPORTING COMPANYCODE = EMPLOYER-BUKRS IMPORTING COMP_NAME = EMPLOYER-BUTXT ADDRESS = GD_ADDRESS TABLES APPENDIX = GD_APPENDIX EXCEPTIONS NOT_FOUND = 1 OTHERS = 2.

ADDR_GET CALL FUNCTION 'ADDR_GET' EXPORTING ADDRESS_SELECTION = GD_ADDRESS_SELECTION IMPORTING ADDRESS_VALUE = GD_ADDRESS_DATA EXCEPTIONS PARAMETER_ERROR = 1 ADDRESS_NOT_EXIST = 2 VERSION_NOT_EXIST = 3 INTERNAL_ERROR = 4 OTHERS = 5.

CD_SELECT_VOID CALL FUNCTION 'CD_SELECT_VOID' EXPORTING VOID_INDICATOR = CD_C-VOID_FALSE TABLES IN_RGDIR = RGDIR OUT_RGDIR = GR_RGDIR_01 EXCEPTIONS OTHERS = 1.

CD_SELECT_DATE_RANGE CALL FUNCTION 'CD_SELECT_DATE_RANGE' EXPORTING FPPER_BEGDA = GR_BEGDA FPPER_ENDDA = GR_ENDDA TABLES IN_RGDIR = GR_RGDIR_01 OUT_RGDIR = GR_RGDIR_02 EXCEPTIONS OTHERS = 1.

CD_SELECT_SRTZA CALL FUNCTION 'CD_SELECT_SRTZA' EXPORTING RECORD_TYPE = CD_C-ACTUAL TABLES IN_RGDIR = GR_RGDIR_02 OUT_RGDIR = GR_RGDIR EXCEPTIONS OTHERS = 1.

HR_READ_INFOTYPE CALL FUNCTION 'HR_READ_INFOTYPE' EXPORTING PERNR = if_pernr INFTY = '0014' BEGDA = if_begda ENDDA = if_endda IMPORTING SUBRC = subrc TABLES INFTY_TAB = asig_p0014 EXCEPTIONS OTHERS = 99.

HRAR_READ_T512W_VKLAS CALL FUNCTION 'HRAR_READ_T512W_VKLAS' EXPORTING LGART = asig_p0014-lgart ENDDA = if_endda PCLAS = '65' IMPORTING PVALU = proc_class_value EXCEPTIONS NOT_FOUND = 1 NOT_MAINTAINED = 2 OTHERS = 3.

HR_99S_APPCORRONDA CALL FUNCTION 'HR_99S_APPCORRONDA' EXPORTING p_molga = gc_corr_molga p_cogrp = gc_corr_income_tax p_corr_nr = gc_corr_tierra_del_fuego P_val_date = mw_wagetypes-endda p_act_date = mw_wagetypes-endda p_simulation = abap_true IMPORTING p_aplicate = lv_tfuego_valid.

CONTROL_FORM CALL FUNCTION 'CONTROL_FORM' EXPORTING command = 'NEW-PAGE' EXCEPTIONS others = 4.

RP_HIRE_FIRE CALL FUNCTION 'RP_HIRE_FIRE' EXPORTING BEG = CF_DATE END = CF_DATE * IMPORTING * FIRE_DATE = * HIRE_DATE = TABLES PPHIFI = PHIFI PP0000 = P0000 PP0001 = P0001.

CD_SELECT_VOID CALL FUNCTION 'CD_SELECT_VOID' EXPORTING VOID_INDICATOR = CD_C-VOID_FALSE TABLES IN_RGDIR = RGDIR OUT_RGDIR = OUL_RGDIR.

RP_HIRE_FIRE CALL FUNCTION 'RP_HIRE_FIRE' EXPORTING BEG = PN-BEGDA END = PN-ENDDA * IMPORTING * FIRE_DATE = FIRE_DATE * hire_date = TABLES PPHIFI = PHIFI PP0000 = P0000 PP0001 = P0001 EXCEPTIONS OTHERS = 1.

CD_SELECT_VOID CALL FUNCTION 'CD_SELECT_VOID' EXPORTING VOID_INDICATOR = CD_C-VOID_FALSE TABLES IN_RGDIR = RGDIR OUT_RGDIR = GR_RGDIR_01 EXCEPTIONS OTHERS = 1.

CD_SELECT_DATE_RANGE CALL FUNCTION 'CD_SELECT_DATE_RANGE' EXPORTING FPPER_BEGDA = P_NEXT_BEGDA FPPER_ENDDA = P_NEXT_ENDDA TABLES IN_RGDIR = GR_RGDIR_01 OUT_RGDIR = GR_RGDIR_02 EXCEPTIONS OTHERS = 1.

CD_SELECT_SRTZA CALL FUNCTION 'CD_SELECT_SRTZA' EXPORTING RECORD_TYPE = CD_C-ACTUAL TABLES IN_RGDIR = GR_RGDIR_02 OUT_RGDIR = P_RGDIR EXCEPTIONS OTHERS = 1.



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