SAP ABAP Class CL_SFW_SWITCHED_OBJECT (WB - SFW - Switched Object)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-DWB-TOO-SFW (Application Component) Switch Framework Tools
⤷
SFW_SWITCH_BROWSER (Package) SFW - Switch Framework Browser
⤷
⤷
Meta Relationship - Using
| # | Relationship type | Using | Short Description | Created on |
|---|---|---|---|---|
| 1 | Interface implementation (CLASS c. INTERFACES i_ref) | IF_SFW_OBJECT | Switch Framework Object | 20110819 |
Properties
| Class | CL_SFW_SWITCHED_OBJECT | |
| Short Description | WB - SFW - Switched Object | |
| Super Class | ||
| Instantiability of a Class | 1 | Protected |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | SFW_SWITCH_BROWSER | SFW - Switch Framework Browser |
| Created | 20060210 | SAP |
| Last change | 20140121 | 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_SFW_OBJECT | Switch Framework Object | 20110819 |
Friends
Class CL_SFW_SWITCHED_OBJECT 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) | ABAP_BOOL | '?' | 20130325 | |||
| 2 | Static Attribute | Public | Type reference (TYPE) | SFW_ENHO_SHORT_TYPE | 'EN_1' | Object Subtype BADI | 20100630 | ||
| 3 | Static Attribute | Public | Type reference (TYPE) | SFW_ENHO_SHORT_TYPE | 'EN_2' | Object Subtype CLASS | 20100630 | ||
| 4 | Static Attribute | Public | Type reference (TYPE) | SFW_ENHO_SHORT_TYPE | 'EN_4' | Object Subtype ESF_BO | 20100630 | ||
| 5 | Static Attribute | Public | Type reference (TYPE) | SFW_ENHO_SHORT_TYPE | 'EN_6' | Object Subtype FUGR | 20100630 | ||
| 6 | Static Attribute | Public | Type reference (TYPE) | SFW_ENHO_SHORT_TYPE | 'EN_7' | Object Subtype INTF | 20100630 | ||
| 7 | Static Attribute | Public | Type reference (TYPE) | SFW_ENHO_SHORT_TYPE | 'EN_5' | Object Subtype PROXY_BO | 20100630 | ||
| 8 | Static Attribute | Public | Type reference (TYPE) | SFW_ENHO_SHORT_TYPE | 'EN_3' | Object Subtype SOURCE | 20100630 | ||
| 9 | Static Attribute | Public | Type reference (TYPE) | SFW_ENHO_SHORT_TYPE | 'EN_8' | Object Subtype WEBDYNPRO | 20100630 | ||
| 10 | Instance attribute | Protected | Type reference (TYPE) | SFW_OBJECT_TAB | List of Objects (Object Structure from E071) | 20130919 | |||
| 11 | Instance attribute | Protected | Type reference (TYPE) | ENHTOOLTYPE | Enhancement Tool | 20100621 | |||
| 12 | Static Attribute | Protected | Type reference (TYPE) | TYPE_OBJECT_MAP | 20060306 | ||||
| 13 | Instance attribute | Protected | Type reference (TYPE) | TROBJ_NAME | Object Name in Object List | 20060306 | |||
| 14 | Instance attribute | Protected | Type reference (TYPE) | TROBJTYPE | Object Type | 20060306 | |||
| 15 | Instance attribute | Protected | Object reference (TYPE REF TO) | CL_SFW_SWITCHED_PACKAGE | Package | 20060310 | |||
| 16 | Instance attribute | Protected | Type reference (TYPE) | PGMID | Program ID in Requests and Tasks | 20060306 | |||
| 17 | Instance attribute | Protected | Object reference (TYPE REF TO) | CL_SFW_SWITCH | WB - SFW - Switch | 20060306 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Method | Generate | 20060306 | |
| 2 | Instance method | Public | Method | 20130919 | ||
| 3 | Instance method | Public | Method | Determines the type of object or subtype | 20100621 | |
| 4 | Instance method | Public | Method | Determines Name of Object | 20060306 | |
| 5 | Instance method | Public | Method | Determines Package of Object | 20060310 | |
| 6 | Instance method | Public | Method | Determines the Switch to Which the Object Is Assigned | 20060306 | |
| 7 | Instance method | Public | Method | Determines the Object Type | 20060306 | |
| 8 | Instance method | Protected | Method | Initialize | 20060306 | |
| 9 | Instance method | Public | Method | <=> All objects are consistent | 20110819 |
Events
Class CL_SFW_SWITCHED_OBJECT has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | TYPE_OBJECT_MAP | Protected | See coding | 20060306 | type_object_map type hashed table of type_object_map_entry
with unique key pgmid object_type object_name
|
||
| 2 | TYPE_OBJECT_MAP_ENTRY | Protected | See coding | 20060306 | begin of TYPE_OBJECT_MAP_ENTRY,
pgmid type pgmid,
object_type type trobjtype,
object_name type trobj_name,
object type ref to cl_sfw_switched_object,
end of type_object_map_entry
|
||
| 3 | TYPE_SWITCHED_OBJECT_TAB | Public | See coding | Table for CL_SFW_SWITCHED_OBJECT | 20060306 | TYPE_SWITCHED_OBJECT_TAB type standard table of ref to CL_SFW_SWITCHED_OBJECT
with non-unique key table_line
|
Method Signatures
Method CREATE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CHECK_IF_SWITCHABLE | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_TRUE | 20131018 | |||
| 2 | OBJECT_ENHTOOLTYPE | Call by reference | Type reference (TYPE) | ENHTOOLTYPE | Enhancement Tool | 20100621 | |||
| 3 | OBJECT_NAME | Call by reference | Type reference (TYPE) | TROBJ_NAME | Objektname in der Objektliste | 20060306 | |||
| 4 | OBJECT_TYPE | Call by reference | Type reference (TYPE) | TROBJTYPE | Objekttyp | 20060306 | |||
| 5 | PGMID | Call by reference | Type reference (TYPE) | PGMID | Programm-ID in Aufträgen und Aufgaben | 20060306 | |||
| 6 | SWITCH | Call by reference | Object reference (TYPE REF TO) | CL_SFW_SWITCH | WB - SFW - Switch | 20060306 | |||
| 7 | SWITCHED_OBJECT | Value transfer | Object reference (TYPE REF TO) | CL_SFW_SWITCHED_OBJECT | WB - SFW - Geschaltetes Objekt | 20060306 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | WB - SFW - Objekt existiert nicht | 20070227 | ||
| 2 | Objekt ist nicht geschaltet | 20100722 |
Method GET_ENHANCED_OBJECTS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ENHANCED_OBJECTS | Call by reference | Type reference (TYPE) | SFW_OBJECT_TAB | Liste von Objekten (Objekt-Struktur aus E071) | 20130919 |
Method GET_ENHANCED_OBJECTS on class CL_SFW_SWITCHED_OBJECT has no exception.
Method GET_ENHANCED_TYPE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | R_OBJECT_TYPE | Value transfer | Type reference (TYPE) | TROBJTYPE | Objekttyp | 20100621 |
Method GET_ENHANCED_TYPE on class CL_SFW_SWITCHED_OBJECT has no exception.
Method GET_NAME Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | OBJECT_NAME | Value transfer | Type reference (TYPE) | TROBJ_NAME | Objektname in der Objektliste | 20060306 |
Method GET_NAME on class CL_SFW_SWITCHED_OBJECT has no exception.
Method GET_PACKAGE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | PACKAGE | Value transfer | Object reference (TYPE REF TO) | CL_SFW_SWITCHED_PACKAGE | Paket | 20060310 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20070227 |
Method GET_SWITCH Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | SWITCH | Value transfer | Object reference (TYPE REF TO) | CL_SFW_SWITCH | WB - SFW - Switch | 20060306 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20070227 |
Method GET_TYPE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | OBJECT_TYPE | Value transfer | Type reference (TYPE) | TROBJTYPE | Objekttyp | 20060306 |
Method GET_TYPE on class CL_SFW_SWITCHED_OBJECT has no exception.
Method INIT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CHECK_IF_SWITCHABLE | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_TRUE | 20131018 | |||
| 2 | OBJECT_ENHTOOLTYPE | Call by reference | Type reference (TYPE) | ENHTOOLTYPE | Enhancement Tool | 20100621 | |||
| 3 | OBJECT_NAME | Call by reference | Type reference (TYPE) | TROBJ_NAME | Objektname in der Objektliste | 20060306 | |||
| 4 | OBJECT_TYPE | Call by reference | Type reference (TYPE) | TROBJTYPE | Objekttyp | 20060306 | |||
| 5 | PGMID | Call by reference | Type reference (TYPE) | PGMID | Programm-ID in Aufträgen und Aufgaben | 20060306 | |||
| 6 | SWITCH | Call by reference | Object reference (TYPE REF TO) | CL_SFW_SWITCH | WB - SFW - Switch | 20060306 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | WB - SFW - Objekt existiert nicht | 20070227 | ||
| 2 | Objekt ist nicht geschaltet | 20100722 |
Method IS_CONSISTENT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IS_CONSISTENT | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20110819 | ||||
| 2 | NOTIFY_CHANGES | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_TRUE | 20130325 |
Method IS_CONSISTENT on class CL_SFW_SWITCHED_OBJECT has no exception.
History
| Last changed by/on | SAP | 20140121 |
| SAP Release Created in | 740 |