CONTEXTB SAP (Context buffer) Table details
Dictionary Type: Table
Description: Context buffer
Description: Context buffer
Table field list including key, data, relationships and ABAP select examples
CONTEXTB is a standard SAP Table which is used to store Context buffer data and is available within R/3 SAP systems depending on the version and release level.
The CONTEXTB table consists of various fields, each holding specific information or linking keys about Context buffer data available in SAP. These include RELID (Region in IMPORT/EXPORT Data Table), FRMID (Context name), VERN (Version number), MODNO (Not More Closely Defined Area, Possibly Used for Patchlevels).. 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: Not classified
SAP CONTEXTB 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 ID | SYMANDT | CLNT | 3 | Assigned to domain | MANDT | |||
RELID | Region in IMPORT/EXPORT Data Table | INDX_RELID | CHAR | 2 | SYCHAR02 | ||||
FRMID | Context name | CTXID | CHAR | 20 | CTXID | ||||
VERN | Version number | VERN | CHAR | 6 | SYCHAR06 | ||||
MODNO | Not More Closely Defined Area, Possibly Used for Patchlevels | CHAR4 | CHAR | 4 | CHAR4 | ||||
DATUM | System Date | SYDATUM | DATS | 8 | SYDATS | ||||
UZEIT | System Time | SYUZEIT | TIMS | 6 | SYTIME | ||||
SRTF2 | Next record counter in EXPORT/IMPORT data tables | INDX_SRTF2 | INT4 | 10 | SYBIN4 | ||||
CLUSTR | Length field for user data in EXPORT/IMPORT tables | INDX_CLSTR | INT2 | 5 | SYBIN2 | ||||
CLUSTD | Data field for IMPORT/EXPORT database tables | INDX_CLUST | LRAW | 2886 | INDX_CLUST |
Key field | Non-key field |
How do I retrieve data from SAP table CONTEXTB using ABAP code
The following ABAP code Example will allow you to do a basic selection on CONTEXTB to SELECT all data from the tableDATA: WA_CONTEXTB TYPE CONTEXTB.
SELECT SINGLE *
FROM CONTEXTB
INTO CORRESPONDING FIELDS OF WA_CONTEXTB
WHERE...
How to access SAP table CONTEXTB
Within an ECC or HANA version of SAP you can also view further information about CONTEXTB 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