SAP ABAP Class CL_RSOSC_SWBF_PERSISTENCY_MGR (Persistency manager for switches and business functions)
Hierarchy
SAP_BW (Software Component) SAP Business Warehouse
   BW-WHM-MTD (Application Component) Metadata (Repository)
     RSOSC (Package) BI Meta Object Framework Scoping Engine
Meta Relationship - Using
# Relationship type Using Short Description Created on
1 Interface implementation (CLASS c. INTERFACES i_ref)  IF_RSOSC_SWBF_EVENT_LISTENER Event handler for replication of Switches 20081203
Properties
Class CL_RSOSC_SWBF_PERSISTENCY_MGR  
Short Description Persistency manager for switches and business functions    
Super Class    
Instantiability of a Class 0  Private 
Final    
General Data
Message Class    
Program status     
Category 0   
Package RSOSC   BI Meta Object Framework Scoping Engine 
Created 20081203   SAP 
Last change 20110908   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 RS Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
# Interface Abstract Final Description Created on
1 IF_RSOSC_SWBF_EVENT_LISTENER Event handler for replication of Switches 20081203
Friends
Class CL_RSOSC_SWBF_PERSISTENCY_MGR has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 C_LOGSYS_AGGREGATED Constant Public Type reference (TYPE) RSSLOGSYS SPACE Source system for aggregated status 20090107
2 O_DUMMY_MSG Static Attribute Protected Type reference (TYPE) CHAR1 Single-Character Flag 20090112
3 P_R_INSTANCE Static Attribute Private Object reference (TYPE REF TO) CL_RSOSC_SWBF_PERSISTENCY_MGR Central Instance 20081203
Methods
# Method Level Visibility Method type Description Created on
1 CHECK_SWITCH_EXISTENCE Instance method Public Method Checks for the existence of a replicated switch 20090107
2 CLASS_CONSTRUCTOR Static method Public Constructor CLASS_CONSTRUCTOR 20081203
3 CONSTRUCTOR Instance method Public Constructor CONSTRUCTOR 20081203
4 DELETE_FOR_LOGSYS Instance method Private Method Delete the replicated data for sourcesystem 20081203
5 DELETE_FOR_LOGSYS_NATIVE Instance method Private Method Delete the replicated data for sourcesystem 20090107
6 GET_ALL_SWITCHES Instance method Public Method Get all switches of a logical system 20090107
7 GET_EVENT_LISTENER Static method Public Method Returns an instance of the event listener 20081203
8 GET_INSTANCE Static method Public Method Returns ths single instance 20081203
9 GET_LOGSYS_FOR_SWITCH Instance method Public Method Get all logical systems and their status for one switch 20090109
10 GET_SWITCH Instance method Public Method Get a replicated switch 20090107
11 GET_SWITCH_TEXTS Instance method Public Method Get a replicated switch 20090107
12 GET_SWITCH_TIMESTAMP Instance method Public Method Get global timestamp for BW switches 20090227
13 IS_RELEASE_RELEVANT Instance method Public Method Checks if release is relevant for Switch Replication 20090112
14 READ_SWITCHES_FROM_LOGSYS Instance method Public Method Helper calculates all switches for one source system 20090109
15 REPLICATE_ALL Instance method Public Method Aus allen Quellsystemen replizieren 20090109
16 REPLICATE_FOR_LOGSYS Instance method Private Method Replicates Data for a sourcesystem 20081203
17 SET_SWITCH_STATUS Instance method Public Method Sets the status for a switch 20090109
18 SFW_STATUS_TO_BI_STATUS Static method Public Method Helper: Converts basis switch status to BI status 20090105
19 SHOW_APPLICATION_LOG Instance method Private Method Shows application log 20090113
20 UPDATE_AGGREGATE Instance method Private Method Updates the aggregated status of the switches 20090107
21 UPDATE_TEXTS Instance method Private Method Texts on DB 20090107
Events
Class CL_RSOSC_SWBF_PERSISTENCY_MGR has no event.
Types
Class CL_RSOSC_SWBF_PERSISTENCY_MGR has no local type.
Method Signatures

Method CHECK_SWITCH_EXISTENCE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_SWITCH_ID Call by reference Type reference (TYPE) SFW_SWITCH_ID Id of a Switch in Switch Framework 20090107
2 Returning R_EXISTS Value transfer Type reference (TYPE) RS_BOOL Boolean 20090107

Method CHECK_SWITCH_EXISTENCE on class CL_RSOSC_SWBF_PERSISTENCY_MGR has no exception.

Method CLASS_CONSTRUCTOR Signature

