SAP ABAP Class CL_ABAP_SWITCH_STATE_ADMIN (Administration of Switch Positions)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-ABA-LA (Application Component) Syntax, Compiler, Runtime
     SABP_ENHANCEMENT (Package) Enhancement of Programs
Properties
Class CL_ABAP_SWITCH_STATE_ADMIN  
Short Description Administration of Switch Positions    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package SABP_ENHANCEMENT   Enhancement of Programs 
Created 20040524   SAP 
Last change 20090618   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_ABAP_SWITCH Forward declaration class (CLASS c DEFINITION DEFERRED)  Forward declaration class (CLASS c DEFINITION DEFERRED)
3 T Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
Class CL_ABAP_SWITCH_STATE_ADMIN has no interface implemented.
Friends
Class CL_ABAP_SWITCH_STATE_ADMIN has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 C_ACTIVE Constant Public Type reference (TYPE) SFW_R3STATE 'A' Active 20040526
2 C_DEFAULT_STATE Constant Private Type reference (TYPE) SFW_SWITCHPOS CL_ABAP_SWITCH=>C_OFF Default Switch Value 20040707
3 C_INACTIVE Constant Public Type reference (TYPE) SFW_R3STATE 'I' Inactive 20040526
4 C_PENDING Constant Public Type reference (TYPE) SFW_R3STATE 'P' Preactive after import; not yet activated 20040526
5 NUMENQ Static Attribute Private Type reference (TYPE) I 0 Counter for Locks 20040527
Methods
# Method Level Visibility Method type Description Created on
1 ACTIVATE Static method Public Method Activation of Switch Positions 20040524
2 ACTIVATE_CONFL Static method Public Method Activation of Conflict Switch Dependencies 20041201
3 CLASS_CONSTRUCTOR Static method Public Constructor Class Constructor 20040527
4 DELETE Static method Public Method Deletion of Switch Positions 20040524
5 DELETE_CONFL Static method Public Method Deletion of Conflict Switch Dependencies 20041201
6 DEQUEUE_BUFFER_LOCKS Static method Public Event handling method Remove all Exclusive Locks for COMMIT 20040730
7 GET_GENERIC_STATES Static method Private Method Find Client-Independent Switch Positions 20040706
8 GET_SWITCH_INCLUDE Static method Private Method Generate Pseudo-Include for Switch Invalidation 20040526
9 MODIFY Static method Public Method Changing or Inserting Switch Positions 20040606
10 MODIFY_CONFL Static method Public Method Changing or Inserting Conflict Switch Dependencies 20041201
11 READ Static method Public Method Read Switch Positions 20040524
12 READ_CONFL Static method Public Method Read Conflict Switch Dependencies 20041201
13 TOUCH_BUFFER Static method Public Method Invalidate Switch Buffer 20040524
14 TOUCH_MASTERS Static method Private Method Invalidate Switch-Dependent ABAP Programs 20040524
Events
Class CL_ABAP_SWITCH_STATE_ADMIN has no event.
Types
Class CL_ABAP_SWITCH_STATE_ADMIN has no local type.
Method Signatures

Method ACTIVATE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing P_CLIENT Call by reference Type reference (TYPE) SFW_CLIENT Mandant 20040525
2 Importing P_INACTIVE_STATES Call by reference Type reference (TYPE) SFW_SETTINGS Tabellen mit inaktiven Schalterstellungen 20040707
3 Importing P_SWITCH_ID Call by reference Type reference (TYPE) SFW_SWITCH_ID ID eines Schalters im Switchframework 20040525
4 Exporting P_SWITCH_STATES Call by reference Type reference (TYPE) SFW_SETTINGS Tabellen mit aktivierten Schalterstellungen 20040526
5 Importing P_USERNAME Call by reference Type reference (TYPE) SFW_USERNAME User 20040525
6 Importing P_VERSION Call by reference Type reference (TYPE) SFW_R3STATE Inaktive 'I' oder Pre-aktive 'P' Version 20050126
# Exception Resumable Description Created on
1 ENQUEUE_FAILED Setzen einer Schreibsperre fehlgeschlagen 20040527
2 FAILURE Datenbankänderungen gescheitert 20040527
3 INPUT_INVALID Ungültige Eingabe 20040707

Method ACTIVATE_CONFL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing P_CONFL_SWITCH Call by reference Type reference (TYPE) SFW_CSWITCHID ID eines Konfliktschalters 20041201
2 Exporting P_CONFL_SWITCHES Call by reference Type reference (TYPE) SFW_CONFL_SWITCHES Tabellen mit aktivierten Konfliktschalterabhängigkeiten 20041201
3 Importing P_INACTIVE_CONFLS Call by reference Type reference (TYPE) SFW_CONFL_SWITCHES Tabellen mit inaktiven Konfliktschalterabhängigkeiten 20041201
4 Importing P_SWITCH_ID Call by reference Type reference (TYPE) SFW_SWITCH_ID ID eines Schalters im Switchframework 20041201
5 Importing P_VERSION Call by reference Type reference (TYPE) SFW_R3STATE Inaktive 'I' oder Pre-aktive 'P' Version 20050126
# Exception Resumable Description Created on
1 ENQUEUE_FAILED Setzen einer Schreibsperre fehlgeschlagen 20041201
2 FAILURE Datenbankänderungen gescheitert 20041201
3 INPUT_INVALID Ungültige Eingabe 20041201

Method CLASS_CONSTRUCTOR Signature

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

Method DELETE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning P_NUM_DEL Value transfer Type reference (TYPE) I Anzahl der gelöschten Datenbankeinträge 20050117
2 Importing P_SWITCH_STATES Call by reference Type reference (TYPE) SFW_SETTINGS Tabellen mit Schalterstellungen 20040524
# Exception Resumable Description Created on
1 ENQUEUE_FAILED Setzen einer Schreibsperre fehlgeschlagen 20040527
2 FAILURE Datenbankänderungen gescheitert 20040524
3 INPUT_INVALID Eingabetabelle enthält ungültige Einträge 20040706

