SAP ABAP Class CL_DTS_QUERY_SERVICE (Access queries on downtime schedule)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
SV-SMG-OP (Application Component) Solution Directory
⤷
SDTS2 (Package) API for Querying the Downtime Schedule
⤷
⤷
Properties
| Class | CL_DTS_QUERY_SERVICE | |
| Short Description | Access queries on downtime schedule | |
| Super Class | ||
| Instantiability of a Class | 0 | Private |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | SDTS2 | API for Querying the Downtime Schedule |
| Created | 20070604 | SAP |
| Last change | 20071217 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
| # | Type group / Object type | Type | Type Description |
|---|---|---|---|
| 1 | Forward declaration interface (INTERFACE i DEFINITION DEF... | Forward declaration interface (INTERFACE i DEFINITION DEF... |
Interfaces
Class CL_DTS_QUERY_SERVICE has no interface implemented.
Friends
Class CL_DTS_QUERY_SERVICE has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Public | Type reference (TYPE) | FLAG | SPACE | False | 20070628 | ||
| 2 | Constant | Public | Type reference (TYPE) | FLAG | 'X' | True | 20070628 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Method | Predefined query to get downtime periods | 20070604 | |
| 2 | Static method | Public | Method | Predefined query to get current monitoring status | 20070604 | |
| 3 | Static method | Public | Method | Predefined query to get next downtime | 20070604 | |
| 4 | Static method | Public | Method | Get an object to launch a query | 20070604 |
Events
Class CL_DTS_QUERY_SERVICE has no event.
Types
Class CL_DTS_QUERY_SERVICE has no local type.
Method Signatures
Method GET_DOWNTIMES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_DOWNTIMES | Call by reference | Type reference (TYPE) | TSDTSDUR | DTS: List of Downtimeperiods | 20070604 | |||
| 2 | IP_CATEGORY | Call by reference | Type reference (TYPE) | DTSCATEGORY | IF_DTS_READER=>C_CAT_PLANNED_DOWNTIME | DTS: Downtime Category | 20070604 | ||
| 3 | IP_COMPONENT_KEY | Call by reference | Type reference (TYPE) | DTSCOMPKEY | IF_DTS_READER=>C_COMP_LOCAL | DTS: Key of a component in a system landscape | 20070604 | ||
| 4 | IP_COMPONENT_TYPE | Call by reference | Type reference (TYPE) | DTSCOMPTP | IF_DTS_READER=>C_COMPTP_LOCAL | DTS: Component types in downtime planning | 20070604 | ||
| 5 | IP_FROM | Call by reference | Type reference (TYPE) | DTSTSFROM | DTS: Timestamp for start of downtime | 20070604 | |||
| 6 | IP_UNTIL | Call by reference | Type reference (TYPE) | DTSTSUNTIL | DTS: Timestamp for end of downtime | 20070604 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exception in DTS API | 20070604 |
Method GET_MONITORING_STATUS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IP_COMPONENT_KEY | Call by reference | Type reference (TYPE) | DTSCOMPKEY | IF_DTS_READER=>C_COMP_LOCAL | DTS: Key of a component in a system landscape | 20070604 | ||
| 2 | IP_COMPONENT_TYPE | Call by reference | Type reference (TYPE) | DTSCOMPTP | IF_DTS_READER=>C_COMPTP_SLD | DTS: Component types in downtime planning | 20070604 | ||
| 3 | RP_RESULT | Value transfer | Type reference (TYPE) | DTSMONSTAT | DTS: Monitoring Status | 20070604 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exception in DTS API | 20070604 |
Method GET_NEXT_DOWNTIME Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IP_CATEGORY | Call by reference | Type reference (TYPE) | DTSCATEGORY | IF_DTS_READER=>C_CAT_PLANNED_DOWNTIME | DTS: Downtime Category | 20070604 | ||
| 2 | IP_COMPONENT_KEY | Call by reference | Type reference (TYPE) | DTSCOMPKEY | IF_DTS_READER=>C_COMP_LOCAL | DTS: Key of a component in a system landscape | 20070604 | ||
| 3 | IP_COMPONENT_TYPE | Call by reference | Type reference (TYPE) | DTSCOMPTP | IF_DTS_READER=>C_COMPTP_SLD | DTS: Component types in downtime planning | 20070604 | ||
| 4 | IP_INCLUDE_STARTED | Call by reference | Type reference (TYPE) | FLAG | FALSE | Include Downtimes that have already started | 20070628 | ||
| 5 | RS_RESULT | Value transfer | Type reference (TYPE) | SSDTSDUR | DTS: Duration of Downtime | 20070604 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exception in DTS API | 20070604 |
Method GET_QUERY_OBJECT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RI_RESULT | Value transfer | Object reference (TYPE REF TO) | IF_DTS_QUERY | DTS: Query Object | 20070604 |
Method GET_QUERY_OBJECT on class CL_DTS_QUERY_SERVICE has no exception.
History
| Last changed by/on | SAP | 20071217 |
| SAP Release Created in | 710 |