SAP ABAP Class CL_SWF_SLS_CALCULATOR (SLS: Standard Calculations for Time Stamp)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-BMT-WFM (Application Component) SAP Business Workflow
⤷
SWF_SLS (Package) Deadline Service - Deadline Monitoring
⤷
⤷
Properties
| Class | CL_SWF_SLS_CALCULATOR | |
| Short Description | SLS: Standard Calculations for Time Stamp | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | SWF_SLS | Deadline Service - Deadline Monitoring |
| Created | 20041214 | SAP |
| Last change | 20050214 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
Class CL_SWF_SLS_CALCULATOR has no forward declaration.
Interfaces
Class CL_SWF_SLS_CALCULATOR has no interface implemented.
Friends
| # | Friend | Modeled only | Created on | Description |
|---|---|---|---|---|
| 1 | CL_SWF_SLS_DEADLINE_HANDLER | 20041214 | Deadline Service: Handler for Deadlines |
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Public | Type reference (TYPE) | SWFSLS_TIMUNIT | 'DAY' | SLS: Time Unit for Periodic Deadlines | 20041214 | ||
| 2 | Constant | Public | Type reference (TYPE) | SWFSLS_TIMUNIT | 'HUR' | SLS: Time Unit for Periodic Deadlines | 20041214 | ||
| 3 | Constant | Public | Type reference (TYPE) | SWFSLS_TIMUNIT | 'MIN' | SLS: Time Unit for Periodic Deadlines | 20041214 | ||
| 4 | Constant | Public | Type reference (TYPE) | SWFSLS_TIMUNIT | 'MON' | SLS: Time Unit for Periodic Deadlines | 20041214 | ||
| 5 | Constant | Public | Type reference (TYPE) | SWFSLS_TIMUNIT | 'SEC' | SLS: Time Unit for Periodic Deadlines | 20041214 | ||
| 6 | Constant | Public | Type reference (TYPE) | SWFSLS_TIMUNIT | 'WEE' | SLS: Time Unit for Periodic Deadlines | 20041214 | ||
| 7 | Constant | Public | Type reference (TYPE) | SWFSLS_TIMUNIT | 'ANN' | SLS: Time Unit for Periodic Deadlines | 20041214 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Method | Adds a Duration to a Time Stamp | 20041214 | |
| 2 | Static method | Private | Method | Checks Duration Between Two Periodic Deadlines | 20041214 | |
| 3 | Static method | Public | Method | Gets T006 Measurement for Time Unit Constants | 20041214 | |
| 4 | Static method | Public | Method | Subtracts a Duration from a Time Stamp | 20041214 |
Events
Class CL_SWF_SLS_CALCULATOR has no event.
Types
Class CL_SWF_SLS_CALCULATOR has no local type.
Method Signatures
Method ADD_DURATION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_TIMESTAMP | Call by reference | Type reference (TYPE) | SWFSLS_TSTAMP | SLS: UTC-Zeitstempel des Termins | 20041214 | |||
| 2 | IM_TIME_QUANT | Call by reference | Type reference (TYPE) | SWFSLS_TIMEQUANT | Scheduling Services: Menge der Zeitdauer | 20041214 | |||
| 3 | IM_TIME_UNIT | Call by reference | Type reference (TYPE) | MSEHI | Maßeinheit | 20041214 | |||
| 4 | RE_TIMESTAMP | Value transfer | Type reference (TYPE) | SWFSLS_TSTAMP | SLS: UTC-Zeitstempel des Termins | 20041214 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | SLS: Fehler beim Berechnen des nächsten Zeitstempels | 20041214 |
Method CHECK_TIME_OFFSET Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_SWFSLSDEADL | Call by reference | Type reference (TYPE) | SWFSLSDEADL | Deadline Service: Termin-Tabelle | 20041214 | |||
| 2 | IM_SWFSLSRSDL | Call by reference | Type reference (TYPE) | SWFSLSRSDL | Deadline Service: Periodische Termine | 20041214 | |||
| 3 | RE_MSGV1 | Value transfer | Type reference (TYPE) | SWF_T100MS-MSGV1 | Nachrichtenvariable | 20041214 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | SLS: Fehler beim Berechnen des nächsten Zeitstempels | 20041214 |
Method GET_TIME_UNIT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_SLS_TIMEUNIT | Call by reference | Type reference (TYPE) | SWFSLS_TIMUNIT | SLS: Zeiteinheit für periodischen Termine | 20041214 | |||
| 2 | RE_TIMEUNIT | Value transfer | Type reference (TYPE) | MSEHI | Maßeinheit | 20041214 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | SLS: Einheit nicht gefunden | 20041214 | ||
| 2 | Workflow: Parameterfehler | 20041214 |
Method SUB_DURATION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_TIMESTAMP | Call by reference | Type reference (TYPE) | SWFSLS_TSTAMP | SLS: UTC-Zeitstempel des Termins | 20041214 | |||
| 2 | IM_TIME_QUANT | Call by reference | Type reference (TYPE) | SWFSLS_TIMEQUANT | Scheduling Services: Menge der Zeitdauer | 20041214 | |||
| 3 | IM_TIME_UNIT | Call by reference | Type reference (TYPE) | MSEHI | Maßeinheit | 20041214 | |||
| 4 | RE_TIMESTAMP | Value transfer | Type reference (TYPE) | SWFSLS_TSTAMP | SLS: UTC-Zeitstempel des Termins | 20041214 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | SLS: Fehler beim Berechnen des nächsten Zeitstempels | 20041214 |
History
| Last changed by/on | SAP | 20050214 |
| SAP Release Created in | 700 |