SAP Reports / Programs

RPUCRT0P SAP ABAP Report - Recreation of cumulation tables - international version







RPUCRT0P is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for You can use Report RPUCRT00 to restructure table CRT after a selected key date has been reached...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.

If you would like to execute this report or see the full code listing simply enter RPUCRT0P 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 RPUCRT0P. "Basic submit
SUBMIT RPUCRT0P AND RETURN. "Return to original report after report execution complete
SUBMIT RPUCRT0P VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Selection Text: TEST = Test run (no update)
Selection Text: MOLGA = Country grouping
Selection Text: CRTLOG = Log
Selection Text: BEGDA = Reconstruct CRT from date:
Title: Recreation of cumulation tables - international version
Text Symbol: E12 = 'Out-Of-Sequence Reversal', but no retroactive accounting!
Text Symbol: F01 = Program control
Text Symbol: F02 = Period determin.
Text Symbol: F03 = Country assigmn
Text Symbol: P03 = Wtype CumType No Year Number Amount
Text Symbol: T01 = Recreation of cumulation tables
Text Symbol: T02 = Personnel numbers converted
Text Symbol: T03 = SeqNo:
Text Symbol: E02 = Internal error when exporting the payroll data to the buffer
Text Symbol: E03 = Internal error when importing the payroll data
Text Symbol: E04 = Updating CRT: wage type not found/general config. problem
Text Symbol: E05 = No payroll results found in the period
Text Symbol: E07 = Payroll result has not been found
Text Symbol: E08 = Inconsistencies between directory and payroll results
Text Symbol: E10 = Error when updating PCL2!
Text Symbol: E11 = Personnel number belongs to country grpg &
Text Symbol: T04 = PrevSeqNo:
Text Symbol: U04 = Relevant payroll results :
Text Symbol: U06 = Converted payroll results :
Text Symbol: U09 = Failed conversion attempts :
Text Symbol: T05 = For-period:
Text Symbol: T06 = Spec.run:
Text Symbol: T07 = CRT
Text Symbol: T10 = Incorrect Personnel Numbers
Text Symbol: T11 = In-period:
Text Symbol: U00 = Conversion statistics for file PCL2
Text Symbol: U02 = Successful personnel numbers:
Text Symbol: U03 = Personnel nos with errors:


INCLUDES used within this REPORT RPUCRT0P

INCLUDE: CNT4DEFS.


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_PERNR_REFRESH_FOR_WPCRT call function 'HR_PERNR_REFRESH_FOR_WPCRT'.

HR_PERIOD_REFRESH_FOR_WPCRT call function 'HR_PERIOD_REFRESH_FOR_WPCRT'.

CD_RETROCALC_PERIOD call function 'CD_RETROCALC_PERIOD' exporting entry = evp importing calcd = sw_aufrollung exceptions others = 1.

HR_CUMULATE_RT_CRT_WHEN_PAID call function 'HR_CUMULATE_RT_CRT_WHEN_PAID' exporting imp_molga = molga imp_processing_class = 'P30' imp_rt = imp_payroll_result = p_current_result imp_currency = -waers imp_aper = help_aper imp_employeenumber = pernr-pernr imp_aufr = sw_aufrollung tables logtext = crt_logtext imp_payroll = help_aper changing cumul_tab_all = p_current_result exceptions others = 1.

CD_READ call function 'CD_READ' exporting in_seqnr = evp-seqnr importing out_seqnr = p_prev_rgdirentry-seqnr tables new_rgdir = full_rgdir exceptions no_record_found = 1 others = 2.

PYXX_READ_PAYROLL_RESULT call function 'PYXX_READ_PAYROLL_RESULT' exporting clusterid = cluster_id employeenumber = employee_number sequencenumber = p_prev_rgdirentry-seqnr filter_cumulations = space changing payroll_result = p_previous_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 others = 8.

HR_PREPARE_CRT_WHEN_PAID call function 'HR_PREPARE_CRT_WHEN_PAID' exporting paper = l_paper begda = evp-fpbeg endda = evp-fpend paydt = evp-paydt payty = evp-payty molga = molga payroll_until = payroll_until tables logtext = crt_logtext changing cumul_tab_all = p_previous_result cumul_tab_all_o = p_previous_result exceptions others = 1.

CU_READ_RGDIR call function 'CU_READ_RGDIR' exporting persnr = employee_number importing molga = local_molga tables in_rgdir = p_full_rgdir exceptions no_record_found = 1 others = 2.

PYXX_READ_PAYROLL_RESULT call function 'PYXX_READ_PAYROLL_RESULT' exporting clusterid = cluster_id employeenumber = employee_number sequencenumber = p_rgdir_entry-seqnr filter_cumulations = space changing payroll_result = p_current_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 others = 8.

