SAP ABAP Class CL_SFW_SWITCH (WB - SFW - Switch)
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_SWITCH  
Short Description WB - SFW - Switch    
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 20060208   SAP 
Last change 20130531   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 ABAP Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
2 CL_SFW_BUSINESS_FUNCTION Forward declaration class (CLASS c DEFINITION DEFERRED)  Forward declaration class (CLASS c DEFINITION DEFERRED)
3 CL_SFW_SWITCHED_PACKAGE Forward declaration class (CLASS c DEFINITION DEFERRED)  Forward declaration class (CLASS c DEFINITION DEFERRED)
Interfaces
# Interface Abstract Final Description Created on
1 IF_SFW_OBJECT Switch Framework Object 20110819
Friends
Class CL_SFW_SWITCH has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 BUSINESS_FUNCTIONS Instance attribute Protected Type reference (TYPE) CL_SFW_BUSINESS_FUNCTION=>TYPE_BUSINESS_FUNCTION_TAB 20060310
2 CONFLICT_RESOLUTION_SWITCHES Instance attribute Protected Type reference (TYPE) TYPE_SWITCH_TAB Table of CL_SFW_SWITCH 20060306
3 CONFLICT_SWITCHES Instance attribute Protected Type reference (TYPE) TYPE_SWITCH_TAB Table of CL_SFW_SWITCH 20060310
4 CONSISTENT Instance attribute Private Type reference (TYPE) ABAP_BOOL '?' 20110819
5 DESCRIPTION Instance attribute Protected Type reference (TYPE) STRING Description 20060306
6 IS_A_CONFLICT_SWITCH Instance attribute Protected Type reference (TYPE) SFW_XCOMBI Combined Switch for Enhancement Implementations 20120425
7 OBJS_W_SWITCHED_VIEW_FIELDS Instance attribute Protected Type reference (TYPE) SFW_OBJECT_TAB List of Objects (Object Structure from E071) 20130919
8 SWITCHED_IMG_NODES Instance attribute Protected Type reference (TYPE) TYPE_SWITCHED_IMG_NODE_TAB Table of Switched IMG Nodes 20060306
9 SWITCHED_PACKAGES Instance attribute Protected Type reference (TYPE) CL_SFW_SWITCHED_PACKAGE=>TYPE_SWITCHED_PACKAGE_TAB Switched Packages 20060306
10 SWITCHED_SCP1 Instance attribute Protected Type reference (TYPE) SCPR_BCSETS BC Sets: BC Set Names to Pass From/To External Interface 20130403
11 SWITCHED_VIEW_CLUSTERS Instance attribute Protected Type reference (TYPE) TYPE_SWITCHED_VIEW_CLUSTER_TAB Table of Switched View Clusters 20060306
12 SWITCHED_VIEW_FIELDS Instance attribute Protected Type reference (TYPE) TYPE_SWITCHED_VIEW_FIELD_TAB Table of Switched View Fields 20060306
13 SWITCH_MAP Static Attribute Protected Type reference (TYPE) TYPE_SWITCH_MAP 20060306
14 SWITCH_NAME Instance attribute Protected Type reference (TYPE) SFW_SWITCH_ID ID of a Switch in Switch Framework 20060306
15 SWITCH_STATE Instance attribute Protected Type reference (TYPE) SFW_SWITCHPOS Switch Position 20060306
16 XPRA_PROGRAMS Instance attribute Protected Type reference (TYPE) CL_SFW_XPRA_PROGRAM=>TYPE_XPRA_PROGRAM_TAB 20090115
17 XPRA_PROGRAM_TAB Static Attribute Private Type reference (TYPE) SFW_SWITCHPOSITIONTAB Switch Setting for Objects 20090115
Methods
# Method Level Visibility Method type Description Created on
1 ARE_IMG_NODES_SWITCHED Instance method Public Method Are IMG nodes switched? 20060310
2 ARE_PACKAGES_SWITCHED Instance method Public Method Are packages switched? 20060310
3 ARE_SCP1_SWITCHED Instance method Public Method Enterprise Extensions: Are classic BC sets available? 20130403
4 ARE_VIEW_CLUSTERS_SWITCHED Instance method Public Method Are view clusters switched? 20060310
5 ARE_VIEW_FIELDS_SWITCHED Instance method Public Method Are view fields switched? 20060310
6 CHECK_STATE Instance method Public Method Check Switch State 20110819
7 CREATE Static method Public Method Generate 20060306
8 GET_BUSINESS_FUNCTIONS Instance method Public Method Determines the Superordinate Business Functions 20060310
9 GET_CONFLICT_RESOL_SWITCHES Instance method Public Method Determine Conflict-Resolving Switches 20060310
10 GET_CONFLICT_SWITCHES Instance method Public Method Determines Conflict-Causing Switches 20060306
11 GET_DESCRIPTION Instance method Public Method Determines Description of Switch 20060306
12 GET_NAME Instance method Public Method Determines Name of Switch 20060306
13 GET_STATE Instance method Public Method Determines Switch Setting 20060306
14 GET_STATE_TEXT Static method Public Method Switch Setting in Textual Form 20110819
15 GET_SWITCHED_IMG_NODES Instance method Public Method Determines Switched IMG Nodes 20060306
16 GET_SWITCHED_OBJS_FROM_BADI Instance method Public Method Nested CUADs and Dynpros 20130919
17 GET_SWITCHED_PACKAGES Instance method Public Method Determines Switched Packages 20060306
18 GET_SWITCHED_SCP1 Instance method Public Method Determines Switched IMG Nodes 20130403
19 GET_SWITCHED_UI_ELEMENTS Instance method Public Method Nested CUADs and Dynpros 20130919
20 GET_SWITCHED_VIEW_CLUSTERS Instance method Public Method Determines Switched View Clusters 20060306
21 GET_SWITCHED_VIEW_FIELDS Instance method Public Method Determine Switched View Fields 20060306
22 GET_XPRA_PROGRAMS Instance method Public Method Determines XPRA prograns 20090115
23 HAS_CONFLICT_RESOL_SWITCHES Instance method Public Method 20120709
24 HAS_XPRA_PROGRAMS Instance method Public Method Do XPRA programs exist? 20090115
25 INIT Instance method Protected Method Initialize 20060306
26 IS_CHECKED Instance method Public Method 20110819
27 IS_CONSISTENT Instance method Public Method <=> All objects are consistent 20110819
28 RESET_CHECK_RESULT Instance method Public Method 20110819
Events
Class CL_SFW_SWITCH has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 TYPE_SWITCHED_IMG_NODE_TAB Public See coding Table of Switched IMG Nodes 20060306 type_switched_img_node_tab type standard table of hier_sfw_data with non-unique key table_line
2 TYPE_SWITCHED_VIEW_CLUSTER_TAB Public See coding Table of Switched View Clusters 20060306 type_switched_view_cluster_tab type standard table of sfw_vcl_outtab_line with non-unique key table_line
3 TYPE_SWITCHED_VIEW_FIELD_TAB Public See coding Table of Switched View Fields 20060306 type_switched_view_field_tab type standard table of sfw_viewfield with non-unique key table_line
4 TYPE_SWITCH_MAP Protected See coding 20060306 type_switch_map type sorted table of type_switch_map_entry with non-unique key switch
5 TYPE_SWITCH_MAP_ENTRY Protected See coding 20060306 begin of type_switch_map_entry, switch type sfw_switch_id, object type ref to cl_sfw_switch, end of type_switch_map_entry
6 TYPE_SWITCH_TAB Public See coding Table of CL_SFW_SWITCH 20060306 type_switch_tab type standard table of ref to cl_sfw_switch with non-unique key table_line
Method Signatures

