OA2_SR_A_CTX SAP (OAuth 2.0 Authorization Code Context) Table details
Description: OAuth 2.0 Authorization Code Context
Table field list including key, data, relationships and ABAP select examples
OA2_SR_A_CTX is a standard SAP Table which is used to store OAuth 2.0 Authorization Code Context data and is available within R/3 SAP systems depending on the version and release level.
The OA2_SR_A_CTX table consists of various fields, each holding specific information or linking keys about OAuth 2.0 Authorization Code Context data available in SAP. These include AUTH_CONTEXT_ID (OAuth 2.0 Authorization Code Context 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_A_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 | |||
AUTH_CONTEXT_ID | OAuth 2.0 Authorization Code Context ID | OA2_S_AUTH_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 | ||||
REDIRECT_URI | OAuth 2.0 Client Redirect URI | 0 |
Key field | Non-key field |
How do I retrieve data from SAP table OA2_SR_A_CTX using ABAP code
The following ABAP code Example will allow you to do a basic selection on OA2_SR_A_CTX to SELECT all data from the tableDATA: WA_OA2_SR_A_CTX TYPE OA2_SR_A_CTX.
SELECT SINGLE *
FROM OA2_SR_A_CTX
INTO CORRESPONDING FIELDS OF WA_OA2_SR_A_CTX
WHERE...
How to access SAP table OA2_SR_A_CTX
Within an ECC or HANA version of SAP you can also view further information about OA2_SR_A_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