Method CLASS_CONSTRUCTOR on class CL_RSOSC_SWBF_PERSISTENCY_MGR has no parameter.
Method CLASS_CONSTRUCTOR on class CL_RSOSC_SWBF_PERSISTENCY_MGR has no exception.

Method CONSTRUCTOR Signature

Method CONSTRUCTOR on class CL_RSOSC_SWBF_PERSISTENCY_MGR has no parameter.
Method CONSTRUCTOR on class CL_RSOSC_SWBF_PERSISTENCY_MGR has no exception.

Method DELETE_FOR_LOGSYS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing C_R_MSG Call by reference Object reference (TYPE REF TO) CL_RSO_MSG Container for Messages 20081203
2 Exporting E_ERROR Call by reference Type reference (TYPE) RS_BOOL Boolean 20090113
3 Importing I_LOGSYS Call by reference Type reference (TYPE) RSSLOGSYS Source system 20081203
4 Importing I_SHOW_LOG Call by reference Type reference (TYPE) RS_BOOL RS_C_TRUE Boolean 20090113

Method DELETE_FOR_LOGSYS on class CL_RSOSC_SWBF_PERSISTENCY_MGR has no exception.

Method DELETE_FOR_LOGSYS_NATIVE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_LOGSYS Call by reference Type reference (TYPE) RSSLOGSYS Source system 20090107

Method DELETE_FOR_LOGSYS_NATIVE on class CL_RSOSC_SWBF_PERSISTENCY_MGR has no exception.

Method GET_ALL_SWITCHES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_TS_SWITCHT Call by reference Type reference (TYPE) RSOSC_TS_SWITCHT Switches and Texts 20090107
2 Exporting E_TS_SW_REPL Call by reference Type reference (TYPE) RSOSC_TS_SW_REPL Switches replicated into BI (including Status) 20090107
3 Importing I_LOGSYS Call by reference Type reference (TYPE) RSSLOGSYS C_LOGSYS_AGGREGATED Source system 20090107

Method GET_ALL_SWITCHES on class CL_RSOSC_SWBF_PERSISTENCY_MGR has no exception.

Method GET_EVENT_LISTENER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning R_R_REPL_EVENT_LISTENER Value transfer Object reference (TYPE REF TO) IF_RSOSC_SWBF_EVENT_LISTENER Eventbehandler für die Switches Replikation 20081203

Method GET_EVENT_LISTENER on class CL_RSOSC_SWBF_PERSISTENCY_MGR has no exception.

Method GET_INSTANCE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning R_R_INSTANCE Value transfer Object reference (TYPE REF TO) CL_RSOSC_SWBF_PERSISTENCY_MGR Persistency manager for switches and business functions 20081203

Method GET_INSTANCE on class CL_RSOSC_SWBF_PERSISTENCY_MGR has no exception.

Method GET_LOGSYS_FOR_SWITCH Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_T_LOGSYS_STATUS Call by reference Type reference (TYPE) RSOSC_T_LOGSYS_STATUS Source systems and switch status 20090109
2 Importing I_SWITCH_ID Call by reference Type reference (TYPE) SFW_SWITCH_ID Id of a Switch in Switch Framework 20090109

Method GET_LOGSYS_FOR_SWITCH on class CL_RSOSC_SWBF_PERSISTENCY_MGR has no exception.

Method GET_SWITCH Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_SWITCH_ID Call by reference Type reference (TYPE) SFW_SWITCH_ID Id of a Switch in Switch Framework 20090107
2 Returning R_S_SW_REPL Value transfer Type reference (TYPE) RSOSC_S_SW_REPL Switch replicated into BI (including Status) 20090107
# Exception Resumable Description Created on
1 CX_RSOSC_OBJECT_NOT_FOUND The object does not exist 20090107

Method GET_SWITCH_TEXTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_NAME32 Value transfer Type reference (TYPE) SFW_NAME32 20090107
2 Exporting E_NAME80 Value transfer Type reference (TYPE) SFW_NAME80 Text for Switch in Switch Framework 20090107
3 Importing I_SWITCH_ID Call by reference Type reference (TYPE) SFW_SWITCH_ID Id of a Switch in Switch Framework 20090107

Method GET_SWITCH_TEXTS on class CL_RSOSC_SWBF_PERSISTENCY_MGR has no exception.

Method GET_SWITCH_TIMESTAMP Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning R_TIMESTMP Value transfer Type reference (TYPE) RSTIMESTMP UTC Time Stamp in Short Form (YYYYMMDDhhmmss) 20090227

Method GET_SWITCH_TIMESTAMP on class CL_RSOSC_SWBF_PERSISTENCY_MGR has no exception.

Method IS_RELEASE_RELEVANT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_SAPREL Call by reference Type reference (TYPE) SYSAPRL Release Status of SAP System 20090112
2 Returning R_IS_RELEVANT Value transfer Type reference (TYPE) RS_BOOL Boolean 20090112

