SAP ABAP Class CL_RSOSC_SWITCH (BI Switch (local or replicated))
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_SCOPE | Scope (abstraction of switch) | 20051115 |
Properties
| Class | CL_RSOSC_SWITCH | |
| Short Description | BI Switch (local or replicated) | |
| Super Class | ||
| Instantiability of a Class | 0 | Private |
| Final |
General Data
| Message Class | ||
| Program status | P | SAP Standard Production Program |
| Category | 0 | |
| Package | RSOSC | BI Meta Object Framework Scoping Engine |
| Created | 20051115 | SAP |
| Last change | 20110908 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
| # | Type group / Object type | Type | Type Description |
|---|---|---|---|
| 1 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
Interfaces
| # | Interface | Abstract | Final | Description | Created on |
|---|---|---|---|---|---|
| 1 | IF_RSOSC_SCOPE | Scope (abstraction of switch) | 20051115 |
Friends
Class CL_RSOSC_SWITCH has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Instance attribute | Private | Type reference (TYPE) | RS_BOOL | RS_C_FALSE | =' ' local switch; = 'X': Replicated switch | 20090107 | ||
| 2 | Static Attribute | Public | Object reference (TYPE REF TO) | CL_RSOSC_SWBF_PERSISTENCY_MGR | Persistency manager for switches and business functions | 20090107 | |||
| 3 | Instance attribute | Private | Type reference (TYPE) | SFW_SWITCH_ID | Switch name/ID | 20051115 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Method | Checks if InfoObject 0SWITCH is active and activates if not | 20090119 | |
| 2 | Static method | Public | Constructor | CLASS_CONSTRUCTOR | 20090107 | |
| 3 | Instance method | Private | Constructor | 20051115 | ||
| 4 | Static method | Public | Method | Reads all switches | 20090107 | |
| 5 | Instance method | Public | Method | 20090107 | ||
| 6 | Static method | Private | Method | Gets the object name and TLOGO to be used for basis calls | 20051115 | |
| 7 | Static method | Public | Method | Gets the switch object for a switch ID | 20051214 | |
| 8 | Static method | Public | Method | Gets the switch for a given object | 20051117 | |
| 9 | Instance method | Public | Method | Reads the text of the switch | 20090107 | |
| 10 | Instance method | Public | Method | 20090107 | ||
| 11 | Instance method | Public | Method | Check if switch is replicated | 20090107 |
Events
Class CL_RSOSC_SWITCH has no event.
Types
Class CL_RSOSC_SWITCH has no local type.
Method Signatures
Method CHECK_ACTIVATE_IOBJ_0SWITCH Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | C_R_MSG | Call by reference | Object reference (TYPE REF TO) | CL_RSO_MSG | Container for Messages | 20090119 | |||
| 2 | I_DETLEVEL | Call by reference | Type reference (TYPE) | BALLEVEL | '1' | Application Log: Level of detail | 20090119 |
Method CHECK_ACTIVATE_IOBJ_0SWITCH on class CL_RSOSC_SWITCH has no exception.
Method CLASS_CONSTRUCTOR Signature
Method CLASS_CONSTRUCTOR on class CL_RSOSC_SWITCH has no parameter.
Method CLASS_CONSTRUCTOR on class CL_RSOSC_SWITCH has no exception.
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_SWITCH_ID | Call by reference | Type reference (TYPE) | SFW_SWITCH_ID | 20051115 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | The object does not exist | 20090107 |
Method GET_ALL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_TH_SWITCH | Call by reference | Type reference (TYPE) | RSOSC_TH_SWITCH | Switches and properties | 20090107 | |||
| 2 | E_TS_SWITCHT | Call by reference | Type reference (TYPE) | RSOSC_TS_SWITCHT | Switches and Texts | 20090107 |
Method GET_ALL on class CL_RSOSC_SWITCH has no exception.
Method GET_NAME Signature
Method GET_NAME on class CL_RSOSC_SWITCH has no parameter.
Method GET_NAME on class CL_RSOSC_SWITCH has no exception.
Method GET_OBJECT_FOR_BASIS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_S_TLOGO | Value transfer | Type reference (TYPE) | RSO_S_TLOGO | Object name and TLOGO as required by basis | 20051115 | |||
| 2 | I_S_TLOGO | Call by reference | Type reference (TYPE) | RSO_S_TLOGO | BW Repository: TLOGO Object and Type | 20051115 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | The object is not relevant for scope checks | 20060515 |
Method GET_SWITCH_FROM_NAME Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_SWITCH_ID | Call by reference | Type reference (TYPE) | SFW_SWITCH_ID | Switch ID of switch in Basis Switch Framework | 20090107 | |||
| 2 | R_R_SWITCH | Value transfer | Object reference (TYPE REF TO) | CL_RSOSC_SWITCH | Switch used as a scope | 20051214 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | The object does not exist | 20090107 |
Method GET_SWITCH_OF_OBJECT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_S_TLOGO | Value transfer | Type reference (TYPE) | RSO_S_TLOGO | BW Repository: TLOGO Object and Type | 20051117 | |||
| 2 | R_R_SWITCH | Value transfer | Object reference (TYPE REF TO) | CL_RSOSC_SWITCH | Switch used as a scope | 20051117 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | The object does not exist | 20061017 |
Method GET_TEXTS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_NAME32 | Call by reference | Type reference (TYPE) | SFW_NAME32 | Short Text for Switch | 20090107 | |||
| 2 | E_NAME80 | Call by reference | Type reference (TYPE) | SFW_NAME80 | Short Text for Switch | 20090107 |
Method GET_TEXTS on class CL_RSOSC_SWITCH has no exception.
Method IS_ACTIVE Signature
Method IS_ACTIVE on class CL_RSOSC_SWITCH has no parameter.
Method IS_ACTIVE on class CL_RSOSC_SWITCH has no exception.
Method IS_REPLICATED Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | R_REPLICATED | Value transfer | Type reference (TYPE) | RS_BOOL | Boolean | 20090107 |
Method IS_REPLICATED on class CL_RSOSC_SWITCH has no exception.
History
| Last changed by/on | SAP | 20110908 |
| SAP Release Created in | 710 |