SAP Reports / Programs | Personnel Management | Personnel Administration | Sweden(PA-PA-SE) SAP PA

RPTOVTS0 SAP ABAP Report - Overtime report







RPTOVTS0 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for The overtime report is done according to the swedish requirements from: Anteckningar om jourtid, övertid och mertid (AFS 1982:17) and from Sveriges Verkstadsindustrier: Tjänstemannaavtal 1998 -2000 Verkstadsavtal 1998 - 2000 Make sure that you have run your time evaluation and that the field PDC recalculation of infotype 0003 has the correct date...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 RPTOVTS0 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_M23_TOVT - Overtime report


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 RPTOVTS0. "Basic submit
SUBMIT RPTOVTS0 AND RETURN. "Return to original report after report execution complete
SUBMIT RPTOVTS0 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: WAR6 = Disable Warning 6
Selection Text: WAR4 = Disable Warning 4
Selection Text: VARIANT = D .
Selection Text: P_TRFST = D .
Selection Text: P_TRFGR = D .
Selection Text: P_TRFGB = D .
Selection Text: P_TRFAR = D .
Selection Text: P_MGART = D .
Selection Text: P_LGART = D .
Selection Text: FORML = D .
Title: Overtime report
Text Symbol: PLA = Position (techn.)
Text Symbol: REC = Restored hours
Text Symbol: SAA = Payroll admin. (techn.)
Text Symbol: SAP = HR administrator (techn.)
Text Symbol: SAZ = Time rec. admin. (techn.)
Text Symbol: SIN = Shift entitle
Text Symbol: SOM = Shift comp
Text Symbol: STE = Job (techn.)
Text Symbol: SUM = Sum OT/MT
Text Symbol: SUT = Shift taken
Text Symbol: W01 = 1. Limit for maximum hours of overtime for one month reached
Text Symbol: W02 = 2. Maximum limit of restored hours reached (shown last period)
Text Symbol: W03 = 3. Number of available overtime hours less than limit
Text Symbol: W04 = 4. Limit for max hours OT for calendar year reached (shown last period)
Text Symbol: W05 = 5. Maximum of availability reached for calendar month
Text Symbol: W06 = 6. Restored hours exceeds number of Overtime hours
Text Symbol: WER = Personnel area (techn.)
Text Symbol: 001 = Data is hidden due to filter
Text Symbol: ABK = Payroll area (technical)
Text Symbol: ANS = Work contract (technical)
Text Symbol: AVO = Avail OT
Text Symbol: BTR = Pers. subarea (technical)
Text Symbol: BUK = Company code (techn.)
Text Symbol: COM = Comp bank
Text Symbol: DIS = Disp Quota
Text Symbol: FO1 = Form
Text Symbol: FO2 = Additional data





Text Symbol: GSB = Business area (techn.)
Text Symbol: H01 = Selection date:
Text Symbol: H02 = Run date:
Text Symbol: I01 = The following warnings can appear in the list:
Text Symbol: INF = Warning
Text Symbol: JOR = Jour
Text Symbol: KOS = Cost center (techn.)
Text Symbol: MER = Mertid (Parttime overtime)
Text Symbol: MON = Month
Text Symbol: NAM = Name
Text Symbol: NOD = EM Parttime
Text Symbol: NOF = Emergency
Text Symbol: OR3 = Data format
Text Symbol: ORG = Organizational unit (techn.)
Text Symbol: OVT = Overtime
Text Symbol: PED = Personnr
Text Symbol: PER = EE subgrouping (techn.)
Text Symbol: PES = Employee group (techn.)


INCLUDES used within this REPORT RPTOVTS0

INCLUDE RPCGENS1.
INCLUDE RPCGENS2.
INCLUDE RPCGENS3.
INCLUDE RPCGENS4.
INCLUDE RPCGENS5.
INCLUDE RPCGENS6.


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_TIME_RESULTS_GET CALL FUNCTION 'HR_TIME_RESULTS_GET' EXPORTING GET_PERNR = pernr-pernr GET_PABRJ = pabrj GET_PABRP = pabrp TABLES GET_ZES = ZES EXCEPTIONS NO_PERIOD_SPECIFIED = 1 WRONG_CLUSTER_VERSION = 2 NO_READ_AUTHORITY = 3 CLUSTER_ARCHIVED = 4 TECHNICAL_ERROR = 5 OTHERS = 6.

HR_GET_QUOTA_DATA CALL FUNCTION 'HR_GET_QUOTA_DATA' EXPORTING PERNR = pernr-pernr QTYPE = '1' MOD = 'B' DEDU_DATUM = keydate * ENTI_DATUM = BEGDA = '18000101' ENDDA = '99991231' * DEDUBEG = * DEDUEND = TABLES ABWKO = abwko EXCEPTIONS INFTY_NOT_FOUND = 1 MISSING_AUTHORITY = 2 WRONG_PARAMETER = 3 OTHERS = 4 .

HR_GET_QUOTA_DEDUCTION CALL FUNCTION 'HR_GET_QUOTA_DEDUCTION' EXPORTING * QUONUM = quota_ded-quonr "without * DOCNUM = PERNUM = pernr-pernr SBEGDA = pn-begda SENDDA = pn-endda TABLES QDISDED = qdisded EXCEPTIONS RECORD_NOT_FOUND = 1 OTHERS = 2 .

HR_READ_INFOTYPE CALL FUNCTION 'HR_READ_INFOTYPE' EXPORTING PERNR = pernr-pernr INFTY = '0008' BEGDA = pn-begda ENDDA = pn-endda TABLES INFTY_TAB = lt_p0008 .



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