Method ARE_IMG_NODES_SWITCHED Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning IMG_NODES_ARE_SWITCHED Value transfer Type reference (TYPE) FLAG allgemeines flag 20060310

Method ARE_IMG_NODES_SWITCHED on class CL_SFW_SWITCH has no exception.

Method ARE_PACKAGES_SWITCHED Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning PACKAGES_ARE_SWITCHED Value transfer Type reference (TYPE) FLAG allgemeines flag 20060310

Method ARE_PACKAGES_SWITCHED on class CL_SFW_SWITCH has no exception.

Method ARE_SCP1_SWITCHED Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning SCP1_ARE_SWITCHED Value transfer Type reference (TYPE) FLAG allgemeines flag 20130403

Method ARE_SCP1_SWITCHED on class CL_SFW_SWITCH has no exception.

Method ARE_VIEW_CLUSTERS_SWITCHED Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning VIEW_CLUSTERS_ARE_SWITCHED Value transfer Type reference (TYPE) FLAG allgemeines flag 20060310

Method ARE_VIEW_CLUSTERS_SWITCHED on class CL_SFW_SWITCH has no exception.

Method ARE_VIEW_FIELDS_SWITCHED Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning VIEW_FIELDS_ARE_SWITCHED Value transfer Type reference (TYPE) FLAG allgemeines flag 20060310

