SAP Reports / Programs | Payroll | Payroll: General Parts(PY-XX) SAP PY

RPUCRT0F_CE SAP ABAP INCLUDE - RPUCRT0FCE







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

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:

HR_GET_CUMULATION_WINDOW CALL FUNCTION 'HR_GET_CUMULATION_WINDOW' EXPORTING imp_molga = p_molga IMPORTING exp_window = g_window.

CD_READ_ALL_FROM_DATE CALL FUNCTION 'CD_READ_ALL_FROM_DATE' EXPORTING from_date = p_begda TABLES in_rgdir = lt_full_rgdir out_rgdir = lt_relevant_rgdir.

HR_PERNR_REFRESH_FOR_WPCRT_CE CALL FUNCTION 'HR_PERNR_REFRESH_FOR_WPCRT_CE'.

HR_PERIOD_REFRESH_FOR_WPCRT_CE CALL FUNCTION 'HR_PERIOD_REFRESH_FOR_WPCRT_CE'.

CD_READ CALL FUNCTION 'CD_READ' EXPORTING in_seqnr = ps_rgdir_curr-seqnr IMPORTING out_seqnr = ps_rgdir_prev-seqnr TABLES new_rgdir = pt_full_rgdir EXCEPTIONS no_record_found = 1 OTHERS = 2.

RP_PREPARE_CRT CALL FUNCTION 'RP_PREPARE_CRT' EXPORTING abkrs = ps_rgdir_curr-abkrs begda = ps_rgdir_curr-fpbeg bondt = ps_rgdir_curr-bondt datmo = l_current_datmo molga = p_molga paper = ps_rgdir_curr-fpper payid = ps_rgdir_curr-payid payty = ps_rgdir_curr-payty permo = ps_rgdir_curr-permo seqnr = ps_rgdir_curr-seqnr log = p_cexlog TABLES crt = new_rgdir = pt_full_rgdir logtext = gt_crt_logtext errortext = gt_crt_errortext * CHANGING * nyear = sw_first_payroll_in_year EXCEPTIONS clean_up_failed = 1 no_entry_found = 2 OTHERS = 3.

HR_PREPARE_CUMULATION_TABLES CALL FUNCTION 'HR_PREPARE_CUMULATION_TABLES' EXPORTING paper = l_paper begda = ps_rgdir_curr-fpbeg endda = ps_rgdir_curr-fpend paydt = ps_rgdir_curr-paydt payty = ps_rgdir_curr-payty molga = p_molga payroll_until = p_payroll_until log = p_cexlog TABLES logtext = gt_crt_logtext CHANGING cumul_tab_all = ps_curr_cumul_tab_all cumul_tab_all_o = ps_prev_cumul_tab_all EXCEPTIONS OTHERS = 1.

RP_CUMULATE_RT_CRT CALL FUNCTION 'RP_CUMULATE_RT_CRT' EXPORTING begda = ps_rgdir_curr-fpbeg endda = ps_rgdir_curr-fpend bondt = ps_rgdir_curr-bondt molga = p_molga paper = ps_rgdir_curr-fpper permo = ps_rgdir_curr-permo prcls = 'P30' amt_curr = -waers log = p_cexlog TABLES crt = pt_curr_crt rt = pt_curr_rt logtext = gt_crt_logtext errortext = gt_crt_errortext EXCEPTIONS cumulation_failed = 1 no_entry_found = 2 OTHERS = 3.

HR_UPDATE_CUMULATION_TABLES CALL FUNCTION 'HR_UPDATE_CUMULATION_TABLES' EXPORTING imp_molga = p_molga imp_processing_class = 'P30' imp_rt = pt_curr_rt imp_log = p_cexlog imp_payroll_result = imp_currency = -waers imp_aper = ls_aper imp_employeenumber = ps_peras-peras im_is_rt_pers = p_person imp_sw_ce_payroll = 'X' "always CE payroll since this is RPUCRT00_CE imp_gprsn = im_gprsn imp_gpval = im_gpval TABLES logtext = gt_crt_logtext CHANGING cumul_tab_all = ps_curr_cumul_tab_all EXCEPTIONS cumulation_failed = 1.

HR_CONVERT_CURRENCY_RESULT CALL FUNCTION 'HR_CONVERT_CURRENCY_RESULT' EXPORTING country_grouping = p_molga conversion_date = ps_rgdir_curr-fpbeg foreign_currency = p_curr_waers local_currency = p_prev_waers TABLES result_table = cumulated_result_table = arrears_table = deduction_table = EXCEPTIONS OTHERS = 0.

