SAP ABAP Class CL_DTS_ABSTRACT (Abstract DTS Factory)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   SV-SMG-OP (Application Component) Solution Directory
     SDTS1 (Package) API for Editing and Reading Downtime Schedule
Meta Relationship - Used By
# Relationship type Used by Short Description Created on
1 Inheritance (c INHERITING FROM c_ref)  CL_DTS Access Downtime Schedule Entries 20070926
2 Inheritance (c INHERITING FROM c_ref)  CL_DTS_CCMS DTS Factory for CCMS 20070926
3 Inheritance (c INHERITING FROM c_ref)  CL_DTS_INTERNAL Internal DTS factory 20070926
Properties
Class CL_DTS_ABSTRACT  
Short Description Abstract DTS Factory    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package SDTS1   API for Editing and Reading Downtime Schedule 
Created 20070924   SAP 
Last change 20080612   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 CL_DTS_ENTRY Forward declaration class (CLASS c DEFINITION DEFERRED)  Forward declaration class (CLASS c DEFINITION DEFERRED)
Interfaces
Class CL_DTS_ABSTRACT has no interface implemented.
Friends
Class CL_DTS_ABSTRACT has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 C_CROSS_CLIENT_OFF Constant Protected Type reference (TYPE) I CL_DTS_ENTRY=>C_CROSS_CLIENT_OFF 20070926
2 C_CROSS_CLIENT_ON Constant Protected Type reference (TYPE) I CL_DTS_ENTRY=>C_CROSS_CLIENT_ON 20070926
3 C_DISTRIB_MODE_LOCAL Constant Public Type reference (TYPE) DTSDISTRMODE 1 No distribution 20070926
4 C_DISTRIB_MODE_TO_MANAGED Constant Public Type reference (TYPE) DTSDISTRMODE 2 Distribution to managed system 20070926
5 FALSE Constant Public Type reference (TYPE) FLAG SPACE False 20070926
6 GO_DTS Static Attribute Protected Object reference (TYPE REF TO) CL_DTS_ABSTRACT Access Downtime Schedule Entries 20070926
7 GO_LOG Instance attribute Protected Object reference (TYPE REF TO) CL_DTS_LOG DTS: Logging 20070926
8 GT_CONN_MAP Instance attribute Private Type reference (TYPE) TT_CONN_MAP 20070926
9 GT_ENTRIES Instance attribute Protected Type reference (TYPE) CL_DTS_ENTRY=>TT_ENTRIES 20070926
10 G_CROSS_CLIENT_MODE Instance attribute Protected Type reference (TYPE) I C_CROSS_CLIENT_OFF 20070926
11 G_DISTRIBUTION_MODE Instance attribute Protected Type reference (TYPE) DTSDISTRMODE DTS: Distribution Mode 20070926
12 G_USETYPE Instance attribute Protected Type reference (TYPE) DTSUSETYP 'A' DTS: Usage Type 20070926
13 SYNCH_BY_RFC Constant Protected Type reference (TYPE) DTSCOMPCC 'R' Distribute by RFC 20070926
14 SYNCH_BY_WS Constant Protected Type reference (TYPE) DTSCOMPCC 'S' Distribute using WebService 20070926
15 TRUE Constant Public Type reference (TYPE) FLAG 'X' True 20070926
Methods
# Method Level Visibility Method type Description Created on
1 CONSTRUCTOR Instance method Public Constructor CONSTRUCTOR 20070926
2 CREATE_ENTRY Instance method Public Method Create an entry in the schedule 20070926
3 DELETE_ENTRY Instance method Public Method Delete an entry from the schedule 20070926
4 DISTRIBUTE Instance method Private Method Distribute entries 20070926
5 DISTRIBUTE_TO_DESTINATION Instance method Private Method Distribute entries to a destination 20070926
6 GET_ENTRY_FOR_EDIT Instance method Public Method Get write access to an entry 20070926
7 GET_ENTRY_FOR_READ Instance method Public Method Get read access to an entry 20070926
8 GET_ENTRY_FOR_READ_INTERNAL Instance method Private Method Get read access to an entry 20080229
9 NOTIFY Instance method Protected Method Notify About Changes Using BAdI 20080229
10 RESET Static method Public Method Releases the singleton 20070926
11 SET_DESTINATION_FOR_COMPONENT Instance method Public Method Set destination to distribute entries 20070926
12 SET_LOG_PORT_FOR_COMPONENT Instance method Public Method Set logical port to distribute entries 20070926
13 SUBMIT_CHANGES Instance method Public Method Insert/update/distribute changed entries (no DB commit) 20070926
14 SUBMIT_ENTRY Instance method Public Method Update/redistribute existing entry 20070926
Events
Class CL_DTS_ABSTRACT has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 TS_CONN_MAP Private See coding 20070926 BEGIN OF ts_conn_map, comp TYPE ssdtscomp, conn TYPE ssdtsconn, distrib_as_local type flag, END OF ts_conn_map
2 TS_CONN_SORT Private See coding 20070926 BEGIN OF ts_conn_sort, comp TYPE ssdtscomp, conn TYPE ssdtsconn, distrib_as_local type flag, entry_tab TYPE tt_entry_ser, END OF ts_conn_sort
3 TT_CONN_MAP Private See coding 20070926 tt_conn_map TYPE SORTED TABLE OF ts_conn_map WITH NON-UNIQUE KEY comp
4 TT_CONN_SORT Private See coding 20070926 tt_conn_sort TYPE SORTED TABLE OF ts_conn_sort WITH UNIQUE KEY comp conn
5 TT_ENTRY_SER Private See coding 20070926 tt_entry_ser TYPE standard table of xstring with default key
Method Signatures

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IP_DISTRIBUTION_MODE Call by reference Type reference (TYPE) DTSDISTRMODE DTS: Distribution Mode 20070926

