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 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) | |
| 2 | Forward declaration class (CLASS c DEFINITION DEFERRED) | Forward declaration class (CLASS c DEFINITION DEFERRED) | |
| 3 | 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 | Constant | Public | Type reference (TYPE) | SFW_R3STATE | 'A' | Active | 20040526 | ||
| 2 | Constant | Private | Type reference (TYPE) | SFW_SWITCHPOS | CL_ABAP_SWITCH=>C_OFF | Default Switch Value | 20040707 | ||
| 3 | Constant | Public | Type reference (TYPE) | SFW_R3STATE | 'I' | Inactive | 20040526 | ||
| 4 | Constant | Public | Type reference (TYPE) | SFW_R3STATE | 'P' | Preactive after import; not yet activated | 20040526 | ||
| 5 | Static Attribute | Private | Type reference (TYPE) | I | 0 | Counter for Locks | 20040527 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Method | Activation of Switch Positions | 20040524 | |
| 2 | Static method | Public | Method | Activation of Conflict Switch Dependencies | 20041201 | |
| 3 | Static method | Public | Constructor | Class Constructor | 20040527 | |
| 4 | Static method | Public | Method | Deletion of Switch Positions | 20040524 | |
| 5 | Static method | Public | Method | Deletion of Conflict Switch Dependencies | 20041201 | |
| 6 | Static method | Public | Event handling method | Remove all Exclusive Locks for COMMIT | 20040730 | |
| 7 | Static method | Private | Method | Find Client-Independent Switch Positions | 20040706 | |
| 8 | Static method | Private | Method | Generate Pseudo-Include for Switch Invalidation | 20040526 | |
| 9 | Static method | Public | Method | Changing or Inserting Switch Positions | 20040606 | |
| 10 | Static method | Public | Method | Changing or Inserting Conflict Switch Dependencies | 20041201 | |
| 11 | Static method | Public | Method | Read Switch Positions | 20040524 | |
| 12 | Static method | Public | Method | Read Conflict Switch Dependencies | 20041201 | |
| 13 | Static method | Public | Method | Invalidate Switch Buffer | 20040524 | |
| 14 | 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 | P_CLIENT | Call by reference | Type reference (TYPE) | SFW_CLIENT | Mandant | 20040525 | |||
| 2 | P_INACTIVE_STATES | Call by reference | Type reference (TYPE) | SFW_SETTINGS | Tabellen mit inaktiven Schalterstellungen | 20040707 | |||
| 3 | P_SWITCH_ID | Call by reference | Type reference (TYPE) | SFW_SWITCH_ID | ID eines Schalters im Switchframework | 20040525 | |||
| 4 | P_SWITCH_STATES | Call by reference | Type reference (TYPE) | SFW_SETTINGS | Tabellen mit aktivierten Schalterstellungen | 20040526 | |||
| 5 | P_USERNAME | Call by reference | Type reference (TYPE) | SFW_USERNAME | User | 20040525 | |||
| 6 | P_VERSION | Call by reference | Type reference (TYPE) | SFW_R3STATE | Inaktive 'I' oder Pre-aktive 'P' Version | 20050126 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Setzen einer Schreibsperre fehlgeschlagen | 20040527 | ||
| 2 | Datenbankänderungen gescheitert | 20040527 | ||
| 3 | Ungültige Eingabe | 20040707 |
Method ACTIVATE_CONFL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | P_CONFL_SWITCH | Call by reference | Type reference (TYPE) | SFW_CSWITCHID | ID eines Konfliktschalters | 20041201 | |||
| 2 | P_CONFL_SWITCHES | Call by reference | Type reference (TYPE) | SFW_CONFL_SWITCHES | Tabellen mit aktivierten Konfliktschalterabhängigkeiten | 20041201 | |||
| 3 | P_INACTIVE_CONFLS | Call by reference | Type reference (TYPE) | SFW_CONFL_SWITCHES | Tabellen mit inaktiven Konfliktschalterabhängigkeiten | 20041201 | |||
| 4 | P_SWITCH_ID | Call by reference | Type reference (TYPE) | SFW_SWITCH_ID | ID eines Schalters im Switchframework | 20041201 | |||
| 5 | P_VERSION | Call by reference | Type reference (TYPE) | SFW_R3STATE | Inaktive 'I' oder Pre-aktive 'P' Version | 20050126 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Setzen einer Schreibsperre fehlgeschlagen | 20041201 | ||
| 2 | Datenbankänderungen gescheitert | 20041201 | ||
| 3 | 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 | P_NUM_DEL | Value transfer | Type reference (TYPE) | I | Anzahl der gelöschten Datenbankeinträge | 20050117 | |||
| 2 | P_SWITCH_STATES | Call by reference | Type reference (TYPE) | SFW_SETTINGS | Tabellen mit Schalterstellungen | 20040524 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Setzen einer Schreibsperre fehlgeschlagen | 20040527 | ||
| 2 | Datenbankänderungen gescheitert | 20040524 | ||
| 3 | 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 | P_CONFL_SWITCHES | Call by reference | Type reference (TYPE) | SFW_CONFL_SWITCHES | Tabelle mit Konfliktschalterabhängigkeiten | 20041201 | |||
| 2 | P_NUM_DEL | Value transfer | Type reference (TYPE) | I | Anzahl der gelöschten Datenbankeinträge | 20050117 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Setzen einer Schreibsperre fehlgeschlagen | 20041201 | ||
| 2 | Datenbankänderungen gescheitert | 20041201 | ||
| 3 | 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 | P_ALL_GENERIC_STATES | Call by reference | Type reference (TYPE) | T_GENERIC_SWITCHSTATES | Alle mandantenunabhängige Schalterstellungen | 20040706 | |||
| 2 | P_NEW_GENERIC_STATES | Call by reference | Type reference (TYPE) | T_GENERIC_SWITCHSTATES | Neue mandantenunabhängige Schalterstellungen | 20040706 | |||
| 3 | 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 | P_SWITCH_ID | Call by reference | Type reference (TYPE) | SFW_SWITCH_ID | ID eines Schalters im Switchframework | 20040526 | |||
| 2 | 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 | P_SWITCH_STATES | Call by reference | Type reference (TYPE) | SFW_SETTINGS | Tabellen mit Schalterstellungen | 20040606 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Setzen einer Schreibsperre fehlgeschlagen | 20040606 | ||
| 2 | Datenbankänderungen gescheitert | 20040606 | ||
| 3 | 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 | P_CONFL_SWITCHES | Call by reference | Type reference (TYPE) | SFW_CONFL_SWITCHES | Tabellen mit Konfliktschalterabhängigkeiten | 20041201 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Setzen einer Schreibsperre fehlgeschlagen | 20041201 | ||
| 2 | Datenbankänderungen gescheitert | 20041201 | ||
| 3 | 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 | P_CLIENT | Call by reference | Type reference (TYPE) | SFW_CLIENT | Mandant | 20040524 | |||
| 2 | P_SWITCH_ID | Call by reference | Type reference (TYPE) | SFW_SWITCH_ID | ID eines Schalters im Switchframework | 20040524 | |||
| 3 | P_SWITCH_STATES | Call by reference | Type reference (TYPE) | SFW_SETTINGS | Tabellen mit Schalterstellungen | 20040526 | |||
| 4 | P_SYSTEM_SWITCH_STATES | Call by reference | Type reference (TYPE) | SFW_SETTINGS | Tabelle mit Schalterstellungen auf Systemebene | 20070815 | |||
| 5 | P_USERNAME | Call by reference | Type reference (TYPE) | SFW_USERNAME | User | 20040524 | |||
| 6 | P_VERSION | Call by reference | Type reference (TYPE) | SFW_R3STATE | Aktiv / Inaktiv | 20040525 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Setzen einer Lesesperre fehlgeschlagen | 20040527 |
Method READ_CONFL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | P_CONFL_SWITCH | Call by reference | Type reference (TYPE) | SFW_CSWITCHID | ID eines Konfliktschalters | 20041201 | |||
| 2 | P_CONFL_SWITCHES | Call by reference | Type reference (TYPE) | SFW_CONFL_SWITCHES | Tabellen mit Konfliktschalterabhängigkeiten | 20041201 | |||
| 3 | P_SWITCH_ID | Call by reference | Type reference (TYPE) | SFW_SWITCH_ID | ID eines Schalters im Switchframework | 20041201 | |||
| 4 | P_VERSION | Call by reference | Type reference (TYPE) | SFW_R3STATE | Aktiv / Inaktiv | 20041201 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 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 | 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 |