RPUCRTJ0 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Report RPUCRTJ0 can recreate table CRT as of a selected key date...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 RPUCRTJ0 into the relevant SAP transactions such as SE38 or SE80
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.
Selection Text: TEST = Test run (no update)
Selection Text: NATLOG = Country-specific log
Selection Text: MOLGA = Country grouping
Selection Text: CRTLOG = Log
Selection Text: CRTEXLOG = Enhanced CRT log
Selection Text: BEGDA = Reconstruct CRT from date:
Title: Recreation of Cumulation Tables - Japan
Text Symbol: U09 = Failed conversion attempts :
Text Symbol: U06 = Converted payroll results :
Text Symbol: U04 = Relevant payroll results :
Text Symbol: U03 = Personnel nos with errors:
Text Symbol: U02 = Successful personnel numbers:
Text Symbol: U00 = Conversion statistics for file PCL2
Text Symbol: T12 = LastSeqNo:
Text Symbol: T11 = In-period:
Text Symbol: T10 = Incorrect personnel numbers
Text Symbol: T08 = Cumulatn from RT to CRT and other tables
Text Symbol: T07 = CRT
Text Symbol: T06 = Spec.run:
Text Symbol: T05 = For-period:
Text Symbol: T04 = PrevSeqNo:
Text Symbol: T03 = SeqNo:
Text Symbol: T02 = Personnel numbers converted
Text Symbol: T01 = Recreation of cumulation tables
Text Symbol: P03 = WType CumType Number Amount
Text Symbol: L04 = Amount ( &1 )
Text Symbol: L03 = Number
Text Symbol: L02 = CumType
Text Symbol: L01 = Wagetype
Text Symbol: F03 = Country assmt
Text Symbol: F02 = Period determin.
Text Symbol: F01 = Program control
Text Symbol: E12 = 'Out-Of-Sequence Reversal', but no retroactive accounting!
Text Symbol: E11 = Personnel number belongs to country grpg &
Text Symbol: E10 = Error when updating PCL2!
Text Symbol: E08 = Inconsistencies between directory and payroll results
Text Symbol: E07 = Payroll result has not been found
Text Symbol: E05 = No payroll results found in the period
INCLUDE: CNT4DEFS.
No SAP DATABASE tables are accessed within this REPORT code!
RP_CUMULATE_RT_CRT CALL FUNCTION 'RP_CUMULATE_RT_CRT' EXPORTING begda = rgdir_entry-fpbeg endda = rgdir_entry-fpend "XAIK043247 bondt = rgdir_entry-bondt molga = molga paper = rgdir_entry-fpper permo = rgdir_entry-permo * prcls = 'P30' log = crtexlog amt_curr =
-waers TABLES crt = rt = logtext = crt_logtext errortext = 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 = molga imp_processing_class = 'P30' imp_rt =
imp_log = crtexlog imp_payroll_result = p_current_result imp_currency = -waers imp_aper = help_aper imp_employeenumber = pernr-pernr TABLES logtext = crt_logtext CHANGING cumul_tab_all = EXCEPTIONS cumulation_failed = 1.
CD_READ CALL FUNCTION 'CD_READ' EXPORTING in_seqnr = rgdir_entry-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 * READ_ONLY_BUFFER = ' ' * READ_ONLY_INTERNATIONAL = ' ' 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.
RP_PREPARE_CRT CALL FUNCTION 'RP_PREPARE_CRT' EXPORTING abkrs = rgdir_entry-abkrs begda = rgdir_entry-fpbeg bondt = rgdir_entry-bondt datmo = current_datmo molga = molga paper = rgdir_entry-fpper payid = rgdir_entry-payid payty = rgdir_entry-payty permo = rgdir_entry-permo seqnr = rgdir_entry-seqnr log = crtexlog TABLES crt =
new_rgdir = full_rgdir logtext = crt_logtext errortext = crt_errortext 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 = rgdir_entry-fpbeg endda = rgdir_entry-fpend paydt = rgdir_entry-paydt payty = rgdir_entry-payty molga = molga payroll_until = payroll_until log = crtexlog TABLES logtext = crt_logtext CHANGING cumul_tab_all =
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 = rgdir_entry-seqnr * READ_ONLY_BUFFER = ' ' * READ_ONLY_INTERNATIONAL = ' ' 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 = rgdir_entry-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 * from_sequence_number = * to_sequence_number = * INVALIDATE_BUFFER = TABLES rgdir = p_buff_rgdir EXCEPTIONS no_results = 1 no_read_authority = 2 OTHERS = 3.
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' * EXPORTING * INSERT_ID = '000000' * RELATIONSHIP = ' ' 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' * EXPORTING * CURSOR_COLUMN = 3 * CURSOR_LINE = 2 * FIRST_NODE = 1 * FIRST_NODE_TYPE = ' ' * LIST_COLUMN = 1 * LIST_LINE = 1 * LAYOUT_MODE = STREE_LAYOUT_NORMAL * IMPORTING * INCONSISTENT_LAYOUT = TABLES layout = expand_table.
RS_TREE_CONTROL_PREPARE CALL FUNCTION 'RS_TREE_CONTROL_PREPARE' EXPORTING * CONTROL_PATTERN = STREE_CTL_GENERIC * HIERARCHY_HEADER = * INITIAL_HEADER_WIDTH = * LIST_ITEM_HEADER = * MULTIPLE_SELECTION = STREE_FALSE * ITEM_SELECTION = STREE_FALSE suppress_node_icon = stree_true * suppress_folder_icon = stree_false * CALLBACK_PROGRAM = * CALLBACK_ITEM_DISPLAY = color_mapping = color_table * TYPE_MAPPING = * IMPORTING * SUBSCREEN_PROGRAM = * SUBSCREEN_DYNNR = EXCEPTIONS not_available = 1 OTHERS = 2 .
RS_TREE_LIST_DISPLAY CALL FUNCTION 'RS_TREE_LIST_DISPLAY' EXPORTING callback_program = 'RPUCRTJ0' "JPAGSL0K003021 callback_gui_status = 'SET_GUI_STATUS' "JPAGSL0K003021 use_control = stree_use_control .
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.
ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = treeline-name * info = 'Error message' add_stdinf = 'X' IMPORTING result = treeline-text EXCEPTIONS OTHERS = 0.
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_current_result cumul_tab_all_o = p_previous_result.
PYXX_READ_PAYROLL_RESULT call function 'PYXX_READ_PAYROLL_RESULT' exporting clusterid = iv_cluster_id employeenumber = iv_emp_number sequencenumber = iv_latest_seqnr filter_cumulations = space changing payroll_result = lv_prev_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.
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 RPUCRTJ0 or its description.
RPUCRTJ0 - Recreation of Cumulation Tables - Japan RPUCRTJ0 - Recreation of Cumulation Tables - Japan RPUCRTH0 - CRT rebuilding (PCL2 conversion): H-version RPUCRTH0 - CRT rebuilding (PCL2 conversion): H-version RPUCRT0P - Recreation of cumulation tables - international version RPUCRT0P - Recreation of cumulation tables - international version