Method CONSTRUCTOR on class CL_DTS_ABSTRACT has no exception.

Method CREATE_ENTRY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IP_ACTIVE Call by reference Type reference (TYPE) FLAG TRUE Flag if entry is active 20070926
2 Importing IP_CATEGORY Call by reference Type reference (TYPE) DTSCATEGORY DTS: Downtime Category 20070926
3 Importing IP_COMPONENT_KEY Call by reference Type reference (TYPE) DTSCOMPKEY DTS: Key of a component in a system landscape 20070926
4 Importing IP_COMPONENT_TYPE Call by reference Type reference (TYPE) DTSCOMPTP DTS: Component types in downtime planning 20070926
5 Importing IP_END Call by reference Type reference (TYPE) DTSTSUNTIL DTS: Timestamp for end of downtime 20070926
6 Importing IP_INFO_TEXT Call by reference Type reference (TYPE) DTSINFOTXT DTS: Infotext 20070926
7 Importing IP_MONITORING_STATUS Call by reference Type reference (TYPE) DTSMONSTAT DTS: Monitoring Status 20070926
8 Importing IP_OWNER Call by reference Type reference (TYPE) DTSOWNER DTS: System Owner 20070926
9 Importing IP_REASON Call by reference Type reference (TYPE) DTSREASON DTS: Technical downtime reason 20070926
10 Importing IP_START Call by reference Type reference (TYPE) DTSTSFROM DTS: Timestamp for start of downtime 20070926
11 Importing IS_RULE Call by reference Type reference (TYPE) SCRULE_EXP Recurrence Rule (FuGr. SSC_RULES) 20070926
12 Returning RI_RESULT Value transfer Object reference (TYPE REF TO) IF_DTS_EDITOR Edit Entry in Downtime Schedule 20070926
# Exception Resumable Description Created on
1 CX_DTS_API Exception in DTS API 20070926

Method DELETE_ENTRY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IP_ENTRY_ID Call by reference Type reference (TYPE) DTSGUID DTS: GUID of an entry in the downtime schedule 20070926
# Exception Resumable Description Created on
1 CX_DTS_API Exception in DTS API 20070926

Method DISTRIBUTE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_FAILED Call by reference Type reference (TYPE) TSDTSDISTR Returns ids of entries which failed to submit 20070926
2 Exporting ET_SUCCESS Call by reference Type reference (TYPE) TSDTSDISTR Returns ids of entries successfully distributed 20070926
3 Importing IT_ENTRIES Call by reference Type reference (TYPE) CL_DTS_ENTRY=>TT_ENTRIES Submits all changed entries if initial 20070926

Method DISTRIBUTE on class CL_DTS_ABSTRACT has no exception.

Method DISTRIBUTE_TO_DESTINATION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_FAILED Call by reference Type reference (TYPE) TSDTSDISTR Returns entries which failed to submit 20070926
2 Importing IP_DESTINATION Call by reference Type reference (TYPE) RFCDEST logische Destination (Wird bei Funktionsaufruf angegeben) 20070926
3 Importing IP_DISTRIB_AS_LOCAL Call by reference Type reference (TYPE) FLAG allgemeines flag 20070926
4 Importing IT_ENTRIES Call by reference Type reference (TYPE) TENTRY_SERIAL Table with serialized entries 20070926
# Exception Resumable Description Created on
1 CX_DTS_API Exception in DTS API 20070926

