DBCON SAP (Description of Database Connections) Table details

Dictionary Type: Table
Description: Description of Database Connections




ABAP Code to SELECT data from DBCON
Related tables to DBCON
Access table DBCON




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 empty
Display/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_NAMELogical name for a database connection DBCON_NAMECHAR30DBCON_NAME
DBMSDatabase system DBCON_DBMSCHAR3DBCON_DBMS
USER_NAMEDatabase User DBCON_UIDCHAR30TEXT30
PASSWORDPassword for setting up the connection to the database DBCON_PWDCHAR255TEXT255
CON_ENVDatabase-specific information for a database connection DBCON_ENVCHAR255TEXT255
DB_RECOAvailability type for an open database connect DBCON_RECOCHAR1CHAR1_X
MAX_CONNECTIONSMaximum Number of Connections DBCON_MAX_CONNECTIONSINT13INT1
OPT_CONNECTIONSOptimum Number of Connections DBCON_OPT_CONNECTIONSINT13INT1

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 table
DATA: 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 as

SE11 (ABAP Dictionary Maintenance)
SM30 (Maintain Table Data)
SE80 (Object Navigator)
SE16 (Data Browser).


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!