HR_COLLECT_TABLES_NRCT CALL FUNCTION 'HR_COLLECT_TABLES_NRCT' EXPORTING new_entry = nrct_line TABLES p_nrct = nrct EXCEPTIONS cumulation_failed = 1 OTHERS = 2.

HR_COLLECT_TABLES_NRCT CALL FUNCTION 'HR_COLLECT_TABLES_NRCT' EXPORTING new_entry = nrct_line TABLES p_nrct = nrct EXCEPTIONS cumulation_failed = 1 OTHERS = 2.

CD_READ_PREVIOUS CALL FUNCTION 'CD_READ_PREVIOUS' EXPORTING in_record = ps_rgdir_curr exact = 'X' TABLES rgdir = pt_full_rgdir out_rgdir = out_rgdir EXCEPTIONS no_record_found = 1 OTHERS = 2.

HR_PERIOD_REFRESH_FOR_WPCRT CALL FUNCTION 'HR_PERIOD_REFRESH_FOR_WPCRT'.

CD_RETROCALC_PERIOD CALL FUNCTION 'CD_RETROCALC_PERIOD' EXPORTING entry = ps_rgdir_curr IMPORTING calcd = l_retro.

HR_PREPARE_WHEN_PAID_CUMUL_CE CALL FUNCTION 'HR_PREPARE_WHEN_PAID_CUMUL_CE' EXPORTING pernr = ps_peras-peras versc = ls_oversc molga = p_molga is_person = p_person TABLES rt = lt_ort CHANGING cumul_tab_all = ps_prev_cumul_tab_all.

HR_PREPARE_WHEN_PAID_CUMUL_CE CALL FUNCTION 'HR_PREPARE_WHEN_PAID_CUMUL_CE' EXPORTING pernr = '00000000' versc = ls_oversc molga = p_molga is_person = p_person TABLES rt = lt_ort CHANGING cumul_tab_all = ps_prev_cumul_tab_all.

HR_PREPARE_CRT_WHEN_PAID_CE CALL FUNCTION 'HR_PREPARE_CRT_WHEN_PAID_CE' EXPORTING paper = l_paper begda = ps_rgdir_curr-fpbeg endda = ps_rgdir_curr-fpend paydt = ps_rgdir_curr-paydt payty = ps_rgdir_curr-payty molga = p_molga payroll_until = p_payroll_until log = p_cexlog pernr = ps_peras-peras is_person = p_person TABLES logtext = gt_crt_logtext CHANGING cumul_tab_all = ps_curr_cumul_tab_all cumul_tab_all_o = ps_prev_cumul_tab_all EXCEPTIONS cumul_window_error = 1 setcu_internal_error = 2 OTHERS = 3.

CD_RETROCALC_PERIOD





CALL FUNCTION 'CD_RETROCALC_PERIOD' EXPORTING entry = ps_rgdir_curr IMPORTING calcd = l_retro.

HR_CUMULATE_RT_CRT_WHN_PAID_CE CALL FUNCTION 'HR_CUMULATE_RT_CRT_WHN_PAID_CE' EXPORTING imp_molga = p_molga imp_processing_class = '30' imp_rt = pt_curr_rt imp_log = p_cexlog imp_payroll_result = ps_payresult_current imp_currency = -waers imp_aper = ls_aper imp_employeenumber = l_pernr imp_aufr = l_retro imp_is_person = p_person TABLES logtext = gt_crt_logtext imp_payroll = lt_aper CHANGING cumul_tab_all = ps_curr_cumul_tab_all EXCEPTIONS cumulation_failed = 1 OTHERS = 2.

CD_READ_ALL_FROM_DATE CALL FUNCTION 'CD_READ_ALL_FROM_DATE' EXPORTING from_date = lv_begda TABLES in_rgdir = lt_full_rgdir out_rgdir = lt_relevant_rgdir.

HRPAYNA_OOS_YEA_COMPLETE_CUMUL CALL FUNCTION 'HRPAYNA_OOS_YEA_COMPLETE_CUMUL' EXPORTING imp_paydt = ps_rgdir_curr-paydt imp_payty = ps_rgdir_curr-payty imp_payid = ps_rgdir_curr-payid imp_begda = ps_rgdir_curr-fpbeg imp_endda = ps_rgdir_curr-fpend imp_paper = l_paper imp_molga = p_molga imp_outofseq = ps_rgdir_curr-outofseq imp_oosdate = ps_rgdir_curr-oosdate payroll_until = ps_rgdir_curr-oosdate imp_pernr = ps_peras-peras imp_clstrid = gs_t500l-relid TABLES imp_rgdir = pt_full_rgdir CHANGING cumul_tab_all = cumul_tab_all_o = .



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