SAP Reports / Programs | Payroll | Germany(PY-DE) SAP PY

RPCPDRD0 SAP ABAP Report - Declaration of Third Party Debtor According to Paragraph 840 CPC







RPCPDRD0 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for You use report RPCPDRD0 to create a third-party debtor declaration according to §840 ZPO...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 RPCPDRD0 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_CPDRD0 - Third-Party Debt Decl. Sec. 840 ZPO


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 RPCPDRD0. "Basic submit
SUBMIT RPCPDRD0 AND RETURN. "Return to original report after report execution complete
SUBMIT RPCPDRD0 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_DATUM = Date of issue
Selection Text: P_DZUBT = Summary Personnel Area Acc.To
Selection Text: P_FORM = SAPScript Form
Selection Text: P_ABRVP = D .
Selection Text: P_ANART = D .
Selection Text: P_DETAIL = D .
Selection Text: P_PFART = D .
Selection Text: P_PFNUM = D .
Selection Text: P_PRNTR = D .
Selection Text: P_SACHB = D .
Selection Text: P_TELE = D .
Title: Declaration of Third Party Debtor According to Paragraph 840 CPC
Text Symbol: S01 = Garnishment
Text Symbol: S02 = Issuer
Text Symbol: S03 = Print settings
Text Symbol: S04 = Garnishment Type/No.
Text Symbol: S05 = Other
Text Symbol: T01 = Dear
Text Symbol: T02 = Dear
Text Symbol: T03 = Dear Sir/Madam,
Text Symbol: T04 = + Intrst


INCLUDES used within this REPORT RPCPDRD0

No INCLUDES are used within this REPORT code!


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_REFRESH_ERROR_LIST CALL FUNCTION 'HR_REFRESH_ERROR_LIST'.

H99B_GET_DEFAULT_GROUP_TYPE CALL FUNCTION 'H99B_GET_DEFAULT_GROUP_TYPE' "RSCN1552069v EXPORTING i_molga = gc_molga i_fogroup = gc_fogroup i_date = pn-endda IMPORTING e_ftgroupex = g_ftgroupex e_fotype = g_formtype EXCEPTIONS group_name_not_found = 1 no_group_type_found = 2 OTHERS = 3.

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_DISPLAY_ERROR_LONGTEXT CALL FUNCTION 'HR_DISPLAY_ERROR_LONGTEXT'.

GET_PRINT_PARAMETERS CALL FUNCTION 'GET_PRINT_PARAMETERS' EXPORTING report = repid no_dialog = true IMPORTING out_parameters = pri_params EXCEPTIONS archive_info_not_found = 1 invalid_print_params = 2 invalid_archive_params = 3 OTHERS = 4.

HR_DE_GET_GARNISHMENT_RESULTS CALL FUNCTION 'HR_DE_GET_GARNISHMENT_RESULTS' EXPORTING pernr = p0111-pernr pfart = p0111-pfart pfnum = p0111-pfnum last = 'X' TABLES result_tab = restab 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.

RP_GET_CURRENCY CALL FUNCTION 'RP_GET_CURRENCY' EXPORTING * molga = molga "RSC_PDF molga = gc_molga "RSC_PDF begda = datum IMPORTING waers = calc_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_ADDRESS CALL FUNCTION 'HR_GET_ADDRESS' EXPORTING ankey = ankey anart = padr0_anart_comp * molga = molga "RSC_PDF molga = gc_molga "RSC_PDF IMPORTING address = absender-adr EXCEPTIONS not_found = 1 OTHERS = 2.

HR_FEATURE_BACKFIELD CALL FUNCTION 'HR_FEATURE_BACKFIELD' EXPORTING feature = merkmal struc_content = struc * kind_of_error = IMPORTING back = vargu CHANGING status = rc EXCEPTIONS dummy = 1 error_operation = 2 no_backvalue = 3 feature_not_generated = 4 invalid_sign_in_funid = 5 field_in_report_tab_in_pe03 = 6 OTHERS = 7.

HR_GET_ADDRESS CALL FUNCTION 'HR_GET_ADDRESS' EXPORTING ankey = x0111-glkey anart = padr0_anart_cred * molga = molga "RSC_PDF molga = gc_molga "RSC_PDF IMPORTING address = adrs-adr EXCEPTIONS not_found = 1 OTHERS = 2.

ADDRESS_INTO_PRINTFORM CALL FUNCTION 'ADDRESS_INTO_PRINTFORM' EXPORTING adrswa_in = adrs-adr IMPORTING adrswa_out = adrs-adr.

HR_GET_ADDRESS CALL FUNCTION 'HR_GET_ADDRESS' EXPORTING ankey = p0111-kokey anart = padr0_anart_corr * molga = molga "RSC_PDF molga = gc_molga "RSC_PDF IMPORTING address = korr-adr EXCEPTIONS not_found = 1 OTHERS = 2.

ADDRESS_INTO_PRINTFORM CALL FUNCTION 'ADDRESS_INTO_PRINTFORM' EXPORTING adrswa_in = korr-adr IMPORTING adrswa_out = korr-adr.

CONVERT_TO_LOCAL_CURRENCY CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' EXPORTING date = conv_date foreign_amount = betrag foreign_currency = alte_waerg local_currency = neue_waerg IMPORTING local_amount = betrag EXCEPTIONS no_rate_found = 1 overflow = 2.

HR_GET_ADDRESS CALL FUNCTION 'HR_GET_ADDRESS' EXPORTING ankey = p0111-gbkey anart = padr0_anart_court * molga = molga "RSC_PDF molga = gc_molga "RSC_PDF IMPORTING address = gbadr EXCEPTIONS not_found = 1 OTHERS = 2.

HR_DE_GET_GARNISHMENT_RESULTS CALL FUNCTION 'HR_DE_GET_GARNISHMENT_RESULTS' EXPORTING pernr = x0111-pernr pfart = x0111-pfart pfnum = x0111-pfnum last = 'X' pabrj = g_pabrj "GSGN0931400v pabrp = g_pabrp * pabrj = pn-pabrj * pabrp = pn-pabrp "GSGN0931400^ * PABRJ_END = * PABRP_END = waers = rep_waerg TABLES result_tab = restab 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.

ADDRESS_INTO_PRINTFORM CALL FUNCTION 'ADDRESS_INTO_PRINTFORM' EXPORTING adrswa_in = l_sender "GSGPL0K024320 * adrswa_in = sender "GSGPL0K024320 IMPORTING adrswa_out = l_sender. "GSGPL0K024320



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