SAP Reports / Programs | Basis Components | Database Interface, Database Platforms | MaxDB(BC-DB-SDB) SAP BC

COSDBF01 SAP ABAP INCLUDE - documentation and ABAP source code







COSDBF01 is a standard ABAP INCLUDE 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 COSDBF01 into the relevant SAP transactions such as SE38 or SE80


ABAP code to call this SAP report using the submit statement

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.






SUBMIT COSDBF01. "Basic submit
SUBMIT COSDBF01 AND RETURN. "Return to original report after report execution complete
SUBMIT COSDBF01 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


INCLUDES used within this REPORT COSDBF01

No INCLUDES are used within this REPORT code!


TABLES used within REPORT and the associated SELECT statement:





No SAP DATABASE tables are accessed within this REPORT code!


Function Modules used within report and the associated call statement:

LC_SPLIT_CON_ENV CALL FUNCTION 'LC_SPLIT_CON_ENV' EXPORTING con_env = dbcon-con_env * TRENNZEICHEN = IMPORTING lc_server = lc_host ph_lc_name = lc_name EXCEPTIONS no_string_entry = 1 OTHERS = 2.

SCP_CHARS_ARE_SYNTACTICAL CALL FUNCTION 'SCP_CHARS_ARE_SYNTACTICAL' EXPORTING string = con_name IMPORTING wrong_char = lv_invalid_char is_ok = lv_is_string_valid.

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING text_question = question IMPORTING answer = answer.

INS_DBCON_ENTRY_SDB CALL FUNCTION 'INS_DBCON_ENTRY_SDB' EXPORTING con_name = dbcon-con_name dbms = dbcon-dbms user_name = dbcon-user_name password = input_pwd_sap lc_name = l_lc_name lc_server = l_lc_host EXCEPTIONS no_permission = 1 crypt_password_error = 2 entry_already_exists = 3 insert_dbcon_error = 4 secure_store_key_exists = 5 OTHERS = 6.

UPD_DBCON_ENTRY_SDB CALL FUNCTION 'UPD_DBCON_ENTRY_SDB' EXPORTING con_name = dbcon-con_name dbms = dbcon-dbms user_name = dbcon-user_name password = input_pwd_sap lc_name = l_lc_name lc_server = l_lc_host db_reco = dbcon-db_reco keep_password = ' ' EXCEPTIONS no_permission = 1 crypt_password_error = 2 entry_does_not_exist = 3 update_dbcon_error = 4 secure_store_error = 5 OTHERS = 6.

DB_CRYPTO_PASSWORD CALL FUNCTION 'DB_CRYPTO_PASSWORD' EXPORTING clear_text_password = p_clear_password IMPORTING encoded_password = p_coded_password EXCEPTIONS crypt_output_buffer_to_small = 1 crypt_internal_error = 2 crypt_truncation_error = 3 crypt_conversion_error = 4 internal_error = 5 OTHERS = 6.

INS_DBCON_ENTRY_SDB CALL FUNCTION 'INS_DBCON_ENTRY_SDB' EXPORTING con_name = dbcon2-con_name dbms = dbcon2-dbms user_name = dbcon2-user_name password = input_pwd_dbm lc_name = l_lc_name lc_server = l_lc_host EXCEPTIONS no_permission = 1 crypt_password_error = 2 entry_already_exists = 3 insert_dbcon_error = 4 secure_store_key_exists = 5 OTHERS = 6.

UPD_DBCON_ENTRY_SDB CALL FUNCTION 'UPD_DBCON_ENTRY_SDB' EXPORTING con_name = dbcon2-con_name dbms = dbcon2-dbms user_name = dbcon2-user_name password = input_pwd_dbm lc_name = l_lc_name lc_server = l_lc_host db_reco = dbcon-db_reco keep_password = ' ' EXCEPTIONS no_permission = 1 crypt_password_error = 2 entry_does_not_exist = 3 update_dbcon_error = 4 secure_store_error = 5 OTHERS = 6.

DEL_DBCON_ENTRY_SDB CALL FUNCTION 'DEL_DBCON_ENTRY_SDB' EXPORTING con_name = log_lc_name EXCEPTIONS no_permission = 1 entry_does_not_exist = 2 delete_dbcon_error = 3 secure_store_other = 4 OTHERS = 5.

DEL_DBCON_ENTRY_SDB CALL FUNCTION 'DEL_DBCON_ENTRY_SDB' EXPORTING con_name = sdbsystems-con_name_2 EXCEPTIONS no_permission = 1 entry_does_not_exist = 2 delete_dbcon_error = 3 secure_store_other = 4 OTHERS = 5.

ENQUEUE_E_DBCONUSR CALL FUNCTION 'ENQUEUE_E_DBCONUSR' EXPORTING mode_dbconusr = 'E' con_name = log_lc_name x_con_name = ' ' _scope = '1' _wait = ' ' _collect = ' ' EXCEPTIONS foreign_lock = 1 system_failure = 2 OTHERS = 3.

DEQUEUE_E_DBCONUSR CALL FUNCTION 'DEQUEUE_E_DBCONUSR' EXPORTING mode_dbconusr = 'E' con_name = log_lc_name x_con_name = ' ' _scope = '1' _synchron = 'X' _collect = ' '.

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING titlebar = text-030 diagnose_object = 'SDB_DISPLAY_DB11_WARNING' text_question = text-044 start_column = 25 start_row = 6 IMPORTING answer = answer EXCEPTIONS text_not_found = 1 OTHERS = 2.

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING titlebar = text-030 diagnose_object = 'SDB_DISPLAY_DB11_WARNING_2' text_question = text-044 start_column = 25 start_row = 6 IMPORTING answer = answer EXCEPTIONS text_not_found = 1 OTHERS = 2.

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING titlebar = 'Datenbankintegration: Ändern'(030) text_question = text-031 start_column = 25 start_row = 6 popup_type = 'ICON_MESSAGE_WARNING' default_button = '2' IMPORTING answer = answer EXCEPTIONS text_not_found = 1 OTHERS = 2.

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING titlebar = 'Datenbankintegration: Ändern'(030) text_question = text-032 start_column = 25 start_row = 6 popup_type = 'ICON_MESSAGE_WARNING' default_button = '2' IMPORTING answer = answer EXCEPTIONS text_not_found = 1 OTHERS = 2.

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING titlebar = lv_title text_question = lv_text display_cancel_button = ' ' * START_COLUMN = 25 * START_ROW = 6 IMPORTING answer = lv_answer EXCEPTIONS OTHERS = 0.



Contribute (Add Comments)

Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.







The contribute/comments section below therefore offer's an opportunity for anyone to add additional information. This can be anything from useful hints, tips and screen shots to relevant SAP notes or anything else you feel is relevant to this report.

This will then be available for everyone to easily find by simply searching on the report name COSDBF01 or its description.