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

RPUCUC00 SAP ABAP Report - PY_DEF







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


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





Text Symbol: 001 = Program Error


INCLUDES used within this REPORT RPUCUC00

INCLUDE RPCCCD09.


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:

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.



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