Method GET_ENTRY_FOR_EDIT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IP_ENTRY_ID Call by reference Type reference (TYPE) DTSGUID DTS: GUID of an entry in the downtime schedule 20070926
2 Returning RI_RESULT Value transfer Object reference (TYPE REF TO) IF_DTS_EDITOR Edit Entriy in Downtime Schedule 20070926
# Exception Resumable Description Created on
1 CX_DTS_API Exception in DTS API 20070926

Method GET_ENTRY_FOR_READ Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IP_ENTRY_ID Call by reference Type reference (TYPE) DTSGUID DTS: GUID of an entry in the downtime schedule 20070926
2 Returning RI_RESULT Value transfer Object reference (TYPE REF TO) IF_DTS_READER Read Entry in Downtime Schedule 20070926
# Exception Resumable Description Created on
1 CX_DTS_API Exception in DTS API 20070926

Method GET_ENTRY_FOR_READ_INTERNAL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IP_ENTRY_ID Call by reference Type reference (TYPE) DTSGUID DTS: GUID of an Entry in the Downtime Schedule 20080229
2 Returning RI_RESULT Value transfer Object reference (TYPE REF TO) IF_DTS_READER Read Entry in Downtime Schedule 20080229
# Exception Resumable Description Created on
1 CX_DTS_API Exception in DTS API 20080229

Method NOTIFY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_ENTRY Call by reference Object reference (TYPE REF TO) CL_DTS_ENTRY Entry in the downtime schedule 20080229

Method NOTIFY on class CL_DTS_ABSTRACT has no exception.

Method RESET Signature

Method RESET on class CL_DTS_ABSTRACT has no parameter.
Method RESET on class CL_DTS_ABSTRACT has no exception.

Method SET_DESTINATION_FOR_COMPONENT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IP_COMPONENT_KEY Call by reference Type reference (TYPE) DTSCOMPKEY DTS: Key of a component in a system landscape 20070926
2 Importing IP_COMPONENT_TYPE Call by reference Type reference (TYPE) DTSCOMPTP DTS: Component types in downtime planning 20070926
3 Importing IP_DESTINATION Call by reference Type reference (TYPE) RFCDEST logische Destination (Wird bei Funktionsaufruf angegeben) 20070926
4 Importing IP_DISTRIB_AS_LOCAL Call by reference Type reference (TYPE) FLAG CL_DTS_ABSTRACT=>TRUE Entries appear as local downtimes in remote system 20070926

Method SET_DESTINATION_FOR_COMPONENT on class CL_DTS_ABSTRACT has no exception.

Method SET_LOG_PORT_FOR_COMPONENT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IP_COMPONENT_KEY Call by reference Type reference (TYPE) DTSCOMPKEY DTS: Key of a component in a system landscape 20070926
2 Importing IP_COMPONENT_TYPE Call by reference Type reference (TYPE) DTSCOMPTP DTS: Component types in downtime planning 20070926
3 Importing IP_DISTRIB_AS_LOCAL Call by reference Type reference (TYPE) FLAG CL_DTS_ABSTRACT=>TRUE Entries appear as local downtimes in remote system 20070926
4 Importing IP_LOGICAL_PORT Call by reference Type reference (TYPE) SRT_LP_NAME Logischer Port Name 20070926

Method SET_LOG_PORT_FOR_COMPONENT on class CL_DTS_ABSTRACT has no exception.

Method SUBMIT_CHANGES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_FAILED Call by reference Type reference (TYPE) TSDTSDISTR Returns ids of entries which failed to be distributed 20070926
2 Exporting ET_SUCCESS Call by reference Type reference (TYPE) TSDTSDISTR Returns ids of entries successfully distributed 20070926
3 Importing IT_ENTRIES Call by reference Type reference (TYPE) TIDTS_EDITOR Submits all changed entries if initial 20070926

Method SUBMIT_CHANGES on class CL_DTS_ABSTRACT has no exception.

Method SUBMIT_ENTRY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_FAILED Call by reference Type reference (TYPE) TSDTSDISTR DTS: Distribution Log 20070926
2 Exporting ET_SUCCESS Call by reference Type reference (TYPE) TSDTSDISTR DTS: Distribution Log 20070926
3 Importing II_ENTRY Call by reference Object reference (TYPE REF TO) IF_DTS_EDITOR Edit Entry in Downtime Schedule 20070926
# Exception Resumable Description Created on
1 CX_DTS_API Exception in DTS API 20070926
History
Last changed by/on SAP  20080612 
SAP Release Created in