BDL_DATKEY SAP (Key fields for download tables) Structure details
Description: Key fields for download tables
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 "Key fields for download tables" 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 Key fields for download tables 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: Not classified
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 | Contract type | BDLSESSTYP | CHAR | 8 | CHAR08 | ||||
DESCRIPTIO | Session subtype | BDLSESDESC | 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