SAP Reports / Programs | Payroll | Chile(PY-CL) SAP PY

PCMASCLE SAP ABAP INCLUDE - Include PCMASCLE







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


INCLUDES used within this REPORT PCMASCLE

INCLUDE HCLCALC0_C_RELIQUIDATION.
INCLUDE PCMASCLE_EXIT.


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_CL_READ_T7CL16 CALL FUNCTION 'HR_CL_READ_T7CL16' EXPORTING p_abkrs = aper-abkrs p_begda = aper-endda p_endda = aper-endda IMPORTING dcrit = l_dcrit EXCEPTIONS no_entry_found = 1 others = 2 .

PYXX_READ_PAYROLL_RESULT CALL FUNCTION 'PYXX_READ_PAYROLL_RESULT' EXPORTING employeenumber = pernr-pernr sequencenumber = rgdir-seqnr read_only_international = 'X' CHANGING payroll_result = lt_result EXCEPTIONS illegal_isocode_or_clusterid = 1 error_generating_import = 2 import_mismatch_error = 3 subpool_dir_full = 4 no_read_authority = 5 no_record_found = 6 versions_do_not_match = 7 error_reading_archive = 8 error_reading_relid = 9 OTHERS = 10.

HR_APPL_T596J_READ CALL FUNCTION 'HR_APPL_T596J_READ' EXPORTING i_molga = calcmolga i_appl = c_appl_dif_rel * I_SUMLG = * I_LGART = i_date = ls_aper-endda TABLES tab_sel_t596j = lt_t596j_diffe EXCEPTIONS no_application = 1 no_assignment_wagetype = 2 no_wagetype_found = 3 OTHERS = 4.

HR_APPL_T596J_READ CALL FUNCTION 'HR_APPL_T596J_READ' EXPORTING i_molga = calcmolga i_appl = c_appl_drg_rel * I_SUMLG = * I_LGART = i_date = ls_aper-endda TABLES tab_sel_t596j = lt_t596j_drags EXCEPTIONS no_application = 1 no_assignment_wagetype = 2 no_wagetype_found = 3 OTHERS = 4.

HR_APPL_T596J_READ CALL FUNCTION 'HR_APPL_T596J_READ' EXPORTING i_molga = calcmolga i_appl = c_appl_ded_rel * I_SUMLG = * I_LGART = i_date = ls_aper-endda TABLES tab_sel_t596j = lt_t596j_deduc EXCEPTIONS no_application = 1 no_assignment_wagetype = 2 no_wagetype_found = 3 OTHERS = 4.

HR_APPL_T596J_READ CALL FUNCTION 'HR_APPL_T596J_READ' EXPORTING i_molga = calcmolga i_appl = c_appl_tax_rel * I_SUMLG = * I_LGART = i_date = ls_aper-endda TABLES tab_sel_t596j = lt_t596j_tax EXCEPTIONS no_application = 1 no_assignment_wagetype = 2 no_wagetype_found = 3 OTHERS = 4.

HR_APPL_T596J_READ CALL FUNCTION 'HR_APPL_T596J_READ' EXPORTING i_molga = calcmolga i_appl = c_appl_ded_rel * I_SUMLG = * I_LGART = i_date = aper-endda TABLES tab_sel_t596j = lt_t596j EXCEPTIONS no_application = 1 no_assignment_wagetype = 2 no_wagetype_found = 3 OTHERS = 4.

RP_HIRE_FIRE CALL FUNCTION 'RP_HIRE_FIRE' IMPORTING FIRE_DATE = l_leavedate HIRE_DATE = l_entrydate TABLES pphifi = lt_hire_fire[] pp0000 = p0000 pp0001 = p0001.

HR_ENTRY_DATE CALL FUNCTION 'HR_ENTRY_DATE' EXPORTING persnr = pernr-pernr endda = p_split_endda * varky = IMPORTING entrydate = lv_hiring_date EXCEPTIONS entry_date_not_found = 1 pernr_not_assigned = 2 OTHERS = 3.

