SAP ABAP Class CL_SHUTDOWN (Server Shutdown)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-CST (Application Component) Client/Server Technology
⤷
STSK (Package) Task Handler, Number Range, Update, Gateway and so on
⤷
⤷
Properties
| Class | CL_SHUTDOWN | |
| Short Description | Server Shutdown | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | S | System Program |
| Category | 0 | |
| Package | STSK | Task Handler, Number Range, Update, Gateway and so on |
| Created | 20070907 | 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
Class CL_SHUTDOWN has no interface implemented.
Friends
Class CL_SHUTDOWN has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Public | Type reference (TYPE) | I | 0 | Shutdown Action | 20070928 | ||
| 2 | Constant | Public | Type reference (TYPE) | I | 2 | Shutdown Action | 20070928 | ||
| 3 | Constant | Public | Type reference (TYPE) | I | 4 | Shutdown Action | 20070928 | ||
| 4 | Constant | Public | Type reference (TYPE) | I | 1 | Shutdown Action | 20070928 | ||
| 5 | Constant | Private | Type reference (TYPE) | I | 8 | Shutdown Action | 20071112 | ||
| 6 | Constant | Public | Type reference (TYPE) | I | 3 | Shutdown Action | 20070928 | ||
| 7 | Constant | Public | Type reference (TYPE) | I | 11 | Shutdown Action | 20121107 | ||
| 8 | Constant | Public | Type reference (TYPE) | I | 5 | Shutdown Action | 20070928 | ||
| 9 | Constant | Public | Type reference (TYPE) | I | 6 | Shutdown Action | 20071025 | ||
| 10 | Constant | Private | Type reference (TYPE) | I | 7 | Shutdown Action | 20071112 | ||
| 11 | Constant | Public | Type reference (TYPE) | I | 9 | Shutdown Action | 20080121 | ||
| 12 | Constant | Private | Type reference (TYPE) | I | 10 | Shutdown Action | 20080118 | ||
| 13 | Constant | Public | Type reference (TYPE) | I | 1 | BGRFC Scheduler Session | 20071112 | ||
| 14 | Constant | Public | Type reference (TYPE) | I | 4 | BGRFC Scheduler Session | 20121107 | ||
| 15 | Constant | Public | Type reference (TYPE) | I | 1 | BGRFC UNIT Session | 20121107 | ||
| 16 | Constant | Public | Type reference (TYPE) | I | 2 | QRFC Scheduler Session | 20071112 | ||
| 17 | Constant | Public | Type reference (TYPE) | I | 3 | Runlevel Framework Session | 20121107 | ||
| 18 | Constant | Public | Type reference (TYPE) | I | 1 | Shutdown Active | 20070910 | ||
| 19 | Constant | Public | Type reference (TYPE) | I | 0 | Shutdown not Active | 20070910 | ||
| 20 | Constant | Public | Type reference (TYPE) | I | 0 | Normal Shutdown | 20121107 | ||
| 21 | Constant | Public | Type reference (TYPE) | I | 1 | Shutdown Suring Online Kernel Patch | 20121107 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Method | Checks whether the specified action is to be stopped | 20070928 | |
| 2 | Static method | Public | Method | Deletes system message | 20130201 | |
| 3 | Static method | Private | Method | Creates the name of the message ID file | 20130201 | |
| 4 | Static method | Public | Method | Read Shutdown State and Info | 20070925 | |
| 5 | Static method | Public | Method | Wait for Session to Close | 20071112 | |
| 6 | Static method | Public | Method | Do Not Handle Session Separately During Shutdown | 20071112 | |
| 7 | Static method | Public | Method | Remaining time for long runners (e.g. batch, update) | 20130529 | |
| 8 | Static method | Public | Method | Creates system message | 20130201 | |
| 9 | Static method | Protected | Method | Checks whether the specified action is to be stopped | 20071011 | |
| 10 | Static method | Protected | Method | Read Shutdown Info from the Kernel | 20070925 | |
| 11 | Static method | Protected | Method | Read Shutdown State from Kernel (number) | 20070919 | |
| 12 | Static method | Protected | Method | Wait for Session to Close | 20071112 | |
| 13 | Static method | Protected | Method | Do Not Handle Session Separately During Shutdown | 20071112 | |
| 14 | Static method | Private | Method | Remaining time for long runners (e.g. batch, update) | 20130529 |
Events
Class CL_SHUTDOWN has no event.
Types
Class CL_SHUTDOWN has no local type.
Method Signatures
Method ACTION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ACTION | Call by reference | Type reference (TYPE) | SHUTDOWN_ACTION | Aktion, die während des Shutdowns beendet werden soll | 20070928 | |||
| 2 | RESULT | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20070928 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Ausnahme im Shutdown | 20070928 |
Method CHECK_SYSTEM_MESSAGE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | FORCE_CHECK | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | 20130201 |
Method CHECK_SYSTEM_MESSAGE on class CL_SHUTDOWN has no exception.
Method CREATE_MSG_ID_FILE_NAME Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | FILE_NAME | Value transfer | Type reference (TYPE) | STRING | Absoluter Name der Message ID Datei | 20130201 |
Method CREATE_MSG_ID_FILE_NAME on class CL_SHUTDOWN has no exception.
Method GET_INFO Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ACTIVE | Call by reference | Type reference (TYPE) | ABAP_BOOL | Shutdown gestartet | 20070926 | |||
| 2 | ERROR | Call by reference | Type reference (TYPE) | STRING | Shutdown Errors | 20080117 | |||
| 3 | INFO | Call by reference | Type reference (TYPE) | STRING | Shutdown Zusatzinfo | 20070925 | |||
| 4 | REASON | Call by reference | Type reference (TYPE) | I | Shutdown Reason | 20121123 | |||
| 5 | SERVER | Call by reference | Type reference (TYPE) | MSNAME2 | Name des Applikationsservers | 20070925 | |||
| 6 | STATE | Call by reference | Type reference (TYPE) | STRING | Shutdown Zustand (String) | 20070925 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Ausnahme im Shutdown | 20070925 |
Method KEEP_SESSION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | REASON | Call by reference | Type reference (TYPE) | I | Grund | 20071112 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Ausnahmen im Shutdown | 20071112 |
Method RELEASE_SESSION Signature
Method RELEASE_SESSION on class CL_SHUTDOWN has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Ausnahmen im Shutdown | 20071112 |
Method REMAINING_TIME_FOR_LONGRUNNER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | REMAINING_TIME | Value transfer | Type reference (TYPE) | I | Restzeit für Langläufer | 20130529 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Ausnahmen im Shutdown | 20130529 |
Method SET_SYSTEM_MESSAGE Signature
Method SET_SYSTEM_MESSAGE on class CL_SHUTDOWN has no parameter.
Method SET_SYSTEM_MESSAGE on class CL_SHUTDOWN has no exception.
Method _ACTION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ACTION | Call by reference | Type reference (TYPE) | SHUTDOWN_ACTION | Aktion, die während des Shutdowns beendet werden soll | 20071011 | |||
| 2 | RESULT | Value transfer | Type reference (TYPE) | I | Ergebnis | 20071011 | |||
| 3 | RETURNCODE | Call by reference | Type reference (TYPE) | I | Returncode des Kernels | 20071011 |
Method _ACTION on class CL_SHUTDOWN has no exception.
Method _GET_INFO Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ERROR | Call by reference | Type reference (TYPE) | STRING | Shutdown Errors | 20080117 | |||
| 2 | INFO | Call by reference | Type reference (TYPE) | STRING | Shutdown Zusatzinfo | 20070925 | |||
| 3 | REASON | Call by reference | Type reference (TYPE) | I | Reason of shutdown | 20121123 | |||
| 4 | RETURNCODE | Call by reference | Type reference (TYPE) | I | Returncode | 20070925 | |||
| 5 | SERVER | Call by reference | Type reference (TYPE) | MSNAME2 | Name des Applikationsservers | 20070925 | |||
| 6 | STATE | Call by reference | Type reference (TYPE) | STRING | Shutdown Zustand (String) | 20070925 | |||
| 7 | STATE_INT | Call by reference | Type reference (TYPE) | I | Shutdown Zustand (int) | 20070926 |
Method _GET_INFO on class CL_SHUTDOWN has no exception.
Method _GET_STATE_AS_INT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RETURNCODE | Call by reference | Type reference (TYPE) | I | Returncode des Kernels | 20070926 | |||
| 2 | SERVER | Call by reference | Type reference (TYPE) | MSNAME2 | Name des Applikationsservers | 20070926 | |||
| 3 | STATE | Value transfer | Type reference (TYPE) | I | Shutdown-Zustand | 20070919 |
Method _GET_STATE_AS_INT on class CL_SHUTDOWN has no exception.
Method _KEEP_SESSION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | REASON | Call by reference | Type reference (TYPE) | I | Grund | 20071112 | |||
| 2 | RETURNCODE | Call by reference | Type reference (TYPE) | I | Returncode des Kernels | 20071112 |
Method _KEEP_SESSION on class CL_SHUTDOWN has no exception.
Method _RELEASE_SESSION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RETURNCODE | Call by reference | Type reference (TYPE) | I | Returncode des Kernels | 20071112 |
Method _RELEASE_SESSION on class CL_SHUTDOWN has no exception.
Method _REMAINING_TIME_FOR_LONGRUNNER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | REMAINING_TIME | Value transfer | Type reference (TYPE) | I | Restzeit für Langläufer | 20130529 | |||
| 2 | RETURNCODE | Value transfer | Type reference (TYPE) | I | Returncode | 20130529 |
Method _REMAINING_TIME_FOR_LONGRUNNER on class CL_SHUTDOWN has no exception.
History
| Last changed by/on | SAP | 20140121 |
| SAP Release Created in | 710 |