RPCPL2A0 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for With the report RPCPL2A0 you can perform various evaluations for the results of garnishments/cessions/pledges that are valid for the selected payroll period...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 RPCPL2A0 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: P_WAERG = D .
Selection Text: P_PFNUM = D .
Selection Text: P_PFART = Garnishment Type
Title: Evaluation of Garnishment Results
Text Symbol: D57 = Accumulated Credit
Text Symbol: D56 = Retained Credit
Text Symbol: D55 = Employer costs
Text Symbol: D50 = Garnishment almost repaid; request creditor for outstand. claim
Text Symbol: D30 = Garnishment Stats
Text Symbol: D25 = One-Time Int.-Bearing Costs
Text Symbol: D24 = Court Costs
Text Symbol: D23 = Totals
Text Symbol: D22 = Monthly claim
Text Symbol: D21 = Employer costs
Text Symbol: D20 = Monthly Credit Charges on Costs
Text Symbol: D19 = Monthly Costs
Text Symbol: D18 = Interest on One-Time Costs
Text Symbol: D17 = One-Time Interest-Free Costs
Text Symbol: D16 = Monthly Credit Charges on Claim
Text Symbol: D15 = Interest on Debt
Text Symbol: D14 = Curr. maint. pymnts
Text Symbol: D13 = Main Claim/Maint. Arrears
Text Symbol: D12 = All Garnish. Payments
Text Symbol: D11 = Payroll status
Text Symbol: D58 = Bank transf
Text Symbol: D59 = Total Compliances
Text Symbol: D60 = Garnishments in Payroll
Text Symbol: D61 = Garnishments Not Honored
Text Symbol: D65 = BNo:
Text Symbol: D66 = ANo:
Text Symbol: D67 = IBAN:
Text Symbol: D75 = History
Text Symbol: D76 = Period
Text Symbol: D77 = List for Period
Text Symbol: D80 = Print Output for PerNo.
Text Symbol: D81 = No personnel no. was selected
Text Symbol: D83 = Print Output for All PerNo.
Text Symbol: D85 = History
INCLUDE RPCPL2AB. "PBO
INCLUDE RPCPL2AI. "PAI
No SAP DATABASE tables are accessed within this REPORT code!
HR_F4_COUNTRY_CURRENCY CALL FUNCTION 'HR_F4_COUNTRY_CURRENCY' EXPORTING molga = c_molga 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_molga 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 "WJOM1511194 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_AT CALL FUNCTION 'HR_CONVERT_CURRENCY_RESULT_AT' EXPORTING conversion_date = pn-endda foreign_currency = paytab-inter-versc-waers local_currency = p_waerg TABLES masse = paytab-nat-masse gutha = paytab-nat-gutha EXCEPTIONS invalid_wagetype = 1 error_conversion = 2 OTHERS = 3.
HR_AT_GET_GARNISHMENT_RESULTS CALL FUNCTION 'HR_AT_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_ae_af = 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 = '5H' 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.
CALL FUNCTION 'RP_GET_CURRENCY' EXPORTING molga = c_molga begda = l_seldat endda = l_seldat IMPORTING waers = l_waers 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.
CONVERT_TO_LOCAL_CURRENCY CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' EXPORTING date = conv_date foreign_amount = l_betrag foreign_currency = alte_waerg local_currency = neue_waerg IMPORTING local_amount = l_betrag EXCEPTIONS no_rate_found = 1 overflow = 2.
HR_AT_GET_GARNISHMENT_RANK CALL FUNCTION 'HR_AT_GET_GARNISHMENT_RANK' EXPORTING pernr = l_pernr begda = pn-begda endda = pn-endda pfdat = l_pfdat pfsta = l_pfsta IMPORTING pfrng = l_pfrng EXCEPTIONS infty_not_read = 1 no_authority = 2 OTHERS = 3.
DDIF_DOMA_GET CALL FUNCTION 'DDIF_DOMA_GET' EXPORTING name = 'PFSTB' 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.
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 RPCPL2A0 or its description.