SAP Reports / Programs

RPCDTWD0 SAP ABAP Report - Pre.program DME (HR-BAV) Reimbursement of contributions







RPCDTWD0 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Report RPCDTWD0 is a preliminary data medium program that is started after the pensions have been calculated if contributions need to be reimbursed...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 RPCDTWD0 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

P01A_FO03A - Pre.program DME
P01A_FO02 - Pre.program DME


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 RPCDTWD0. "Basic submit
SUBMIT RPCDTWD0 AND RETURN. "Return to original report after report execution complete
SUBMIT RPCDTWD0 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Data Medium Exchange for Reimbursement of Contributions
Selection Text: UMS = Convert Umlauts
Selection Text: UBWLGART = Wage Type
Selection Text: TEST_P = Test
Selection Text: SW_AGAIN = Repeat
Selection Text: SPERNR = Personnel Number
Selection Text: SHANSP = Entitlement
Selection Text: RP_DATUM = Repeat Run : Date
Selection Text: RP_DATIM = Time
Selection Text: PSDABE = Individual Statement
Selection Text: PCDABE = Totals List
Title: Pre.Program DME (HR-BAV) Reimbursement of Contributions
Text Symbol: R53 = Transfers with no errors :
Text Symbol: R54 = Transfers that were not effected :
Text Symbol: R55 = Error for personnel number and transfer number
Text Symbol: R56 = Incorrect payment key
Text Symbol: R57 = Bank data missing for transfer infotype
Text Symbol: R59 = Transfers already effected :
Text Symbol: R80 = Error when recoding benefits provider $ entitlement $ :
Text Symbol: R81 = No benefit provider found for entitlement $ / date $ :
Text Symbol: S01 = Wage Type with Description
Text Symbol: S02 = T
Text Symbol: S03 = Amount
Text Symbol: S04 = Curr.
Text Symbol: S05 = Totals List for Reimbursement/Transfer Amounts
Text Symbol: SDB = CPS database not locked for personnel no.
Text Symbol: SEL = Selection
Text Symbol: SPR = Master data locked for personnel number
Text Symbol: SYS = System error in lock management for pers. no.
Text Symbol: UW1 = No WType Amount PM Pay.key Payee text
Text Symbol: UW2 = Transfer Cty Bank code PCode City
Text Symbol: UW3 = C Account number Purpose
Text Symbol: UW4 = DocNo Cl Transfer time PM CC Bank Acct.(sender) Amount
Text Symbol: UW5 = Name (Payee) PCode City
Text Symbol: UW6 = Cty Bank number Acct. (payee)
Text Symbol: UW7 = Key Purpose
Text Symbol: R52 = Persons that were not selected :
Text Symbol: 001 = Wage/Salary





Text Symbol: 003 = Pension
Text Symbol: 007 = Contribution Reimb.
Text Symbol: F01 = Invalid country grouping $ for PerNo $:
Text Symbol: F02 = Please convert file PCL2
Text Symbol: F06 = IT
Text Symbol: F07 = for personnel no.
Text Symbol: F08 = does not exist
Text Symbol: F09 = HR name formatting incomplete for personnel number
Text Symbol: F10 = No address data for personnel number
Text Symbol: F11 = No transfer data for personnel number
Text Symbol: F12 = Work center not in T001P for personnel number
Text Symbol: F30 = Reimbursement must be checked first
Text Symbol: H03 = Errors Found :
Text Symbol: HT1 = Prim. Entitlements to Reimburse
Text Symbol: P01 = Open Error:
Text Symbol: P02 = required_entry_not_made
Text Symbol: P03 = already_exists
Text Symbol: P05 = Close Error:
Text Symbol: P06 = not_found
Text Symbol: P07 = invalid_status
Text Symbol: P13 = No entry in table $ for key $
Text Symbol: P14 = Transfer Error:
Text Symbol: P15 = not_found
Text Symbol: P16 = invalid_status
Text Symbol: P17 = data_inconsistent
Text Symbol: P18 = required_entry_not_made
Text Symbol: P19 = invalid_value
Text Symbol: P20 = amount_too_large
Text Symbol: P50 = Repeat run
Text Symbol: P51 = Date
Text Symbol: P52 = Time
Text Symbol: PNR = PNo.
Text Symbol: R40 = Program run date :
Text Symbol: R50 = No PCL2 data for personnel number and payroll
Text Symbol: R51 = Persons selected :


