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

RPCSVWD0 SAP ABAP Report - Calculation of Disruptive Event SI Deficit for Flexible Working Time







RPCSVWD0 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Calculating the disruptive event income threshold deficit for the flexib le working hours policy With the 4th Act on the Introduction of the Euro as of 21st December 200 0, employers are obliged to calculate contribution amounts themselves in the event of non-agreement compliant use of value credits from flexible working time provisions (disruptive event)...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 RPCSVWD0 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_CSVWD0 - Calculate Disruptive Event SI-Air


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 RPCSVWD0. "Basic submit
SUBMIT RPCSVWD0 AND RETURN. "Return to original report after report execution complete
SUBMIT RPCSVWD0 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_SPDATE = Session Blocked Until
Selection Text: P_MAPPE = Create Session
Selection Text: P_MAPNAM = Folder Name
Title: Calculation of Disruptive Event SI Deficit for Flexible Working Time
Text Symbol: S42 = Personnel(Sub)Area
Text Symbol: S41 = SI Key
Text Symbol: S40 = Spec. Disrup.Evnt SI Deficit (IT 0123)
Text Symbol: S39 = Cumul. Accrual Used
Text Symbol: S38 = Re
Text Symbol: S37 = Transfer ERCont
Text Symbol: S36 = Transfer Val.Cr
Text Symbol: S35 = Status pre2009
Text Symbol: S34 = Tot.IRYr
Text Symbol: S33 = CntrbPYr
Text Symbol: S32 = CntrbCYr
Text Symbol: S31 = ER Contr.
Text Symbol: S30 = New Status Disr.Evnt SIDefic
Text Symbol: S29 = Rule Remuner.Double
Text Symbol: S28 = SR Full-time Gross
Text Symbol: S27 = StatusCurrYear
Text Symbol: S26 = StatusPrevYr
Text Symbol: S25 = NR
Text Symbol: S24 = Reg
Text Symbol: S23 = DisrEvnt
Text Symbol: S22 = Status
Text Symbol: S21 = Struc
Text Symbol: S20 = DisrEvnts
Text Symbol: S50 = Disr.Evnt Remun.
Text Symbol: Z12 = Recalc. frm
Text Symbol: Z11 = Non-relevant Personnel Numbers
Text Symbol: Z10 = Personnel Numbers w/o Changes
Text Symbol: Z09 = New Batch Input Recs
Text Symbol: Z08 = Create BI Session
Text Symbol: Z07 = No
Text Symbol: Z06 = Y
Text Symbol: Z05 = Database Update
Text Symbol: Z04 = Pers.Nos with Disrupt.Event
Text Symbol: Z03 = Personnel Nos with Errors





Text Symbol: Z02 = Personnel Numbers with Changes
Text Symbol: Z01 = Selected Personnel Numbers
Text Symbol: Z00 = Payroll Period
Text Symbol: VG2 = CorrectnValues
Text Symbol: VG1 = Start val.
Text Symbol: UNG = Unreduced
Text Symbol: S61 = Insert
Text Symbol: S60 = Delete
Text Symbol: S55 = Employer
Text Symbol: S54 = DEUEV Date
Text Symbol: S53 = SI Key
Text Symbol: S52 = Prev.yr
Text Symbol: S51 = Current Year
Text Symbol: P16 = Tree
Text Symbol: P15 = Output as
Text Symbol: P14 = Database Update
Text Symbol: P13 = Batch input
Text Symbol: P12 = Log
Text Symbol: P11 = Recalc. as of Period
Text Symbol: P10 = Program Control
Text Symbol: M60 = Messages/Errors
Text Symbol: L11 = New DisrEvents
Text Symbol: L10 = Personnel Numbers w/o Changes
Text Symbol: L09 = Stats Calculat. of Disrupt. Ev. SI Defic.
Text Symbol: L08 = Stats.
Text Symbol: L07 = Errors Occurred
Text Symbol: L06 = Disr. Events in Evaluat. Period
Text Symbol: L05 = Personnel Nos with Errors
Text Symbol: L04 = Personnel Numbers with Changes
Text Symbol: L02 = Program Parameter
Text Symbol: L01 = Log for Calculating Disr.Event SI Deficit
Text Symbol: I01 = Format Log
Text Symbol: GSL = /
Text Symbol: GHY = -
Text Symbol: GFB = Part-Time Empolyees
Text Symbol: GDP = :
Text Symbol: ERW = EC Reduction
Text Symbol: E99 = Detailed Display Error No.___
Text Symbol: P17 = List





