/BDL/_DATKEY SAP (EWA key fields) Structure details
Description: EWA key fields
Structure field list including key, data, relationships and ABAP select examples
/BDL/_DATKEY is a standard SAP Structure so does not store data like a database table does. It can be used to define the fields of other actual tables or to process "EWA key fields" Information within sap ABAP programs.
This is done by declaring abap internal tables, work areas or database tables based on this Structure. These can then be used to store and process the required data appropriately.
i.e. DATA: wa_/BDL/_DATKEY TYPE /BDL/_DATKEY.
The /BDL/_DATKEY table consists of various fields, each holding specific information or linking keys about EWA key fields data available in SAP. These include MANDANT (3-Byte field), INSTALL_NO (10 digit number), SID (Name of SAP System), CUST_NO (10 digit number).. 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:Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Cannot Be Enhanced
SAP /BDL/_DATKEY structure 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 |
SESSIONNR | Character Field Length = 10 | CHAR10 | CHAR | 10 | CHAR10 | ||||
MANDANT | 3-Byte field | CHAR3 | CHAR | 3 | CHAR3 | ||||
INSTALL_NO | 10 digit number | NUM10 | NUMC | 10 | NUM10 | ||||
SID | Name of SAP System | SYSYSID | CHAR | 8 | SYCHAR08 | ||||
CUST_NO | 10 digit number | NUM10 | NUMC | 10 | NUM10 | ||||
CONTRACT | TCC contract type | /BDL/SESSTYP | CHAR | 8 | CHAR08 | ||||
DESCRIPTIO | Medium length description | /BDL/SESDESC | CHAR | 8 | TEXT8 | ||||
FUNCMOD | Character field of length 6 | CHAR6 | CHAR | 6 | CHAR6 | ||||
HOST | Character field, length 32 | CHAR32 | CHAR | 32 | CHAR32 | ||||
INSTANCE | Version Number Component | CHAR2 | CHAR | 2 | CHAR2 | ||||
SEQNO | Sequence number | /BDL/_SEQC | NUMC | 4 | DDCMPNUMC4 | ||||
CONTEXT | Context | /BDL/_CTEXT | CHAR | 20 | CHAR20 | ||||
TYPE | Single-Character Indicator | CHAR1 | CHAR | 1 | CHAR1 | ||||
CODEPAGE | SAP Character Set ID | CPCODEPAGE | NUMC | 4 | Assigned to domain | CPCODEPAGE |
Key field | Non-key field |
How do I retrieve data from SAP structure /BDL/_DATKEY using ABAP code?
As /BDL/_DATKEY is a database structure and not a table it does not store any data in the SAP data dictionary. The ABAP SELECT statement is therefore not appropriate and can not be performed on /BDL/_DATKEY as there is no data to select.How to access SAP table /BDL/_DATKEY
Within an ECC or HANA version of SAP you can also view further information about /BDL/_DATKEY 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