DBCON SAP (Description of Database Connections) Table details
Dictionary Type: Table
Description: Description of Database Connections
Description: Description of Database Connections
Table field list including key, data, relationships and ABAP select examples
DBCON is a standard SAP Table which is used to store Description of Database Connections data and is available within R/3 SAP systems depending on the version and release level.
The DBCON table consists of various fields, each holding specific information or linking keys about Description of Database Connections data available in SAP. These include DBMS (Database system), USER_NAME (Database User), PASSWORD (Password for setting up the connection to the database), CON_ENV (Database-specific information for a database connection).. 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: Cannot Be Enhanced
SAP DBCON 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 |
CON_NAME | Logical name for a database connection | DBCON_NAME | CHAR | 30 | DBCON_NAME | ||||
DBMS | Database system | DBCON_DBMS | CHAR | 3 | DBCON_DBMS | ||||
USER_NAME | Database User | DBCON_UID | CHAR | 30 | TEXT30 | ||||
PASSWORD | Password for setting up the connection to the database | DBCON_PWD | CHAR | 255 | TEXT255 | ||||
CON_ENV | Database-specific information for a database connection | DBCON_ENV | CHAR | 255 | TEXT255 | ||||
DB_RECO | Availability type for an open database connect | DBCON_RECO | CHAR | 1 | CHAR1_X | ||||
MAX_CONNECTIONS | Maximum Number of Connections | DBCON_MAX_CONNECTIONS | INT1 | 3 | INT1 | ||||
OPT_CONNECTIONS | Optimum Number of Connections | DBCON_OPT_CONNECTIONS | INT1 | 3 | INT1 |
Key field | Non-key field |
How do I retrieve data from SAP table DBCON using ABAP code
The following ABAP code Example will allow you to do a basic selection on DBCON to SELECT all data from the tableDATA: WA_DBCON TYPE DBCON.
SELECT SINGLE *
FROM DBCON
INTO CORRESPONDING FIELDS OF WA_DBCON
WHERE...
How to access SAP table DBCON
Within an ECC or HANA version of SAP you can also view further information about DBCON 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