HR_APPL_T596J_READ CALL FUNCTION 'HR_APPL_T596J_READ' EXPORTING i_molga = calcmolga i_appl = c_appl_pns_ctr * I_SUMLG = i_lgart = p_pp_wt i_date = p_date "ls_aper-endda TABLES tab_sel_t596j = lt_t596j_ppc EXCEPTIONS no_application = 1 no_assignment_wagetype = 2 no_wagetype_found = 3 OTHERS = 4.

HR_APPL_T596J_READ CALL FUNCTION 'HR_APPL_T596J_READ' EXPORTING i_molga = calcmolga i_appl = c_appl_txd_rel * I_SUMLG = * I_LGART = i_date = p_date TABLES tab_sel_t596j = lt_t596j EXCEPTIONS no_application = 1 no_assignment_wagetype = 2 no_wagetype_found = 3 OTHERS = 4.

HR_APPL_T596J_READ CALL FUNCTION 'HR_APPL_T596J_READ' EXPORTING i_molga = calcmolga i_appl = c_appl_utm_rel i_date = aper-endda TABLES tab_sel_t596j = lt_t596j EXCEPTIONS no_application = 1 no_assignment_wagetype = 2 no_wagetype_found = 3 OTHERS = 4.

HR_99S_GET_PROC_CLASS_VALUE CALL FUNCTION 'HR_99S_GET_PROC_CLASS_VALUE' EXPORTING p_molga = calcmolga p_lgart = pv_lgart p_proc_class = lc_pc82 p_keydate = aper-endda IMPORTING p_value = lv_value.

PYXX_READ_PAYROLL_RESULT CALL FUNCTION 'PYXX_READ_PAYROLL_RESULT' EXPORTING employeenumber = pernr-pernr sequencenumber = rgdir-seqnr read_only_international = 'X' CHANGING payroll_result = lt_result EXCEPTIONS illegal_isocode_or_clusterid = 1 error_generating_import = 2 import_mismatch_error = 3 subpool_dir_full = 4 no_read_authority = 5 no_record_found = 6 versions_do_not_match = 7 error_reading_archive = 8 error_reading_relid = 9 OTHERS = 10.

RP_HIRE_FIRE CALL FUNCTION 'RP_HIRE_FIRE' IMPORTING FIRE_DATE = lv_leavedate HIRE_DATE = lv_entrydate TABLES pphifi = lt_hire_fire[] pp0000 = p0000 pp0001 = p0001.

HR_99S_GET_PROC_CLASS_VALUE CALL FUNCTION 'HR_99S_GET_PROC_CLASS_VALUE' EXPORTING p_molga = calcmolga p_lgart = pv_lgart p_proc_class = lc_proc_class_85 p_keydate = pv_endda IMPORTING p_value = lv_pcval.

HR_PAYROLL_PERIODS_GET CALL FUNCTION 'HR_PAYROLL_PERIODS_GET' EXPORTING get_begda = pv_begda get_endda = pv_endda get_permo = pv_permo TABLES get_periods = lt_periods[] EXCEPTIONS NO_PERIOD_FOUND = 1 NO_VALID_PERMO = 2 OTHERS = 3.

PYXX_READ_PAYROLL_RESULT CALL FUNCTION 'PYXX_READ_PAYROLL_RESULT' EXPORTING employeenumber = pv_pernr sequencenumber = ls_rgdir-seqnr read_only_international = abap_true CHANGING payroll_result = lt_result EXCEPTIONS illegal_isocode_or_clusterid = 1 error_generating_import = 2 import_mismatch_error = 3 subpool_dir_full = 4 no_read_authority = 5 no_record_found = 6 versions_do_not_match = 7 error_reading_archive = 8 error_reading_relid = 9 OTHERS = 10.



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