RPCPL2D0 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Report RPCPL2D0 runs different evaluations with the results of the garnishments/cessions valid for the selected payroll periods...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 RPCPL2D0 into the relevant SAP transactions such as SE38 or SE80
Below is a list of transaction codes which are relevant to this SAP report
PC00_M01_CPL1 - Evaluation of Garnishment Results
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: P_WAERG = D .
Selection Text: P_PFNUM = D .
Selection Text: P_PFART = Garnishment Type
Title: Evaluation of Garnishment Results
Text Symbol: D55 = Employer Costs
Text Symbol: D48 = Garnishments Not Taken
Text Symbol: D47 = Payroll
Text Symbol: D46 = MasterData
Text Symbol: D45 = Actual Seizable Amount
Text Symbol: D44 = Seizable Amount
Text Symbol: D43 = Procedure: Spec.Case
Text Symbol: D42 = Proc.: Rate
Text Symbol: D41 = Procedure: Preferred
Text Symbol: D40 = Procedure: Common
Text Symbol: D37 = Seizable w/o Protect
Text Symbol: D36 = Seizable w/ Protect
Text Symbol: D35 = Unseiz.
Text Symbol: D30 = Garnishment Stats
Text Symbol: D23 = Totals
Text Symbol: D21 = Employer Costs
Text Symbol: D20 = Interest on Monthly Costs
Text Symbol: D19 = Monthly costs
Text Symbol: D18 = Interest on One-Time Costs
Text Symbol: D17 = One-Time Costs
Text Symbol: D16 = Monthly Interest on Debt
Text Symbol: D15 = One-Time Interest on Debt
Text Symbol: D14 = Curr. maint. pymnts
Text Symbol: T20 = Crcy
Text Symbol: T10 = Garnish.
Text Symbol: D90 = Select print output
Text Symbol: D88 = for period
Text Symbol: D87 = List
Text Symbol: D86 = for Garnish.
Text Symbol: D85 = History
Text Symbol: D83 = Print Output for All PerNo.
Text Symbol: D81 = No personnel no. was selected
Text Symbol: D80 = Print Output for PerNo.
Text Symbol: D77 = List for Period
INCLUDE RPCPL2DB. "PBO
INCLUDE RPCPL2DI. "PAI
No SAP DATABASE tables are accessed within this REPORT code!
HR_F4_COUNTRY_CURRENCY CALL FUNCTION 'HR_F4_COUNTRY_CURRENCY' EXPORTING molga = c_land IMPORTING waers = p_waerg.
HR_DISPLAY_ERROR_LONGTEXT CALL FUNCTION 'HR_DISPLAY_ERROR_LONGTEXT'.
HRCA_COMPANYCODE_GETDETAIL CALL FUNCTION 'HRCA_COMPANYCODE_GETDETAIL' EXPORTING companycode = t500p-bukrs IMPORTING country = g_land1 EXCEPTIONS not_found = 1 OTHERS = 2.
RP_GET_CURRENCY CALL FUNCTION 'RP_GET_CURRENCY' EXPORTING molga = c_land begda = datum IMPORTING waers = p_waerg EXCEPTIONS molga_not_in_t001p = 1 no_entry_found_in_table_t001 = 2 no_entry_found_in_table_t500p = 3 no_entry_found_in_table_t500c = 4 OTHERS = 5.
HR_GET_PAYROLL_RESULTS CALL FUNCTION 'HR_GET_PAYROLL_RESULTS' EXPORTING pernr = pernr-pernr permo = 01 pabrj = l_jahr pabrp = l_perio inper_act = g_inper_act arch_too = c_true "GSGN0733806 TABLES result_tab = paytab EXCEPTIONS no_results = 1 error_in_currency_conversion = 2 t500l_entry_not_found = 3 period_mismatch_error = 4 t549q_entry_not_found = 5 internal_error = 6 OTHERS = 7.
HR_CONVERT_CURRENCY_RESULT_DE CALL FUNCTION 'HR_CONVERT_CURRENCY_RESULT_DE' EXPORTING conversion_date = pn-endda foreign_currency = paytab-inter-versc-waers local_currency = p_waerg TABLES apfgr = paytab-nat-apfgr apfbt = paytab-nat-apfbt gutha = paytab-nat-gutha EXCEPTIONS invalid_wagetype = 1 error_conversion = 2 OTHERS = 3.
HR_DE_GET_GARNISHMENT_RESULTS CALL FUNCTION 'HR_DE_GET_GARNISHMENT_RESULTS' EXPORTING pernr = pfaendung-pfkey-pernr pfart = pfaendung-pfkey-pfart pfnum = pfaendung-pfkey-pfnum pabrj_end = pn-pabrj pabrp_end = pn-pabrp waers = p_waerg TABLES result_tab = pftab EXCEPTIONS no_results = 1 period_mismatch_error = 2 cluster_version_mismatch = 3 inconsistency_dp_dq = 4 no_authority = 5 error_in_currency_conversion = 6 OTHERS = 7.
HR_GET_ERROR_LIST CALL FUNCTION 'HR_GET_ERROR_LIST' EXCEPTIONS no_errors = 1 OTHERS = 2.
HR_DISPLAY_ERROR_LIST * CALL FUNCTION 'HR_DISPLAY_ERROR_LIST' * EXPORTING * no_popup = 'X' "Ausgabe mit WRITE * no_print = ' ' * no_img = ' ' * no_msgno = ' ' * linesize = sy-linsz * listheader = ' ' * colheader = ' ' * hidemsg = 'X' "mit HIDE-Option für ** TABLES "Langtexte bei Doppelklick ** error = * EXCEPTIONS * invalid_linesize = 1 * OTHERS = 2.
HR_APPEND_ERROR_LIST CALL FUNCTION 'HR_APPEND_ERROR_LIST' EXPORTING arbgb = 'HRPAYDEPF' msgty = 'I' msgno = '153'.
CONVERT_TO_LOCAL_CURRENCY CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' EXPORTING date = pn-endda foreign_amount = betrag foreign_currency = alte_waerg local_currency = neue_waerg IMPORTING local_amount = betrag EXCEPTIONS no_rate_found = 1 overflow = 2 OTHERS = 3.
DDIF_DOMA_GET CALL FUNCTION 'DDIF_DOMA_GET' EXPORTING name = 'PFSTT' langu = sy-langu TABLES dd07v_tab = statustext EXCEPTIONS illegal_input = 1 OTHERS = 2.
HRPY_PROCESS_FIRE_EVENT CALL FUNCTION 'HRPY_PROCESS_FIRE_EVENT' EXPORTING imp_parcel = pyparaid TABLES imp_container = py_pm_container.
HR_PAL_LOG_DISPLAY CALL FUNCTION 'HR_PAL_LOG_DISPLAY' EXPORTING i_s_display_profile = l_s_display_profile * i_s_flat_profile = EXCEPTIONS program_error = 1 no_logs = 2 OTHERS = 3.
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 RPCPL2D0 or its description.