SAP ABAP Class CL_DTS_DB (DTS DB Access)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
SV-SMG-OP (Application Component) Solution Directory
⤷
SDTS0 (Package) DTS Persistence
⤷
⤷
Properties
| Class | CL_DTS_DB | |
| Short Description | DTS DB Access | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | SDTS0 | DTS Persistence |
| Created | 20070524 | SAP |
| Last change | 20110908 | 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_DB has no interface implemented.
Friends
Class CL_DTS_DB has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Public | Type reference (TYPE) | I | 3 | 20070529 | |||
| 2 | Constant | Public | Type reference (TYPE) | I | 4 | 20070529 | |||
| 3 | Constant | Private | Type reference (TYPE) | FLAG | SPACE | General Flag | 20070926 | ||
| 4 | Constant | Public | Type reference (TYPE) | I | 1 | 20070529 | |||
| 5 | Constant | Public | Type reference (TYPE) | I | 2 | 20070529 | |||
| 6 | Constant | Public | Type reference (TYPE) | I | 0 | 20070529 | |||
| 7 | Constant | Private | Type reference (TYPE) | FLAG | 'X' | General Flag | 20070926 | ||
| 8 | Constant | Public | Type reference (TYPE) | DTSUSETYP | 'A' | DTS: Usage Type | 20070926 | ||
| 9 | Constant | Public | Type reference (TYPE) | DTSUSETYP | 'C' | DTS: Usage Type | 20070926 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Private | Method | 20070926 | ||
| 2 | Static method | Private | Method | 20070926 | ||
| 3 | Static method | Private | Method | Returns the default component type | 20071004 | |
| 4 | Static method | Public | Method | 20071008 | ||
| 5 | Static method | Public | Method | 20070524 | ||
| 6 | Static method | Public | Method | Select component by internal ID | 20070603 | |
| 7 | Static method | Public | Method | Select component by key | 20070603 | |
| 8 | Static method | Public | Method | Select multiple entries of SDTSHD | 20070606 | |
| 9 | Static method | Public | Method | Select rule mapping for one entry | 20070529 | |
| 10 | Static method | Public | Method | Select one entry of SDTSHD | 20070524 | |
| 11 | Static method | Public | Method | Updates cross-client information | 20070926 |
Events
Class CL_DTS_DB has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | TS_COMP | Public | Type reference (TYPE) | SDTSCOMPS | 20070604 | |
|
| 2 | TS_COMP_KEY | Public | See coding | 20070604 | BEGIN OF ts_comp_key,
* client TYPE sdtscomp-client,
compid TYPE sdtscomp-compid,
END OF ts_comp_key
|
||
| 3 | TS_HEAD | Public | Type reference (TYPE) | SDTSHD | 20070524 | |
|
| 4 | TS_HEAD_KEY | Public | Type reference (TYPE) | SSDTSHEADKEY | 20070524 | |
|
| 5 | TS_RULE | Public | Type reference (TYPE) | SDTSRULE | 20070524 | |
|
| 6 | TS_RULE_KEY | Public | See coding | 20070524 | BEGIN OF ts_rule_key,
client TYPE sdtsrule-client,
entryid TYPE sdtsrule-entryid,
ruleid TYPE sdtsrule-ruleid,
END OF ts_rule_key
|
||
| 7 | TS_RULE_MAP | Public | See coding | 20070524 | BEGIN OF ts_rule_map,
client TYPE sy-mandt,
rule_id TYPE sc_ruleid,
rule_tab TYPE rule_tab,
dbstat TYPE i,
ref TYPE REF TO cl_appointment_rule,
locked type flag,
END OF ts_rule_map
|
||
| 8 | TT_CATEGORY_RANGE | Public | See coding | 20070606 | tt_category_range TYPE RANGE OF dtscategory
|
||
| 9 | TT_CC_RANGE | Private | See coding | 20070926 | TT_CC_RANGE type range of symandt
|
||
| 10 | TT_COMP | Public | See coding | 20070604 | tt_comp TYPE SORTED TABLE OF ts_comp WITH UNIQUE KEY compid
|
||
| 11 | TT_COMPID_RANGE | Public | See coding | 20070926 | tt_compid_range TYPE RANGE OF dtscompid
|
||
| 12 | TT_COMP_KEY | Public | See coding | 20070604 | tt_comp_key TYPE SORTED TABLE OF ts_comp_key WITH UNIQUE KEY compid
|
||
| 13 | TT_HEAD | Public | Type reference (TYPE) | TSDTSHEAD | 20070524 | |
|
| 14 | TT_HEAD_KEY | Public | Type reference (TYPE) | TSDTSHEADKEY | 20070524 | |
|
| 15 | TT_MONSTAT_RANGE | Public | See coding | 20071008 | tt_monstat_range TYPE RANGE OF dtsmonstat
|
||
| 16 | TT_REASON_RANGE | Public | See coding | 20070606 | tt_reason_range TYPE RANGE OF dtsreason
|
||
| 17 | TT_RULE | Public | See coding | 20070524 | tt_rule TYPE SORTED TABLE OF ts_rule WITH UNIQUE KEY client entryid ruleid
|
||
| 18 | TT_RULE_KEY | Public | See coding | 20070524 | tt_rule_key TYPE SORTED TABLE OF ts_rule_key WITH UNIQUE KEY client entryid ruleid
|
||
| 19 | TT_RULE_MAP | Public | See coding | 20070524 | tt_rule_map TYPE TABLE OF ts_rule_map
|
Method Signatures
Method GET_CROSS_CLIENT_RULE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_RULE_TAB | Value transfer | Type reference (TYPE) | RULE_TAB | Tabelle für Regeln | 20070926 | |||
| 2 | IP_CLIENT | Call by reference | Type reference (TYPE) | SYMANDT | Mandantenkennung des aktuellen Benutzers | 20070926 | |||
| 3 | IP_RULE_ID | Call by reference | Type reference (TYPE) | SC_RULEID | interne Identifizierung der Regel periodischer Termine | 20070926 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | DTS: exception during db access | 20071008 |
Method GET_CROSS_CLIENT_TABLE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IP_ALL_CLIENTS | Call by reference | Type reference (TYPE) | FLAG | 20070926 | ||||
| 2 | RT_RESULT | Value transfer | Type reference (TYPE) | TT_CC_RANGE | 20070926 |
Method GET_CROSS_CLIENT_TABLE on class CL_DTS_DB has no exception.
Method GET_DEFAULT_COMPONENT_TYPE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RP_RESULT | Value transfer | Type reference (TYPE) | DTSCOMPTP | DTS: Component types in downtime planning | 20071004 |
Method GET_DEFAULT_COMPONENT_TYPE on class CL_DTS_DB has no exception.
Method MAP_COMPONENT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ES_MAPPED_COMPONENT | Call by reference | Type reference (TYPE) | SSDTSCOMP | DTS: Component | 20071008 | |||
| 2 | IP_MAPPED_TYPE | Call by reference | Type reference (TYPE) | DTSCOMPTP | DTS: Component types in downtime planning | 20071008 | |||
| 3 | IS_COMPONENT | Call by reference | Type reference (TYPE) | SSDTSCOMP | DTS: Component | 20071008 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | DTS: Mapping Ausnahme | 20071008 |
Method MAP_TO_DATABASE Signature
Method MAP_TO_DATABASE on class CL_DTS_DB has no exception.
Method SELECT_COMPONENT_BY_ID Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EP_DBSTAT | Call by reference | Type reference (TYPE) | I | 20070603 | ||||
| 2 | ES_COMPONENT | Call by reference | Type reference (TYPE) | SSDTSCOMP | DTS: Component | 20070603 | |||
| 3 | IP_COMPONENT_ID | Call by reference | Type reference (TYPE) | DTSCOMPID | DTS: Landscape Component ID | 20070603 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | DTS: exception during db access | 20070603 |
Method SELECT_COMPONENT_BY_KEY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EP_COMPONENT_ID | Call by reference | Type reference (TYPE) | DTSCOMPID | DTS: Landscape Component ID | 20070603 | |||
| 2 | EP_DBSTAT | Call by reference | Type reference (TYPE) | I | Status auf Datenbank | 20070603 | |||
| 3 | ES_MAPPED_COMPONENT | Call by reference | Type reference (TYPE) | SSDTSCOMP | DTS: Component | 20071004 | |||
| 4 | IP_COMPONENT_KEY | Call by reference | Type reference (TYPE) | DTSCOMPKEY | DTS: Landscape Component ID | 20070603 | |||
| 5 | IP_COMPONENT_TYPE | Call by reference | Type reference (TYPE) | DTSCOMPTP | DTS: Component types in downtime planning | 20070603 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | DTS: exception during db access | 20070603 | ||
| 2 | DTS: Mapping Ausnahme | 20071004 |
Method SELECT_MULTIPLE_HEADER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_HEADER | Call by reference | Type reference (TYPE) | TT_HEAD | 20070606 | ||||
| 2 | IP_ACTIVE | Call by reference | Type reference (TYPE) | FLAG | select active entries | 20070909 | |||
| 3 | IP_ALL_CLIENTS | Call by reference | Type reference (TYPE) | FLAG | Select across all clients | 20070926 | |||
| 4 | IP_FROM | Call by reference | Type reference (TYPE) | DTSTSFROM | DTS: Timestamp for start of downtime | 20070606 | |||
| 5 | IP_INACTIVE | Call by reference | Type reference (TYPE) | FLAG | select inactive entries | 20070909 | |||
| 6 | IP_UNTIL | Call by reference | Type reference (TYPE) | DTSTSUNTIL | DTS: Timestamp for end of downtime | 20070606 | |||
| 7 | IT_CATEGORY_RANGE | Call by reference | Type reference (TYPE) | TT_CATEGORY_RANGE | 20070606 | ||||
| 8 | IT_COMPONENT_RANGE | Call by reference | Type reference (TYPE) | TT_COMPID_RANGE | 20070926 | ||||
| 9 | IT_MONSTATUS_RANGE | Call by reference | Type reference (TYPE) | TT_MONSTAT_RANGE | 20071008 | ||||
| 10 | IT_REASON_RANGE | Call by reference | Type reference (TYPE) | TT_REASON_RANGE | 20070606 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | DTS: exception during db access | 20070606 |
Method SELECT_RULE_MAP Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_RULE_MAP | Call by reference | Type reference (TYPE) | TT_RULE_MAP | 20070529 | ||||
| 2 | IP_CLIENT | Call by reference | Type reference (TYPE) | MANDT | Mandant | 20071126 | |||
| 3 | IP_ENTRY_ID | Call by reference | Type reference (TYPE) | DTSGUID | DTS: GUID of an entry in the downtime schedule | 20070529 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | DTS: exception during db access | 20070529 |
Method SELECT_SINGLE_HEADER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EP_CLIENT | Call by reference | Type reference (TYPE) | MANDT | Mandant | 20071126 | |||
| 2 | ES_HEADER | Call by reference | Type reference (TYPE) | SSDTSHD | DTS: Downtime Schedule Entry (Header Data Part) | 20070524 | |||
| 3 | IP_ALL_CLIENTS | Call by reference | Type reference (TYPE) | FLAG | Select across_all_clients | 20070926 | |||
| 4 | IP_ENTRY_ID | Call by reference | Type reference (TYPE) | DTSGUID | DTS: GUID of an entry in the downtime schedule | 20070524 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | DTS: exception during db access | 20070524 |
Method UPDATE_CLIENT_TABLE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IP_USETYPE | Call by reference | Type reference (TYPE) | DTSUSETYP | DTS: Verwendungsart | 20070926 |
Method UPDATE_CLIENT_TABLE on class CL_DTS_DB has no exception.
History
| Last changed by/on | SAP | 20110908 |
| SAP Release Created in | 710 |