_SLD_DBCON is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). Below is the basic information available for this SAP report including which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC. Also check out the submitted Comments related to this SAP report or see any standard documentation available.
If you would like to execute this report or see the full code listing simply enter _SLD_DBCON into the relevant SAP transactions such as SE38 or SE80
This report can be called from another progam/report simply by using the ABAP SUBMIT statement, see below for example ABAP code snipts of how to do this.
Title: SLD Data Supplier: Class SAP_DBConnPort
INCLUDE RSLDMEMD.
INCLUDE RSLDDBCONN.
INCLUDE RSLDCOMF.
INCLUDE RSLDMACR.
INCLUDE RSLDCIMN.
No SAP DATABASE tables are accessed within this REPORT code!
SLDAG_GET_DB_PROPERTIES call function 'SLDAG_GET_DB_PROPERTIES' IMPORTING * NAME =
* DBNAME = * SYSTEMHOME = DBTYPEFORSAP = db_type * MANUFACTOR = * RELEASE = .
SLDAG_GET_DB_PROPERTIES call function 'SLDAG_GET_DB_PROPERTIES' IMPORTING * NAME =
DBNAME = dbname * SYSTEMHOME = system_home * DBTYPEFORSAP = db_type * MANUFACTOR = * RELEASE = .
SLDAG_GET_DB_PROPERTIES call function 'SLDAG_GET_DB_PROPERTIES' IMPORTING NAME = temp_str * DBNAME =
* SYSTEMHOME = * DBTYPEFORSAP = db_type * MANUFACTOR = * RELEASE = .
DBSYCHK_GET_DBHOST call function 'DBSYCHK_GET_DBHOST' importing dbhost = dbhost exceptions others = 1.
STU3_ADMIN_GET_DBPORT call function 'STU3_ADMIN_GET_DBPORT' importing dbport = dbport exceptions others = 1.
S390_GET_CURRENT_SSID call function 'S390_GET_CURRENT_SSID' importing ssid = dbssid exceptions others = 1.
S390_GET_CREATOR call function 'S390_GET_CREATOR' changing creator = dbschema exceptions adbc_sql_error = 1.
STU3_ADMIN_GET_COLLECTION call function 'STU3_ADMIN_GET_COLLECTION' importing collection_id = dbcollection exceptions others = 1.
STU3_ADMIN_GET_LOCATION call function 'STU3_ADMIN_GET_LOCATION' importing location = dblocation exceptions others = 1.
DB6_PM_DBMCONFIG call function 'DB6_PM_DBMCONFIG' exporting action = 1 callerflag = 'U' tables it_db6pmcm1 = it_db6pmcm1 it_db6pmcm2 = it_db6pmcm2 exceptions invalid_parameter_set = 1 c_call_failed = 2 history_insert_failed = 3 no_history_found = 4 adbc_error = 5 others = 6.
NI_NAME_TO_PORT call function 'NI_NAME_TO_PORT' exporting servname = servname importing servno = servno exceptions eserv_unknown = 1 einval = 2 others = 3.
LC_SPLIT_CON_ENV call function 'LC_SPLIT_CON_ENV' exporting con_env = wa_dbcon-con_env importing lc_server = db_server ph_lc_name = db_name exceptions no_string_entry = 1 others = 2.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.