SAP ABAP Class CL_SESSION_INFO (Get information about a session)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-CST (Application Component) Client/Server Technology
⤷
SSI (Package) Server Infrastructure
⤷
⤷
Properties
| Class | CL_SESSION_INFO | |
| Short Description | Get information about a session | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | SSI | Server Infrastructure |
| Created | 20100503 | SAP |
| Last change | 20140121 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
Class CL_SESSION_INFO has no forward declaration.
Interfaces
Class CL_SESSION_INFO has no interface implemented.
Friends
Class CL_SESSION_INFO 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) | SSI_SESSION_ATTRIBUTE_LIST | List of all session attributes | 20100701 | |||
| 2 | Instance attribute | Private | Type reference (TYPE) | SSI_EXT_SESSION_ID | Extended Session ID | 20110215 | |||
| 3 | Instance attribute | Private | Type reference (TYPE) | SSI_BOOL | 1 | Boolean Value | 20100701 | ||
| 4 | Instance attribute | Private | Type reference (TYPE) | SSI_TIMESTAMP | Time Stamp (Number of Seconds Since 1.1.1979) | 20100506 | |||
| 5 | Instance attribute | Private | Type reference (TYPE) | I | 1 | 20100503 | |||
| 6 | Instance attribute | Private | Type reference (TYPE) | SSI_LOGON_HDL | -1 | Logon Handle | 20100503 | ||
| 7 | Instance attribute | Private | Type reference (TYPE) | SSI_LOGON_ID | -1 | Logon ID | 20100503 | ||
| 8 | Constant | Public | Type reference (TYPE) | SSI_LOGON_HDL | -1 | Logon Handle | 20100503 | ||
| 9 | Constant | Public | Type reference (TYPE) | SSI_LOGON_ID | -1 | Logon ID | 20100503 | ||
| 10 | Constant | Public | Type reference (TYPE) | SSI_SESSION_HDL | -1 | Session Handle | 20100503 | ||
| 11 | Instance attribute | Private | Type reference (TYPE) | SSI_PROGRAM | Name of Active Program | 20100503 | |||
| 12 | Instance attribute | Private | Type reference (TYPE) | SSI_SERVERNAME | Name of the Application Server | 20100503 | |||
| 13 | Instance attribute | Private | Type reference (TYPE) | SSI_SESSION_HDL | -1 | Session Handle | 20100503 | ||
| 14 | Constant | Public | Type reference (TYPE) | I | 1 | Session is valid | 20110317 | ||
| 15 | Constant | Public | Type reference (TYPE) | I | 0 | Session not valid | 20110317 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Constructor | Constructor | 20100503 | |
| 2 | Instance method | Public | Method | Read all attributes of this session | 20100701 | |
| 3 | Instance method | Public | Method | Read extended session ID | 20110215 | |
| 4 | Instance method | Public | Method | Read session info | 20111117 | |
| 5 | Instance method | Public | Method | Read number of pending responses (e.g. from aRFC calls) | 20110524 | |
| 6 | Instance method | Public | Method | Return active program | 20100503 | |
| 7 | Instance method | Public | Method | Return session key | 20130521 | |
| 8 | Instance method | Public | Method | Read long extended session ID | 20110215 | |
| 9 | Instance method | Public | Method | Return timestamp of last request | 20100505 | |
| 10 | Instance method | Private | Method | Read attributes in one step | 20100701 | |
| 11 | Static method | Public | Method | Check whether a session is still valid | 20110215 | |
| 12 | Static method | Public | Method | Check whether a session is still valid | 20110215 | |
| 13 | Instance method | Private | Method | Read all attributes of this session from the kernel | 20100701 | |
| 14 | Instance method | Public | Method | Read extended session ID from kernel | 20110215 | |
| 15 | Instance method | Private | Method | Read session info from kernel | 20111117 | |
| 16 | Instance method | Private | Method | Read number of pending responses from kernel | 20110524 | |
| 17 | Instance method | Private | Method | Read active program from kernel | 20100503 | |
| 18 | Instance method | Private | Method | Read timestamp of last request from kernel | 20100506 | |
| 19 | Static method | Private | Method | Check whether a session is still valid | 20110215 |
Events
Class CL_SESSION_INFO has no event.
Types
Class CL_SESSION_INFO has no local type.
Method Signatures
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | LOGON_HDL | Value transfer | Type reference (TYPE) | SSI_LOGON_HDL | -1 | Logon Handle | 20100503 | ||
| 2 | LOGON_ID | Value transfer | Type reference (TYPE) | SSI_LOGON_ID | -1 | Logon Identifikation | 20100503 | ||
| 3 | SERVER_NAME | Call by reference | Type reference (TYPE) | SSI_SERVERNAME | ' ' | Name des Applikations-Servers | 20100503 | ||
| 4 | SESSION_HDL | Value transfer | Type reference (TYPE) | SSI_SESSION_HDL | -1 | Session Handle | 20100503 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | no resources | 20120112 | ||
| 2 | no authority for this action | 20120112 |
Method GET_ATTRIBUTE_LIST Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ATTRIBUTE_LIST | Value transfer | Type reference (TYPE) | SSI_SESSION_ATTRIBUTE_LIST | Attributliste | 20100701 | |||
| 2 | REFRESH | Call by reference | Type reference (TYPE) | SSI_BOOL | 0 | Attributliste neu aufbauen | 20100701 |
Method GET_ATTRIBUTE_LIST on class CL_SESSION_INFO has no exception.
Method GET_EXTENDED_ID Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EXTENDED_ID | Value transfer | Type reference (TYPE) | SSI_EXT_SESSION_ID | Extended session id | 20110215 |
Method GET_EXTENDED_ID on class CL_SESSION_INFO has no exception.
Method GET_INFO Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | SESSION_INFO | Value transfer | Type reference (TYPE) | SSI_SESSION_INFO | Informationen über eine Session | 20111117 | |||
| 2 | TENANT | Call by reference | Type reference (TYPE) | SSI_TENANT_ID | '' | Name des Tenants | 20111117 | ||
| 3 | WITH_APPLICATION_INFO | Call by reference | Type reference (TYPE) | SSI_BOOL | 1 | Boolscher Wert | 20111117 |
Method GET_INFO on class CL_SESSION_INFO has no exception.
Method GET_PENDING_RESPONSE_NUMBER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | PENDING_RESPONSES | Value transfer | Type reference (TYPE) | SSI_COUNTER | Zähler | 20110524 |
Method GET_PENDING_RESPONSE_NUMBER on class CL_SESSION_INFO has no exception.
Method GET_PROGRAM Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | PROGRAM | Value transfer | Type reference (TYPE) | SSI_PROGRAM | Name des aktiven Programmes | 20100503 | |||
| 2 | REFRESH | Call by reference | Type reference (TYPE) | I | 0 | Refresh existing program | 20100506 |
Method GET_PROGRAM on class CL_SESSION_INFO has no exception.
Method GET_SESSION_KEY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | SESSION_KEY | Value transfer | Type reference (TYPE) | STRING | Session Key | 20130521 |
Method GET_SESSION_KEY on class CL_SESSION_INFO has no exception.
Method GET_SW_EXTENDED_ID Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | SW_EXTENDED_ID | Value transfer | Type reference (TYPE) | SSI_EXT_SESSION_ID | Extended session id | 20110215 |
Method GET_SW_EXTENDED_ID on class CL_SESSION_INFO has no exception.
Method GET_TIME_OF_LAST_REQ Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | REFRESH | Call by reference | Type reference (TYPE) | I | 0 | Refresh existing timestamp | 20100506 | ||
| 2 | TIMESTAMP | Value transfer | Type reference (TYPE) | SSI_TIMESTAMP | Zeit-Stempel (Anzahl Sekunden seit 1.1.1979) | 20100506 |
Method GET_TIME_OF_LAST_REQ on class CL_SESSION_INFO has no exception.
Method INIT_ATTRIBUTES Signature
Method INIT_ATTRIBUTES on class CL_SESSION_INFO has no parameter.
Method INIT_ATTRIBUTES on class CL_SESSION_INFO has no exception.
Method IS_VALID_EXTENDED_ID Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EXTENDED_ID | Call by reference | Type reference (TYPE) | SSI_EXT_SESSION_ID | Extended session id | 20110215 | |||
| 2 | IS_VALID | Value transfer | Type reference (TYPE) | I | 20110215 |
Method IS_VALID_EXTENDED_ID on class CL_SESSION_INFO has no exception.
Method IS_VALID_SW_EXTENDED_ID Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IS_VALID | Value transfer | Type reference (TYPE) | I | 20110215 | ||||
| 2 | SW_EXTENDED_ID | Call by reference | Type reference (TYPE) | SSI_EXT_SESSION_ID | Extended session id | 20110215 |
Method IS_VALID_SW_EXTENDED_ID on class CL_SESSION_INFO has no exception.
Method _GET_ATTRIBUTE_LIST Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ATTRIBUTE_LIST | Value transfer | Type reference (TYPE) | SSI_SESSION_ATTRIBUTE_LIST | Liste aller Session Attribute | 20100701 |
Method _GET_ATTRIBUTE_LIST on class CL_SESSION_INFO has no exception.
Method _GET_EXTENDED_ID Signature
Method _GET_EXTENDED_ID on class CL_SESSION_INFO has no parameter.
Method _GET_EXTENDED_ID on class CL_SESSION_INFO has no exception.
Method _GET_INFO Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | SESSION_LIST | Value transfer | Type reference (TYPE) | SSI_SESSION_LIST | Liste aller Sessions | 20111117 | |||
| 2 | TENANT | Call by reference | Type reference (TYPE) | SSI_TENANT_ID | '' | Name des Tenants | 20111117 | ||
| 3 | WITH_APPLICATION_INFO | Call by reference | Type reference (TYPE) | SSI_BOOL | 1 | Boolscher Wert | 20111117 |
Method _GET_INFO on class CL_SESSION_INFO has no exception.
Method _GET_PENDING_RESPONSE_NUMBER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | PENDING_RESPONSES | Value transfer | Type reference (TYPE) | SSI_COUNTER | Zähler | 20110524 |
Method _GET_PENDING_RESPONSE_NUMBER on class CL_SESSION_INFO has no exception.
Method _GET_PROGRAM Signature
Method _GET_PROGRAM on class CL_SESSION_INFO has no parameter.
Method _GET_PROGRAM on class CL_SESSION_INFO has no exception.
Method _GET_TIME_OF_LAST_REQ Signature
Method _GET_TIME_OF_LAST_REQ on class CL_SESSION_INFO has no parameter.
Method _GET_TIME_OF_LAST_REQ on class CL_SESSION_INFO has no exception.
Method _IS_VALID_EXTENDED_ID Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EXTENDED_ID | Call by reference | Type reference (TYPE) | SSI_EXT_SESSION_ID | Extended session id | 20110215 | |||
| 2 | IS_VALID | Value transfer | Type reference (TYPE) | I | 20110215 | ||||
| 3 | SERVER_NAME | Call by reference | Type reference (TYPE) | SSI_SERVERNAME | Name des Applikations-Servers | 20110215 |
Method _IS_VALID_EXTENDED_ID on class CL_SESSION_INFO has no exception.
History
| Last changed by/on | SAP | 20140121 |
| SAP Release Created in | 800 |