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

RPCSVDD2 SAP ABAP Report - documentation and ABAP source code







RPCSVDD2 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Report RPCSVDD1 creates notifications for the BVV pension, which has to be sent to the BVV by data medium every month...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 RPCSVDD2 into the relevant SAP transactions such as SE38 or SE80


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


Text pool values


&0................&1................&2................&3............
Selection Text: SW_PEV = Live Run
Selection Text: SEQ-OUT = Output
Selection Text: PROTO = Test Log
Selection Text: MHRAB = Multiple Payroll
Selection Text: LISTE = Contribution Statement
Selection Text: ARCHIVNR = Archive No. of File
Title: Create BVV Notifications
Text Symbol: M65 = Total Relief Funds
Text Symbol: ML1 = ....+....1....+....2....+....3....+....4....+....5
Text Symbol: ML2 = ....+....6....+....7....+....8....+....9....+....0
Text Symbol: S01 = Current Month:
Text Symbol: S02 = Number of Employees:
Text Symbol: S03 = Ret.Accntng:
Text Symbol: S04 = Total:
Text Symbol: S05 = Add.payment
Text Symbol: S06 = Number of EEs with PF Recs:
Text Symbol: S07 = No. of EEs with RF Records:
Text Symbol: S08 = Total for Current Mth:
Text Symbol: S09 = Total No. of Records:
Text Symbol: S10 = Pension Fund :
Text Symbol: S11 = Relief Fund:
Text Symbol: M64 = Number of Relief Funds
Text Symbol: M63 = Total Pension Funds
Text Symbol: M62 = Number of Pension Funds
Text Symbol: M61 = Sum of Contribtns
Text Symbol: M60 = No.of Rec.Type B
Text Symbol: M42 = Multiple Payroll
Text Symbol: M41 = Payroll Date
Text Symbol: M40 = BVV Company No.
Text Symbol: M21 = Sorting/Group Change
Text Symbol: M20 = Processing
Text Symbol: M19 = Leaving
Text Symbol: M18 = Entry
Text Symbol: M17 = Address Street
Text Symbol: M16 = Add. City
Text Symbol: U35 = BVV Total
Text Symbol: U34 = BVV Risk Insur.





Text Symbol: U33 = BVV Supp. Insur
Text Symbol: U31 = BVVCurr.Contrib
Text Symbol: U30 = Company No./Desc.
Text Symbol: U23 = E/I
Text Symbol: U22 = V0
Text Symbol: U21 = F
Text Symbol: U20 = Risk Ins.
Text Symbol: U19 = Suppl.Ins.
Text Symbol: U18 = ER Contr.
Text Symbol: U17 = BVVContrib.
Text Symbol: U16 = PF
Text Symbol: U15 = Month
Text Symbol: U14 = BVV out
Text Symbol: U13 = BVV in
Text Symbol: U12 = BVV-No
Text Symbol: U11 = Name
Text Symbol: U10 = PersNo.
Text Symbol: U09 = BVV Number
Text Symbol: U07 = Notifs
Text Symbol: U06 = Stats.
Text Symbol: U05 = Error List
Text Symbol: U04 = Totals Sttmnt
Text Symbol: U03 = for period
Text Symbol: U02 = Ind.Statement
Text Symbol: U01 = BVV Data Medium Exchange,
Text Symbol: S12 = Output Crrncy:
Text Symbol: E05 = Period Later Than Leaving Date:
Text Symbol: E04 = P0126 Does Not Exist, Reject Period
Text Symbol: E03 = WPBP Does Not Exist, Reject Period
Text Symbol: E02 = No Current Rate Available, Reject
Text Symbol: E01 = Error Formatting Name, Reject
Text Symbol: 113 = Best wishes,
Text Symbol: 112 = and Was Created On:
Text Symbol: 111 = Archive no:
Text Symbol: 110 = Sm of BVVContrbtn:
Text Symbol: 109 = No of Notifics:
Text Symbol: 108 = Data Medium Contains
Text Symbol: 107 = the Specific Payroll Dates
Text Symbol: 106 = BIF Contribution Accntng. The Notifics Ref. to