Method ARE_VIEW_FIELDS_SWITCHED on class CL_SFW_SWITCH has no exception.

Method CHECK_STATE Signature

Method CHECK_STATE on class CL_SFW_SWITCH has no parameter.
# Exception Resumable Description Created on
1 CX_SFW_CONSISTENCY Konsistenzcheck 20110819

Method CREATE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning SWITCH Value transfer Object reference (TYPE REF TO) CL_SFW_SWITCH WB - SFW - Switch 20060306
2 Importing SWITCH_NAME Call by reference Type reference (TYPE) SFW_SWITCH_ID ID eines Schalters im Switch Framework 20060306
# Exception Resumable Description Created on
1 CX_SFW_EXISTENCE 20070227

Method GET_BUSINESS_FUNCTIONS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning BUSINESS_FUNCTIONS Value transfer Type reference (TYPE) CL_SFW_BUSINESS_FUNCTION=>TYPE_BUSINESS_FUNCTION_TAB 20060310

Method GET_BUSINESS_FUNCTIONS on class CL_SFW_SWITCH has no exception.

Method GET_CONFLICT_RESOL_SWITCHES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning CONFLICT_RESOLUTION_SWITCHES Value transfer Type reference (TYPE) TYPE_SWITCH_TAB Tabelle über CL_SFW_SWITCH 20060310

Method GET_CONFLICT_RESOL_SWITCHES on class CL_SFW_SWITCH has no exception.

Method GET_CONFLICT_SWITCHES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning CONFLICT_SWITCHES Value transfer Type reference (TYPE) TYPE_SWITCH_TAB Tabelle über CL_SFW_SWITCH 20060310

Method GET_CONFLICT_SWITCHES on class CL_SFW_SWITCH has no exception.

Method GET_DESCRIPTION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning DESCRIPTION Value transfer Type reference (TYPE) STRING Beschreibung 20060306

Method GET_DESCRIPTION on class CL_SFW_SWITCH has no exception.

Method GET_NAME Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning SWITCH_NAME Value transfer Type reference (TYPE) SFW_SWITCH_ID ID eines Schalters im Switch Framework 20060306

Method GET_NAME on class CL_SFW_SWITCH has no exception.

Method GET_STATE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning SWITCH_STATE Value transfer Type reference (TYPE) SFW_SWITCHPOS Schalterstellung 20060306

Method GET_STATE on class CL_SFW_SWITCH has no exception.

Method GET_STATE_TEXT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning STATE_TEXT Value transfer Type reference (TYPE) STRING 20110819
2 Importing SWITCH_STATE Call by reference Type reference (TYPE) SFW_SWITCHPOS Schalterstellung 20110819

Method GET_STATE_TEXT on class CL_SFW_SWITCH has no exception.

Method GET_SWITCHED_IMG_NODES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning SWITCHED_IMG_NODES Value transfer Type reference (TYPE) TYPE_SWITCHED_IMG_NODE_TAB Tabelle über geschaltete IMG-Knoten 20060306

Method GET_SWITCHED_IMG_NODES on class CL_SFW_SWITCH has no exception.