Method DELETE_CONFL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing P_CONFL_SWITCHES Call by reference Type reference (TYPE) SFW_CONFL_SWITCHES Tabelle mit Konfliktschalterabhängigkeiten 20041201
2 Returning P_NUM_DEL Value transfer Type reference (TYPE) I Anzahl der gelöschten Datenbankeinträge 20050117
# Exception Resumable Description Created on
1 ENQUEUE_FAILED Setzen einer Schreibsperre fehlgeschlagen 20041201
2 FAILURE Datenbankänderungen gescheitert 20041201
3 INPUT_INVALID Eingabetabelle enthält ungültige Einträge 20041201

Method DEQUEUE_BUFFER_LOCKS Signature

Method DEQUEUE_BUFFER_LOCKS on class CL_ABAP_SWITCH_STATE_ADMIN has no parameter.
Method DEQUEUE_BUFFER_LOCKS on class CL_ABAP_SWITCH_STATE_ADMIN has no exception.

Method GET_GENERIC_STATES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing P_ALL_GENERIC_STATES Call by reference Type reference (TYPE) T_GENERIC_SWITCHSTATES Alle mandantenunabhängige Schalterstellungen 20040706
2 Changing P_NEW_GENERIC_STATES Call by reference Type reference (TYPE) T_GENERIC_SWITCHSTATES Neue mandantenunabhängige Schalterstellungen 20040706
3 Importing P_SWITCH_STATES Call by reference Type reference (TYPE) T_SWITCHSTATES Schalterstellungen 20040706

Method GET_GENERIC_STATES on class CL_ABAP_SWITCH_STATE_ADMIN has no exception.

Method GET_SWITCH_INCLUDE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing P_SWITCH_ID Call by reference Type reference (TYPE) SFW_SWITCH_ID ID eines Schalters im Switchframework 20040526
2 Returning P_SWITCH_INCLUDE Value transfer Type reference (TYPE) PROGRAM Programm/Transaktion in SQL-Trace-Auswertung. 20040526

Method GET_SWITCH_INCLUDE on class CL_ABAP_SWITCH_STATE_ADMIN has no exception.

Method MODIFY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing P_SWITCH_STATES Call by reference Type reference (TYPE) SFW_SETTINGS Tabellen mit Schalterstellungen 20040606
# Exception Resumable Description Created on
1 ENQUEUE_FAILED Setzen einer Schreibsperre fehlgeschlagen 20040606
2 FAILURE Datenbankänderungen gescheitert 20040606
3 INPUT_INVALID Eingabetabelle enthält ungültige Einträge 20040706

Method MODIFY_CONFL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing P_CONFL_SWITCHES Call by reference Type reference (TYPE) SFW_CONFL_SWITCHES Tabellen mit Konfliktschalterabhängigkeiten 20041201
# Exception Resumable Description Created on
1 ENQUEUE_FAILED Setzen einer Schreibsperre fehlgeschlagen 20041201
2 FAILURE Datenbankänderungen gescheitert 20041201
3 INPUT_INVALID Eingabetabelle enthält ungültige Einträge 20041201

Method READ Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing P_CLIENT Call by reference Type reference (TYPE) SFW_CLIENT Mandant 20040524
2 Importing P_SWITCH_ID Call by reference Type reference (TYPE) SFW_SWITCH_ID ID eines Schalters im Switchframework 20040524
3 Exporting P_SWITCH_STATES Call by reference Type reference (TYPE) SFW_SETTINGS Tabellen mit Schalterstellungen 20040526
4 Exporting P_SYSTEM_SWITCH_STATES Call by reference Type reference (TYPE) SFW_SETTINGS Tabelle mit Schalterstellungen auf Systemebene 20070815
5 Importing P_USERNAME Call by reference Type reference (TYPE) SFW_USERNAME User 20040524
6 Importing P_VERSION Call by reference Type reference (TYPE) SFW_R3STATE Aktiv / Inaktiv 20040525
# Exception Resumable Description Created on
1 ENQUEUE_FAILED Setzen einer Lesesperre fehlgeschlagen 20040527

Method READ_CONFL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing P_CONFL_SWITCH Call by reference Type reference (TYPE) SFW_CSWITCHID ID eines Konfliktschalters 20041201
2 Exporting P_CONFL_SWITCHES Call by reference Type reference (TYPE) SFW_CONFL_SWITCHES Tabellen mit Konfliktschalterabhängigkeiten 20041201
3 Importing P_SWITCH_ID Call by reference Type reference (TYPE) SFW_SWITCH_ID ID eines Schalters im Switchframework 20041201
4 Importing P_VERSION Call by reference Type reference (TYPE) SFW_R3STATE Aktiv / Inaktiv 20041201
# Exception Resumable Description Created on
1 ENQUEUE_FAILED Setzen einer Lesesperre fehlgeschlagen 20041201

Method TOUCH_BUFFER Signature

Method TOUCH_BUFFER on class CL_ABAP_SWITCH_STATE_ADMIN has no parameter.
Method TOUCH_BUFFER on class CL_ABAP_SWITCH_STATE_ADMIN has no exception.

Method TOUCH_MASTERS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing P_SWITCH_INCLUDES Call by reference Type reference (TYPE) SFW_SWITCH_INCLS ID eines Schalters im Switchframework 20040526

Method TOUCH_MASTERS on class CL_ABAP_SWITCH_STATE_ADMIN has no exception.
History
Last changed by/on SAP  20090618 
SAP Release Created in 700