Text Symbol: 105 = We hereby send you the data medium for
Text Symbol: 104 = Dear Sir/Madam,
Text Symbol: 103 = Data Trans. for BVV Contribution Accounting
Text Symbol: 102 = BVV Company No.
Text Symbol: 101 = Sndr
Text Symbol: 021 = Not Possible
Text Symbol: 020 = Conversion to
Text Symbol: 012 = DEUEV Name
Text Symbol: 011 = BVV Cmpy:
Text Symbol: 010 = Leaving, Feature:
Text Symbol: 009 = ConCl, WageTyp:
Text Symbol: 008 = SIC Rec.:
Text Symbol: 007 = BVV Number:
Text Symbol: 006 = Processing ID:
Text Symbol: 005 = Processed Record:
Text Symbol: 004 = In-period:
Text Symbol: 003 = For-period:
Text Symbol: 002 = Current Record:
Text Symbol: 001 = Personnel No.
Text Symbol: M15 = PstCd
Text Symbol: M14 = Veh
Text Symbol: M13 = TaxExemChildren
Text Symbol: M12 = Marital stat.
Text Symbol: M11 = Gender
Text Symbol: M10 = DoB
Text Symbol: M09 = Birth Name
Text Symbol: M08 = Name
Text Symbol: M07 = Membership No.
Text Symbol: M06 = BVV Ins.Contribution
Text Symbol: M05 = Contrib. Scale
Text Symbol: M04 = Validity Period
Text Symbol: M03 = Insurance Type
Text Symbol: M02 = Personnel No.
Text Symbol: M01 = Rec.Ty.
Text Symbol: H08 = Created Notificatns:
Text Symbol: H07 = Successfully Processed Employees:
Text Symbol: H06 = Employees f. Which Payroll Run:
Text Symbol: H05 = Total Selected Employees:
Text Symbol: H02 = Reprt Stats.:



Text Symbol: H01 = Errors Found :
Text Symbol: F09 = Error in Currency Translation for Pers.No./Key Date
Text Symbol: F08 = Infotype 0126 Is Not Available for Pers. No.
Text Symbol: F07 = Error Reading Table T549Q with Argument
Text Symbol: F06 = Error when Reading Table T5D1H with Argument
Text Symbol: F05 = Error when Reading Table T536A with Argument
Text Symbol: F04 = Error when Reading Table T530 with Argument
Text Symbol: F03 = Error Reading the Payment Result Pers.No./Seq.No.
Text Symbol: F02 = Error Reading Cluster Directory for Pers.No.
Text Symbol: F01 = IT 0002 Does Not Exist for Personnel Number
Text Symbol: E07 = Infotype 0079 not available
Text Symbol: E06 = No Change to Contribution:


INCLUDES used within this REPORT RPCSVDD2

INCLUDE RPC2RX01.
INCLUDE RPC2RX02.
INCLUDE RPC2RDD1.


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:

RSTS_WRITE #R3 CALL FUNCTION 'RSTS_WRITE' #R3 TABLES #R3 DATATAB = BVV_OUTPUT.

RSTS_WRITE CALL FUNCTION 'RSTS_WRITE' " TABLES " DATATAB = BVV_OUTPUT. "

RP_TS_CREATE_OBJECT #R3 CALL FUNCTION 'RP_TS_CREATE_OBJECT' #R3 EXPORTING #R3 OBJKN = 'CSVDD1' #R3 OBJNR = TS_BVV_D #R3 EMPFG = 'RPUTSVDD'.

RSTS_CLOSE #R3 CALL FUNCTION 'RSTS_CLOSE' #R3 EXCEPTIONS #R3 FB_CALL_HANDLE = 01 #R3 FB_ERROR = 02 #R3 FB_RSTS_OTHER = 03.

RP_GET_CURRENCY CALL FUNCTION 'RP_GET_CURRENCY' EXPORTING MOLGA = MOLGA * TRFAR = * TRFGB = * TRFKZ = BEGDA = $DATE * ENDDA = IMPORTING WAERS = $WAERS * VALID_BEGDA = * VALID_ENDDA = * RETURN = * CURRENCY_SOURCE = * TABLES * CURRENCY_TABLE = 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 = P_DATUM FOREIGN_AMOUNT = P_BETRG * FOREIGN_CURRENCY = P_WAERS "QALK033171 * LOCAL_CURRENCY = WAERS " FOREIGN_CURRENCY = from_WAERS " LOCAL_CURRENCY = to_WAERS "QALK033171 IMPORTING LOCAL_AMOUNT = P_BETRG EXCEPTIONS OTHERS = 1.

HR_FEATURE_BACKFIELD CALL FUNCTION 'HR_FEATURE_BACKFIELD' EXPORTING feature = 'ADDRS' struc_content = pme36 kind_of_error = space IMPORTING back = $subty * STATUS = 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.



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