Method GET_SWITCHED_OBJS_FROM_BADI Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting SWITCHED_ELEMENTS Call by reference Type reference (TYPE) SFW_OBJECT_TAB Liste von Objekten (Objekt-Struktur aus E071) 20130919
# Exception Resumable Description Created on
1 CX_SFW_EXISTENCE WB - SFW - Object does not exist 20130919

Method GET_SWITCHED_PACKAGES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning SWITCHED_PACKAGES Value transfer Type reference (TYPE) CL_SFW_SWITCHED_PACKAGE=>TYPE_SWITCHED_PACKAGE_TAB 20060306

Method GET_SWITCHED_PACKAGES on class CL_SFW_SWITCH has no exception.

Method GET_SWITCHED_SCP1 Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning SWITCHED_SCP1 Value transfer Type reference (TYPE) SCPR_BCSETS BC-Sets: BC-Set Namen zur Übergabe von/an externen Schnittst 20130403

Method GET_SWITCHED_SCP1 on class CL_SFW_SWITCH has no exception.

Method GET_SWITCHED_UI_ELEMENTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting SWITCHED_UI_ELEMENTS Call by reference Type reference (TYPE) SFW_OBJECT_TAB Liste von Objekten (Objekt-Struktur aus E071) 20130919
# Exception Resumable Description Created on
1 CX_SFW_EXISTENCE WB - SFW - Object does not exist 20130919

Method GET_SWITCHED_VIEW_CLUSTERS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning SWITCHED_VIEW_CLUSTERS Value transfer Type reference (TYPE) TYPE_SWITCHED_VIEW_CLUSTER_TAB Tabelle über geschaltete Viewcluster 20060306

Method GET_SWITCHED_VIEW_CLUSTERS on class CL_SFW_SWITCH has no exception.

Method GET_SWITCHED_VIEW_FIELDS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting OBJS_W_SWITCHED_VIEW_FIELDS Call by reference Type reference (TYPE) SFW_OBJECT_TAB Liste von Objekten (Objekt-Struktur aus E071) 20130919
2 Exporting SWITCHED_VIEW_FIELDS Call by reference Type reference (TYPE) TYPE_SWITCHED_VIEW_FIELD_TAB Tabelle über geschaltete Viewfelder 20060306

Method GET_SWITCHED_VIEW_FIELDS on class CL_SFW_SWITCH has no exception.

Method GET_XPRA_PROGRAMS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning XPRA_PROGRAMS Value transfer Type reference (TYPE) CL_SFW_XPRA_PROGRAM=>TYPE_XPRA_PROGRAM_TAB 20090115

Method GET_XPRA_PROGRAMS on class CL_SFW_SWITCH has no exception.

Method HAS_CONFLICT_RESOL_SWITCHES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning R_HAS_CONFLICT_SWITCHED Value transfer Type reference (TYPE) ABAP_BOOL 20120709

Method HAS_CONFLICT_RESOL_SWITCHES on class CL_SFW_SWITCH has no exception.

Method HAS_XPRA_PROGRAMS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning XPRA_PROGRAMS Value transfer Type reference (TYPE) FLAG allgemeines flag 20090115

Method HAS_XPRA_PROGRAMS on class CL_SFW_SWITCH has no exception.

Method INIT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing SWITCH_NAME Call by reference Type reference (TYPE) SFW_SWITCH_ID ID eines Schalters im Switch Framework 20060306
# Exception Resumable Description Created on
1 CX_SFW_EXISTENCE 20070227

Method IS_CHECKED Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning CHECKED Value transfer Type reference (TYPE) ABAP_BOOL 20110819

Method IS_CHECKED on class CL_SFW_SWITCH has no exception.

Method IS_CONSISTENT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning IS_CONSISTENT Value transfer Type reference (TYPE) ABAP_BOOL 20110819

Method IS_CONSISTENT on class CL_SFW_SWITCH has no exception.

Method RESET_CHECK_RESULT Signature

Method RESET_CHECK_RESULT on class CL_SFW_SWITCH has no parameter.
Method RESET_CHECK_RESULT on class CL_SFW_SWITCH has no exception.
History
Last changed by/on SAP  20130531 
SAP Release Created in 740