Text Symbol: S19 = NR Release
Text Symbol: S18 = Val.Cred. SI-Exempt
Text Symbol: S17 = Reg. Release
Text Symbol: S16 = Value Credit
Text Symbol: S15 = CI
Text Symbol: S14 = UI
Text Symbol: S13 = PI
Text Symbol: S12 = HI
Text Symbol: S11 = Remun.
Text Symbol: S09 = Part-time
Text Symbol: S08 = Part-Time Empl.
Text Symbol: S07 = SI Days
Text Symbol: S06 = EC Reduction
Text Symbol: S05 = Semiretirement
Text Symbol: S04 = Legal Person
Text Symbol: S03 = Legal Area
Text Symbol: S02 = SI Obligat:
Text Symbol: S01 = Status
Text Symbol: S00 = PTE
Text Symbol: RKW = Legal Area West
Text Symbol: RKO = Legal Area East
Text Symbol: PH4 = Transfer Phase
Text Symbol: PH3 = Work Phase
Text Symbol: PH2 = Release Phase
Text Symbol: PH1 = Phase w/o Value Credit


INCLUDES used within this REPORT RPCSVWD0

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_MAPNAME_VERIFY call function 'HR_MAPNAME_VERIFY' exporting mapname = p_mapnam reportname = param-report importing mapname = p_mapnam.

HR_MAPNAME_VERIFY call function 'HR_MAPNAME_VERIFY' exporting mapname = p_mapnam reportname = param-report importing mapname = p_mapnam.

HR_REFRESH_ERROR_LIST call function 'HR_REFRESH_ERROR_LIST'.

HR_GET_PAYROLL_RESULTS call function 'HR_GET_PAYROLL_RESULTS' exporting pernr = pernr_dat-pernr pabrj = p_begper-jahr " Von-Periode pabrp = p_begper-monat " Von-Periode pabrj_end = p_endper-jahr " Bis-Periode pabrp_end = p_endper-monat " Bis-Periode tables result_tab = p_abr exceptions no_results = 0 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_GET_PAYROLL_RESULTS call function 'HR_GET_PAYROLL_RESULTS' exporting pernr = pernr_dat-pernr pabrj = l_per-jahr pabrp = l_per-monat pabrj_end = p_endper-jahr pabrp_end = p_endper-monat actual = c_ja " nur aktuelle Sätze tables result_tab = p_abr exceptions no_results = 0 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_GET_PAYROLL_RESULTS



call function 'HR_GET_PAYROLL_RESULTS' exporting pernr = pernr_dat-pernr pabrj = p_begper-jahr pabrp = p_begper-monat pabrj_end = p_begper-jahr pabrp_end = p_begper-monat actual = c_ja " nur aktuelle Sätze inper_act = l_endper "YCTN459715 tables result_tab = abr_tab exceptions no_results = 0 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_GET_PAYROLL_RESULTS call function 'HR_GET_PAYROLL_RESULTS' exporting pernr = pernr_dat-pernr pabrj = p_vorper-jahr pabrp = p_vorper-monat pabrj_end = p_vorper-jahr pabrp_end = p_vorper-monat actual = c_ja " nur aktuelle Sätze inper_act = l_endper "YCTN459715 tables result_tab = abr_tab exceptions no_results = 0 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_GET_VALIDITY_OF_APPLICATION CALL FUNCTION 'HR_GET_VALIDITY_OF_APPLICATION' EXPORTING i_molga = c_molga_01 i_appl = 'SVWB' i_date = l_sv-begda IMPORTING e_valid = l_valid.

HR_DE_GET_ATZ_NR CALL FUNCTION 'HR_DE_GET_ATZ_NR' "QFLL9CK159038 EXPORTING datum = l_sv-endda IMPORTING ATZNR = daten-status-atznr tables atz = abrechnung-nat-atz.

CONVERT_TO_LOCAL_CURRENCY call function 'CONVERT_TO_LOCAL_CURRENCY' exporting date = p_datum foreign_amount = p_betrg foreign_currency = p_from_cur local_currency = p_to_cur importing local_amount = p_betrg exceptions no_rate_found = 1 overflow = 2 no_factors_found = 3 no_spread_found = 4 derived_2_times = 5 others = 6.

HR_APPEND_ERROR_LIST call function 'HR_APPEND_ERROR_LIST' exporting pernr = pernr_dat-pernr arbgb = c_errcl msgty = l_msgty msgno = p_msgid msgv1 = p_txt1 msgv2 = p_txt2 msgv3 = p_txt3 msgv4 = p_txt4.

BDC_OPEN_GROUP call function 'BDC_OPEN_GROUP' exporting client = sy-mandt group = param-binput-mapnam user = sy-uname "#EC DOM_EQUAL keep = space holddate = param-binput-spdate.

BDC_INSERT call function 'BDC_INSERT' exporting tcode = 'PA30' "Transaktionscode tables dynprotab = bdcdata.

BDC_INSERT call function 'BDC_INSERT' exporting tcode = 'PA30' "Transaktionscode tables dynprotab = bdcdata.

BDC_CLOSE_GROUP call function 'BDC_CLOSE_GROUP'.

HR_GET_VALIDITY_OF_APPLICATION CALL FUNCTION 'HR_GET_VALIDITY_OF_APPLICATION' EXPORTING i_molga = c_molga_01 i_appl = 'SVWB' i_date = p_stoerfall-datum IMPORTING e_valid = l_valid.



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