RPUCUC00 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Check Payroll Results You can use Report RPUCUC00 to check whether the date and payroll area entries of the payroll results contain errors...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 RPUCUC00 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: BEGIN = Start Date
Title: PY_DEF
Text Symbol: DAT = Time Restriction
Text Symbol: 052 = Cause of Error
Text Symbol: 051 = Name
Text Symbol: 050 = Personnel no.
Text Symbol: 042 = Incorrect Payment Date
Text Symbol: 041 = Retr. payroll area change
Text Symbol: 040 = Shift of results
Text Symbol: 039 = '**** No error was found ****'
Text Symbol: 038 = ORIGINAL PERIOD (IN/FOR PERIOD =
Text Symbol: 037 = )
Text Symbol: 035 = ) and ORIGINAL PERIOD
Text Symbol: 034 = (sequence number =
Text Symbol: 033 = There is overlapping bet. ORIGINAL PERIOD
Text Symbol: 032 = and ends on
Text Symbol: 031 = starts on
Text Symbol: 030 = The ORIGINAL PERIOD
Text Symbol: 022 = The result shift could have been caused by the payroll area change
Text Symbol: 021 = First check the retroactive payroll area change.
Text Symbol: 020 = Caution. This personnel number shows a retroactive payroll area change.
Text Symbol: 019 = Caution. Infotype 1 shows more than one split for this period!
Text Symbol: 018 = (Caution. Infotype 1 shows a split for this period!)
Text Symbol: 017 = Caution. The correct value could not be determined. Check the results.
Text Symbol: 016 = Payment Date (Actual Value)
Text Symbol: 015 = Payment Date (planned Value)
Text Symbol: 014 = IN payroll area according to RGDIR
Text Symbol: 013 = Personnel number with shifted payroll results
Text Symbol: 012 = Personnel number with incorrect payment date
Text Symbol: 011 = Personnel number with retroactive payroll area change
Text Symbol: 010 = Number of Employees:
Text Symbol: 009 = IN payroll area from infotype 1 (planned value)
Text Symbol: 008 = FOR payroll area according to RGDIR
Text Symbol: 007 = FOR payroll area from infotype 1 (planned value)
Text Symbol: 006 = IN-FOR payroll area according to RGDIR
Text Symbol: 005 = IN-FOR payroll area from infotype 1 (planned value)
Text Symbol: 003 = Name:
Text Symbol: 002 = Personnel no. :
INCLUDE RPCCCD09.
No SAP DATABASE tables are accessed within this REPORT code!
CU_READ_RGDIR CALL FUNCTION 'CU_READ_RGDIR' EXPORTING persnr = pernr-pernr IMPORTING molga = country TABLES in_rgdir = rgdir EXCEPTIONS no_record_found = 1 OTHERS = 2.
CD_READ_ALL_FROM_DATE CALL FUNCTION 'CD_READ_ALL_FROM_DATE' EXPORTING from_date = begin TABLES in_rgdir = rgdir out_rgdir = rgdir2.
CD_RETROCALC_PERIOD CALL FUNCTION 'CD_RETROCALC_PERIOD' EXPORTING entry = rgdir2 IMPORTING calcd = flag.
REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING i_callback_program = program_name i_callback_pf_status_set = 'SET_PF_STATUS' i_callback_user_command = 'USER_COMMAND' is_layout = alv_layout it_fieldcat = alv_fieldcat it_events = events[] TABLES t_outtab = error_tab EXCEPTIONS program_error = 1 OTHERS = 2.
CD_EVALUATION_PERIODS CALL FUNCTION 'CD_EVALUATION_PERIODS' EXPORTING inper_modif = p_buffer-permo inper = p_buffer-inper bonus_date = p_buffer-bondt pay_type = p_buffer-payty pay_ident = p_buffer-payid TABLES rgdir = rgdir2 evpdir = out_rgdir EXCEPTIONS no_record_found = 1 OTHERS = 2.
CD_READ_PREVIOUS CALL FUNCTION 'CD_READ_PREVIOUS' EXPORTING in_record = buffer_rgdir TABLES rgdir = out_rgdir out_rgdir = help_rgdir EXCEPTIONS no_record_found = 1 OTHERS = 2.
CD_SELECT_DATE_RANGE CALL FUNCTION 'CD_SELECT_DATE_RANGE' EXPORTING fpper_begda = buffer_rgdir-fpbeg fpper_endda = buffer_rgdir-fpend TABLES in_rgdir = out_rgdir out_rgdir = help2_rgdir.
CD_SELECT_DATE_RANGE CALL FUNCTION 'CD_SELECT_DATE_RANGE' EXPORTING fpper_begda = p_buffer-fpbeg fpper_endda = p_buffer-fpend TABLES in_rgdir = h02-rgdir out_rgdir = shift2_rgdir.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.