PYXX_WRITE_PAYROLL_RESULT call function 'PYXX_WRITE_PAYROLL_RESULT' exporting clusterid = cluster_id employeenumber = employee_number sequencenumber = evp-seqnr payroll_result = p_current_result exceptions illegal_isocode_or_clusterid = 1 error_generating_export = 2 subpool_dir_full = 4 no_update_authority = 5 others = 6.

HR_FLUSH_BUFFER_UPDATE_PCLX call function 'HR_FLUSH_BUFFER_UPDATE_PCLX' exporting test = p_test exceptions insert_error = 1 no_update_authority = 2 others = 3.

HR_IMPORT_BUFFER_FROM_PCLX call function 'HR_IMPORT_BUFFER_FROM_PCLX' exporting employee_number = employee_number cluster_id = cluster_id tables rgdir = p_buff_rgdir exceptions no_results = 1 no_read_authority = 2 others = 3.

HR_PCLX_INIT_BUFFER call function 'HR_PCLX_INIT_BUFFER'.

HR_CONVERT_CURRENCY_RESULT call function 'HR_CONVERT_CURRENCY_RESULT' exporting country_grouping = molga conversion_date = rgdir_entry-fpbeg foreign_currency = old_currency local_currency = new_currency pernr = pernr "GWY839032 tables result_table = cumulated_result_table = * SUBSEQUENT_TIME_TICKET_TABLE = arrears_table = deduction_table = exceptions invalid_wagetype = 1 error_conversion = 2 others = 3.

CD_RETROCALC_PERIOD call function 'CD_RETROCALC_PERIOD' exporting entry = in_rgdir importing calcd = sw_retro.

CD_RETROCALC_PERIOD call function 'CD_RETROCALC_PERIOD' exporting entry = in_rgdir importing calcd = sw_retro.

CD_RETROCALC_PERIOD call function 'CD_RETROCALC_PERIOD' exporting entry = in_rgdir importing calcd = sw_retro.

CD_EVALUATION_PERIODS call function 'CD_EVALUATION_PERIODS' exporting bonus_date = rgdir_entry-bondt inper_modif = rgdir_entry-iperm inper = rgdir_entry-inper pay_type = rgdir_entry-payty pay_ident = rgdir_entry-payid tables rgdir = full_rgdir evpdir = evp exceptions others = 1.

PYXX_READ_PAYROLL_RESULT





call function 'PYXX_READ_PAYROLL_RESULT' exporting clusterid = cluster_id employeenumber = employee_number sequencenumber = loop_rgdir-seqnr filter_cumulations = space changing payroll_result = p_retro_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 others = 8.

HR_PREPARE_WHEN_PAID_CUMUL call function 'HR_PREPARE_WHEN_PAID_CUMUL' exporting versc = molga = molga tables rt = changing CUMUL_TAB_ALL = p_retro_result.

CD_SELECT_VOID call function 'CD_SELECT_VOID' exporting void_indicator = cd_c-void_false tables in_rgdir = $in out_rgdir = out_rgdir exceptions others = 1.

HR_GET_CUMULATION_WINDOW call function 'HR_GET_CUMULATION_WINDOW' exporting imp_molga = molga importing exp_window = window.

RS_TREE_CONSTRUCT call function 'RS_TREE_CONSTRUCT' tables nodetab = globaltree exceptions tree_failure = 1 id_not_found = 2 wrong_relationship = 3 others = 4.

RS_TREE_SET_CURRENT_LAYOUT call function 'RS_TREE_SET_CURRENT_LAYOUT' tables layout = expand_table.

RS_TREE_CONTROL_PREPARE call function 'RS_TREE_CONTROL_PREPARE' exporting suppress_node_icon = stree_true color_mapping = color_table exceptions not_available = 1 others = 2 .

RS_TREE_LIST_DISPLAY call function 'RS_TREE_LIST_DISPLAY' exporting callback_program = 'RPUCRT00' callback_user_command = 'USER_COMMAND_TREE' status = 'BASIC' use_control = stree_use_control.

HRPAYNA_OOS_YEA_COMPLETE_CUMUL call function 'HRPAYNA_OOS_YEA_COMPLETE_CUMUL' exporting imp_paydt = rgdir_entry-paydt imp_payty = rgdir_entry-payty imp_payid = rgdir_entry-payid imp_begda = rgdir_entry-fpbeg imp_endda = rgdir_entry-fpend imp_paper = aper_paper imp_molga = molga imp_outofseq = rgdir_entry-outofseq imp_oosdate = rgdir_entry-oosdate payroll_until = rgdir_entry-oosdate imp_pernr = employee_number imp_clstrid = cluster_id tables imp_rgdir = full_rgdir[] changing cumul_tab_all = p_previous_result 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 RPUCRT0P or its description.