OA2_SR_CTX SAP (OAuth2 ServerContext (Server Implementation, Runtime)) Table details
Description: OAuth2 ServerContext (Server Implementation, Runtime)
Table field list including key, data, relationships and ABAP select examples
OA2_SR_CTX is a standard SAP Table which is used to store OAuth2 ServerContext (Server Implementation, Runtime) data and is available within R/3 SAP systems depending on the version and release level.
The OA2_SR_CTX table consists of various fields, each holding specific information or linking keys about OAuth2 ServerContext (Server Implementation, Runtime) data available in SAP. These include SERVER_CONTEXT_ID (OAuth 2.0 ServerContext ID), CLIENT_ID (OAuth 2.0 Client ID), RO_USER (User Name in User Master Record), CREATION_TIME (OAuth 2.0 Timestamp: Token Creation (UTC)).. See below for full list along with technical details, documentation, text table, check tables, foreign key relationships, conversion routines, relevant tcodes and example ABAP select code etc. .
Delivery Class: L - Table for storing temporary data, is delivered emptyDisplay/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Can Be Enhanced (Deep)
SAP OA2_SR_CTX table fields - Full list of fields found in SAP data dictionary
Field | Description | Data Element | Data Type | length (Dec) | Check table | Conversion Routine | Domain Name | MemoryID | SHLP |
MANDT | Client | MANDT | CLNT | 3 | Assigned to domain | MANDT | |||
SERVER_CONTEXT_ID | OAuth 2.0 ServerContext ID | OA2_S_CONTEXT_ID | RAW | 36 | |||||
CLIENT_ID | OAuth 2.0 Client ID | OA2_S_CL_ID | CHAR | 12 | Assigned to domain | XUBNAME | |||
RO_USER | User Name in User Master Record | XUBNAME | CHAR | 12 | Assigned to domain | XUBNAME | XUS | ||
CREATION_TIME | OAuth 2.0 Timestamp: Token Creation (UTC) | OA2_S_TIME_CREATION | CHAR | 14 | TIMESTAMP | ||||
EXPIRY_TIME | OAuth 2.0 Timestamp: Token Expiration (UTC) | OA2_S_TIME_EXPIRY | CHAR | 14 | TIMESTAMP | ||||
GRANT_TYPE | OAuth 2.0 Grant Type | OA2_S_GT | CHAR | 1 | OA2_S_GT | ||||
AUTH_CONTEXT_ID | OAuth 2.0 Authorization Code Context ID | OA2_S_AUTH_CONTEXT_ID | RAW | 36 |
Key field | Non-key field |
How do I retrieve data from SAP table OA2_SR_CTX using ABAP code
The following ABAP code Example will allow you to do a basic selection on OA2_SR_CTX to SELECT all data from the tableDATA: WA_OA2_SR_CTX TYPE OA2_SR_CTX.
SELECT SINGLE *
FROM OA2_SR_CTX
INTO CORRESPONDING FIELDS OF WA_OA2_SR_CTX
WHERE...
How to access SAP table OA2_SR_CTX
Within an ECC or HANA version of SAP you can also view further information about OA2_SR_CTX and the data within it using relevant transactions such asSE11 (ABAP Dictionary Maintenance)
SM30 (Maintain Table Data)
SE80 (Object Navigator)
SE16 (Data Browser).
Search for further information about these or an SAP related objects