SAP Reports / Programs

RPCPL2D0 SAP ABAP Report - Evaluation of Garnishment Results







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


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

PC00_M01_CPL1 - Evaluation of Garnishment Results


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





Text Symbol: D76 = Period
Text Symbol: D75 = History
Text Symbol: D67 = IBAN:
Text Symbol: D66 = ANo:
Text Symbol: D65 = BNo:
Text Symbol: D62 = Total Repayments
Text Symbol: D61 = Garnishments Not Honored
Text Symbol: D60 = Garnishments in Payroll
Text Symbol: D59 = Total Compliances
Text Symbol: D58 = Bank transf
Text Symbol: D57 = Accumulated Credit
Text Symbol: D56 = Retained Credit
Text Symbol: A30 = Total Statistics for Garn. Results
Text Symbol: A29 = | | Amount | Transfer Data |
Text Symbol: A28 = Retentions in
Text Symbol: A27 = | | To Repay | Repaid | Rest |
Text Symbol: A26 = Repayt in
Text Symbol: A25 = | | Garn.-free | Garn.-able |
Text Symbol: A24 = Garnishable Amt in
Text Symbol: A23 = | | Ordinary | Preferred |
Text Symbol: A22 = Garnishment Basis in
Text Symbol: A21 = Period
Text Symbol: A20 = List of Garnishment Results
Text Symbol: A15 = | | | | | | CCntr | Unit | Rem.|
Text Symbol: A14 = |Period | Claim | Coll. Amt | Rem. Claim| Credit | Employer |
Text Symbol: A13 = Amounts in
Text Symbol: A12 = Creditor
Text Symbol: A11 = Garn. Type/Number
Text Symbol: A10 = History of Garnishment Results to Period
Text Symbol: A07 = | | Master Data | | |Rem.|
Text Symbol: A06 = |Type/No| Total Claim |Stnd Claim| Creditor |No.|
Text Symbol: A05 = Outstanding Garnishments in
Text Symbol: A04 = | |All Periods | |All Periods | | |Rem.|
Text Symbol: A03 = |Type/No| Total Claim |Stnd Claim| Total Amt | Outstnd Amt| Credit |No. |
Text Symbol: A02 = Garnishments in Payroll in
Text Symbol: A01 = Personnel No.
Text Symbol: A00 = Overview of Garnishment Results for Period
Text Symbol: D13 = Main Claim/Maint. Arrears
Text Symbol: D11 = Payroll status





Text Symbol: D10 = All amounts in
Text Symbol: D07 = Frm
Text Symbol: D06 = Garnishment Results for Period
Text Symbol: D05 = Reference
Text Symbol: D04 = Tim
Text Symbol: D03 = at
Text Symbol: D02 = Served on
Text Symbol: D01 = Garnishment and Transfer Ruling
Text Symbol: A50 = Debtor
Text Symbol: A48 = Garnishments Not Taken
Text Symbol: A46 = Garnishments Repaid
Text Symbol: A44 = Garnishments in Payroll
Text Symbol: A42 = Total
Text Symbol: A41 = Cessions
Text Symbol: A40 = Preferred Garnishments
Text Symbol: A39 = Normal Garnishments
Text Symbol: A38 = Garnish.Type
Text Symbol: A37 = Garnishments in Master Data
Text Symbol: A35 = Pers. No. with Garnishments
Text Symbol: A34 = Personnel numbers selected
Text Symbol: A33 = Number
Text Symbol: A32 = Selection
Text Symbol: A31 = for period


INCLUDES used within this REPORT RPCPL2D0

INCLUDE RPCPL2DB. "PBO
INCLUDE RPCPL2DI. "PAI


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_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.



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