SAP Reports / Programs | Cross-Application Components | European Monetary Union: Euro(CA-EUR) SAP CA

CNV_TDMS_05_TI_SCHEMA_X SAP ABAP Report - Count records







CNV_TDMS_05_TI_SCHEMA_X 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 CNV_TDMS_05_TI_SCHEMA_X 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 CNV_TDMS_05_TI_SCHEMA_X. "Basic submit
SUBMIT CNV_TDMS_05_TI_SCHEMA_X AND RETURN. "Return to original report after report execution complete
SUBMIT CNV_TDMS_05_TI_SCHEMA_X VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: Count records
Text Symbol: 001 = Deletion Technique:
Text Symbol: 002 = Delete with full table scan
Text Symbol: 003 = Delete only relevant entries


INCLUDES used within this REPORT CNV_TDMS_05_TI_SCHEMA_X

INCLUDE CNV_MBT_SUB_SM_MACROS.
INCLUDE CNV_TDMS_05_TI_SCHEMA_X_DATA.


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:

CNV_MBT_L_SUBSTATE_INIT CALL FUNCTION 'CNV_MBT_L_SUBSTATE_INIT' EXPORTING session_id = p_sessid subact_id = p_subact taskid = p_taskid with_log = 'X' EXCEPTIONS entry_not_found = 1 error_during_enqueue = 2 update_failed = 3 start_not_possible = 4 OTHERS = 5.

CNV_MBT_L_SUBSTATE_FINISH CALL FUNCTION 'CNV_MBT_L_SUBSTATE_FINISH' EXPORTING session_id = p_sessid subact_id = p_subact task_id = p_taskid with_log = 'X' EXCEPTIONS entry_not_found = 1 parameters_not_defined = 2 update_failed = 3 error_during_dequeue = 4 OTHERS = 5.

DD_EXIST_TABLE CALL FUNCTION 'DD_EXIST_TABLE' EXPORTING tabname = lv_tabname status = 'A' IMPORTING subrc = lv_subrc EXCEPTIONS wrong_status = 1 OTHERS = 2.

CNV_MBT_L_STATE_SESSION_INFO CALL FUNCTION 'CNV_MBT_L_STATE_SESSION_INFO' EXPORTING im_session_id = p_sessid IMPORTING ex_cnvmbtstate = ls_cnvmbtstate.

DB_EXISTS_TABLE CALL FUNCTION 'DB_EXISTS_TABLE' EXPORTING tabname = p_tabname IMPORTING SUBRC = LV_SUBRC.

CNV_MBT_L_PROTOCOL_MESSAGE CALL FUNCTION 'CNV_MBT_L_PROTOCOL_MESSAGE' EXPORTING msgty = 'I' msgid = 'CNV_TDMS_05_A' msgno = '510' msgv1 = p_tname msgv2 = p_technq msgv3 = p_select msgv4 = '' level = '2' probclass = '2' EXCEPTIONS OTHERS = 1.

DB_COMMIT CALL FUNCTION 'DB_COMMIT'.

DB_COMMIT CALL FUNCTION 'DB_COMMIT'.

DB_COMMIT CALL FUNCTION 'DB_COMMIT'.

DB_COMMIT CALL FUNCTION 'DB_COMMIT'.

DB_STORAGE_SAVE CALL FUNCTION 'DB_STORAGE_SAVE' EXPORTING for_table_and_indexes = 'X' tabname = lv_tabname source = 'DBS' useflag = 'X' save_under_tabname = lv_storage_tab EXCEPTIONS import_error = 1 mapping_error = 2 db_error = 3 uncomplete_parameter = 4 put_error = 5 other_error = 6 OTHERS = 7.

DD_DATABASE_UTILITY CALL FUNCTION 'DD_DATABASE_UTILITY' EXPORTING fct = 'DEL' obj_name = lv_tabname obj_type = 'SQLT' IMPORTING subrc = lv_subrc EXCEPTIONS unexpected_error = 1 unsupported_function = 2 unsupported_obj_type = 3 table_is_locked_by_tcnv = 4 authority_check_failed = 5 abort_function = 6 conversion_error = 7 OTHERS = 8.

DD_DATABASE_UTILITY CALL FUNCTION 'DD_DATABASE_UTILITY' EXPORTING fct = 'CRE' obj_name = lv_tabname obj_type = 'SQLT' IMPORTING subrc = lv_subrc EXCEPTIONS unexpected_error = 1 unsupported_function = 2 unsupported_obj_type = 3 table_is_locked_by_tcnv = 4 authority_check_failed = 5 abort_function = 6 conversion_error = 7 OTHERS = 8.



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 CNV_TDMS_05_TI_SCHEMA_X or its description.