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
⤷ 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 | ATTRIBUTE_LIST | Instance attribute | Private | Type reference (TYPE) | SSI_SESSION_ATTRIBUTE_LIST | List of all session attributes | 20100701 | ||
2 | EXTENDED_ID | Instance attribute | Private | Type reference (TYPE) | SSI_EXT_SESSION_ID | Extended Session ID | 20110215 | ||
3 | IS_INITIAL | Instance attribute | Private | Type reference (TYPE) | SSI_BOOL | 1 | Boolean Value | 20100701 | |
4 | LAST_REQ_TIME | Instance attribute | Private | Type reference (TYPE) | SSI_TIMESTAMP | Time Stamp (Number of Seconds Since 1.1.1979) | 20100506 | ||
5 | LOCAL_SESSION | Instance attribute | Private | Type reference (TYPE) | I | 1 | 20100503 | ||
6 | LOGON_HDL | Instance attribute | Private | Type reference (TYPE) | SSI_LOGON_HDL | -1 | Logon Handle | 20100503 | |
7 | LOGON_ID | Instance attribute | Private | Type reference (TYPE) | SSI_LOGON_ID | -1 | Logon ID | 20100503 | |
8 | NO_LOGON_HDL | Constant | Public | Type reference (TYPE) | SSI_LOGON_HDL | -1 | Logon Handle | 20100503 | |
9 | NO_LOGON_ID | Constant | Public | Type reference (TYPE) | SSI_LOGON_ID | -1 | Logon ID | 20100503 | |
10 | NO_SESSION_HDL | Constant | Public | Type reference (TYPE) | SSI_SESSION_HDL | -1 | Session Handle | 20100503 | |
11 | PROGRAM | Instance attribute | Private | Type reference (TYPE) | SSI_PROGRAM | Name of Active Program | 20100503 | ||
12 | SERVER_NAME | Instance attribute | Private | Type reference (TYPE) | SSI_SERVERNAME | Name of the Application Server | 20100503 | ||
13 | SESSION_HDL | Instance attribute | Private | Type reference (TYPE) | SSI_SESSION_HDL | -1 | Session Handle | 20100503 | |
14 | SESSION_IS_VALID | Constant | Public | Type reference (TYPE) | I | 1 | Session is valid | 20110317 | |
15 | SESSION_NOT_VALID | Constant | Public | Type reference (TYPE) | I | 0 | Session not valid | 20110317 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | CONSTRUCTOR | Instance method | Public | Constructor | Constructor | 20100503 |
2 | GET_ATTRIBUTE_LIST | Instance method | Public | Method | Read all attributes of this session | 20100701 |
3 | GET_EXTENDED_ID | Instance method | Public | Method | Read extended session ID | 20110215 |
4 | GET_INFO | Instance method | Public | Method | Read session info | 20111117 |
5 | GET_PENDING_RESPONSE_NUMBER | Instance method | Public | Method | Read number of pending responses (e.g. from aRFC calls) | 20110524 |
6 | GET_PROGRAM | Instance method | Public | Method | Return active program | 20100503 |
7 | GET_SESSION_KEY | Instance method | Public | Method | Return session key | 20130521 |
8 | GET_SW_EXTENDED_ID | Instance method | Public | Method | Read long extended session ID | 20110215 |
9 | GET_TIME_OF_LAST_REQ | Instance method | Public | Method | Return timestamp of last request | 20100505 |
10 | INIT_ATTRIBUTES | Instance method | Private | Method | Read attributes in one step | 20100701 |
11 | IS_VALID_EXTENDED_ID | Static method | Public | Method | Check whether a session is still valid | 20110215 |
12 | IS_VALID_SW_EXTENDED_ID | Static method | Public | Method | Check whether a session is still valid | 20110215 |
13 | _GET_ATTRIBUTE_LIST | Instance method | Private | Method | Read all attributes of this session from the kernel | 20100701 |
14 | _GET_EXTENDED_ID | Instance method | Public | Method | Read extended session ID from kernel | 20110215 |
15 | _GET_INFO | Instance method | Private | Method | Read session info from kernel | 20111117 |
16 | _GET_PENDING_RESPONSE_NUMBER | Instance method | Private | Method | Read number of pending responses from kernel | 20110524 |
17 | _GET_PROGRAM | Instance method | Private | Method | Read active program from kernel | 20100503 |
18 | _GET_TIME_OF_LAST_REQ | Instance method | Private | Method | Read timestamp of last request from kernel | 20100506 |
19 | _IS_VALID_EXTENDED_ID | 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 | Importing | LOGON_HDL | Value transfer | Type reference (TYPE) | SSI_LOGON_HDL | -1 | Logon Handle | 20100503 | |
2 | Importing | LOGON_ID | Value transfer | Type reference (TYPE) | SSI_LOGON_ID | -1 | Logon Identifikation | 20100503 | |
3 | Importing | SERVER_NAME | Call by reference | Type reference (TYPE) | SSI_SERVERNAME | ' ' | Name des Applikations-Servers | 20100503 | |
4 | Importing | SESSION_HDL | Value transfer | Type reference (TYPE) | SSI_SESSION_HDL | -1 | Session Handle | 20100503 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_SSI_BAD_PARAMETER | no resources | 20120112 | |
2 | CX_SSI_NO_AUTH | 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 | Returning | ATTRIBUTE_LIST | Value transfer | Type reference (TYPE) | SSI_SESSION_ATTRIBUTE_LIST | Attributliste | 20100701 | ||
2 | Importing | 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 | Returning | 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 | Returning | SESSION_INFO | Value transfer | Type reference (TYPE) | SSI_SESSION_INFO | Informationen über eine Session | 20111117 | ||
2 | Importing | TENANT | Call by reference | Type reference (TYPE) | SSI_TENANT_ID | '' | Name des Tenants | 20111117 | |
3 | Importing | 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 | Returning | 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 | Returning | PROGRAM | Value transfer | Type reference (TYPE) | SSI_PROGRAM | Name des aktiven Programmes | 20100503 | ||
2 | Importing | 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 | Returning | 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 | Returning | 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 | Importing | REFRESH | Call by reference | Type reference (TYPE) | I | 0 | Refresh existing timestamp | 20100506 | |
2 | Returning | 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 | Importing | EXTENDED_ID | Call by reference | Type reference (TYPE) | SSI_EXT_SESSION_ID | Extended session id | 20110215 | ||
2 | Returning | 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 | Returning | IS_VALID | Value transfer | Type reference (TYPE) | I | 20110215 | |||
2 | Importing | 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 | Returning | 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 | Returning | SESSION_LIST | Value transfer | Type reference (TYPE) | SSI_SESSION_LIST | Liste aller Sessions | 20111117 | ||
2 | Importing | TENANT | Call by reference | Type reference (TYPE) | SSI_TENANT_ID | '' | Name des Tenants | 20111117 | |
3 | Importing | 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 | Returning | 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 | Importing | EXTENDED_ID | Call by reference | Type reference (TYPE) | SSI_EXT_SESSION_ID | Extended session id | 20110215 | ||
2 | Returning | IS_VALID | Value transfer | Type reference (TYPE) | I | 20110215 | |||
3 | Importing | 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 |