Method IS_RELEASE_RELEVANT on class CL_RSOSC_SWBF_PERSISTENCY_MGR has no exception.

Method READ_SWITCHES_FROM_LOGSYS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing C_ERROR Call by reference Type reference (TYPE) RS_BOOL =X: Error 20090113
2 Changing C_R_MSG Call by reference Object reference (TYPE REF TO) CL_RSO_MSG Container for Messages 20090109
3 Exporting E_TS_SWITCHT Call by reference Type reference (TYPE) RSOSC_TS_SWITCHT Switches and Texts 20090109
4 Exporting E_TS_SW_REPL Call by reference Type reference (TYPE) RSOSC_TS_SW_REPL Switches replicated into BI (including Status) 20090109
5 Importing I_DETLEVEL Call by reference Type reference (TYPE) BALLEVEL '2' Application Log: Level of detail 20090112
6 Importing I_LOGSYS Call by reference Type reference (TYPE) RSSLOGSYS Source system 20090109
7 Importing I_RFC_DEST Call by reference Type reference (TYPE) RFCDEST Logical Destination (Specified in Function Call) 20090109

Method READ_SWITCHES_FROM_LOGSYS on class CL_RSOSC_SWBF_PERSISTENCY_MGR has no exception.

Method REPLICATE_ALL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_ERROR Call by reference Type reference (TYPE) RS_BOOL =X: Error 20090113
2 Exporting E_R_MSG Call by reference Object reference (TYPE REF TO) CL_RSO_MSG Container for Messages 20090113
3 Importing I_SHOW_LOG Call by reference Type reference (TYPE) RS_BOOL RS_C_TRUE =X: Show log / progress indicator 20090113

Method REPLICATE_ALL on class CL_RSOSC_SWBF_PERSISTENCY_MGR has no exception.

Method REPLICATE_FOR_LOGSYS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing C_R_MSG Call by reference Object reference (TYPE REF TO) CL_RSO_MSG Container für Nachrichten 20081203
2 Exporting E_ERROR Call by reference Type reference (TYPE) RS_BOOL Boolean 20090113
3 Importing I_LOGSYS Call by reference Type reference (TYPE) RSSLOGSYS Quellsystem 20081203
4 Importing I_SHOW_LOG Call by reference Type reference (TYPE) RS_BOOL RS_C_TRUE =X: Show Log 20090113

Method REPLICATE_FOR_LOGSYS on class CL_RSOSC_SWBF_PERSISTENCY_MGR has no exception.

Method SET_SWITCH_STATUS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_IS_ACTIVE Call by reference Type reference (TYPE) RSOSC_IS_ACTIVE Flag: Switch is active 20090109
2 Importing I_LOGSYS Call by reference Type reference (TYPE) RSSLOGSYS C_LOGSYS_AGGREGATED Source system 20090109
3 Importing I_SWITCH_ID Call by reference Type reference (TYPE) SFW_SWITCH_ID Id of a Switch in Switch Framework 20090109
4 Returning R_NOT_FOUND Value transfer Type reference (TYPE) RS_BOOL ='X': Corresponding switch not found 20090109

Method SET_SWITCH_STATUS on class CL_RSOSC_SWBF_PERSISTENCY_MGR has no exception.

Method SFW_STATUS_TO_BI_STATUS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_SFW_STATUS Call by reference Type reference (TYPE) SFW_SWITCHPOS Switch Position 20090105
2 Returning R_ACTIVE Value transfer Type reference (TYPE) RS_BOOL Boolean 20090107

Method SFW_STATUS_TO_BI_STATUS on class CL_RSOSC_SWBF_PERSISTENCY_MGR has no exception.

Method SHOW_APPLICATION_LOG Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_R_MSG Call by reference Object reference (TYPE REF TO) CL_RSO_MSG Container for Messages 20090113

Method SHOW_APPLICATION_LOG on class CL_RSOSC_SWBF_PERSISTENCY_MGR has no exception.

Method UPDATE_AGGREGATE Signature

Method UPDATE_AGGREGATE on class CL_RSOSC_SWBF_PERSISTENCY_MGR has no parameter.
Method UPDATE_AGGREGATE on class CL_RSOSC_SWBF_PERSISTENCY_MGR has no exception.

Method UPDATE_TEXTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_TS_SWITCHT Call by reference Type reference (TYPE) RSOSC_TS_SWITCHT Switches and Texts 20090107

Method UPDATE_TEXTS on class CL_RSOSC_SWBF_PERSISTENCY_MGR has no exception.
History
Last changed by/on SAP  20110908 
SAP Release Created in 720