INCLUDES used within this REPORT RPCDTWD0

INCLUDE RPC2RDD0.
INCLUDE RPPPXD10.
INCLUDE RPPPXD00.
INCLUDE RPCDTD00.





INCLUDE RPCDTD10.


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:

RP_01C_DABE_BT_PRINT CALL FUNCTION 'RP_01C_DABE_BT_PRINT' EXPORTING I21_PERNR = PERNR-PERNR I21_HEADR = MARKED * I21_START = EXCEPTIONS OTHERS = 1.

RP_01C_DABE_BT_PRINT CALL FUNCTION 'RP_01C_DABE_BT_PRINT' TABLES T21_DABE_BT = SEL_DABE_BT EXCEPTIONS OTHERS = 1.

RP_01C_DABE_RP_PRINT CALL FUNCTION 'RP_01C_DABE_RP_PRINT' EXPORTING I20_PERNR = PERNR-PERNR I20_HEADR = MARKED * I20_START = EXCEPTIONS OTHERS = 1.

RP_01C_DABE_RP_PRINT CALL FUNCTION 'RP_01C_DABE_RP_PRINT' TABLES T20_DABE_RP = SEL_DABE_RP EXCEPTIONS OTHERS = 1.

ENQUEUE_EPPRELE CALL FUNCTION 'ENQUEUE_EPPRELE' EXPORTING PERNR = $PERNR EXCEPTIONS FOREIGN_LOCK = 1 SYSTEM_FAILURE = 2 OTHERS = 3.

DD_DOMVALUES_GET CALL FUNCTION 'DD_DOMVALUES_GET' EXPORTING DOMNAME = DOMAIN_NAME IMPORTING RC = DD07V_SUBRC TABLES DD07V_TAB = DD07V_TABLE EXCEPTIONS WRONG_TEXTFLAG = 1 OTHERS = 2.

ENQUEUE_E_TABLEE CALL FUNCTION 'ENQUEUE_E_TABLEE' EXPORTING TABNAME = ENQ_BAVDB VARKEY = ENQ_VAKEY EXCEPTIONS FOREIGN_LOCK = 1 SYSTEM_FAILURE = 2 OTHERS = 3.

RP_01C_BAV_ERROR_ROUTINE CALL FUNCTION 'RP_01C_BAV_ERROR_ROUTINE' EXPORTING I54_EMODE = PERFORM_ERROR_ROUTINE I54_REPID = CALL_ERROR_PROGRAM TABLES T54_ERROR = ERROR_TAB.

HR_DISPLAY_ERROR_LIST CALL FUNCTION 'HR_DISPLAY_ERROR_LIST' EXPORTING NO_POPUP = NO_POPUP NO_PRINT = WITH_PRINT NO_IMG = NO_IMG NO_MSGNO = NO_MSGNR LINESIZE = SY-LINSZ LISTHEADER = ERROR_TITLE COLHEADER = C_ERROR_COLUMN HIDEMSG = HIDE_MESSAGE TABLES ERROR = ERROR_TAB EXCEPTIONS INVALID_LINESIZE = 1 OTHERS = 2.

DEQUEUE_EPPRELE CALL FUNCTION 'DEQUEUE_EPPRELE' EXPORTING PERNR = $PERNR.

DD_DOMVALUES_GET CALL FUNCTION 'DD_DOMVALUES_GET' EXPORTING DOMNAME = DOMAIN_NAME IMPORTING RC = DD07V_SUBRC TABLES DD07V_TAB = DD07V_TABLE EXCEPTIONS WRONG_TEXTFLAG = 1 OTHERS = 2.

DEQUEUE_E_TABLEE CALL FUNCTION 'DEQUEUE_E_TABLEE' EXPORTING TABNAME = DEQ_BAVDB VARKEY = DEQ_VAKEY EXCEPTIONS OTHERS = 1.

HR_APPEND_ERROR_LIST call function 'HR_APPEND_ERROR_LIST' exporting pernr = pernr-pernr arbgb = 'HRPAYDEBAV' msgty = 'E' msgno = '165' msgv1 = 'T5DCA' msgv2 = $hansp.



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