SAP Reports / Programs

CNV_MBT_DEL_DELETE_TABLE SAP ABAP Report - Generate programs for drop solution







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


Text pool values


Selection Text: GP_DEL = Delete old programs
Selection Text: GP_SLETT = Distinguish. letter prog name
Selection Text: GP_UNCND = Create even with syntax error
Selection Text: GS_TABS = Table name
Selection Text: P_ACT_ID = Actvity ID
Selection Text: P_PACK = Package ID
Selection Text: P_PHASE = Phase
Title: Generate programs for drop solution
Text Symbol: 001 = Choice of programs for generation
Text Symbol: 002 = Attributes of the programs for generation
Text Symbol: 003 = Program handling
Text Symbol: 004 = Expert mode
Text Symbol: 005 = Deletion program for Table &1
Text Symbol: 006 = Test run - no change to DB
Text Symbol: 010 = Continue generation?
Text Symbol: 011 = Continue generation anyway?
Text Symbol: 020 = Old programs are deleted.


INCLUDES used within this REPORT CNV_MBT_DEL_DELETE_TABLE

INCLUDE CNV_MBT_SM_MACROS.


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:

POPUP_TO_CONFIRM_STEP * CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' * EXPORTING * defaultoption = 'N' * textline1 = text-011 * titel = text-010 * IMPORTING * answer = gd_slett_decision * EXCEPTIONS * OTHERS = 1.

CNV_MBT_L_STATE_UPDATE CALL FUNCTION 'CNV_MBT_L_STATE_UPDATE' EXPORTING packid = p_pack phase = p_phase activity_id = p_act_id proc_total = gd_all_tables proc_compl = gd_proc_tables EXCEPTIONS OTHERS = 1.

DB_COMMIT CALL FUNCTION 'DB_COMMIT'.

DDIF_FIELDINFO_GET CALL FUNCTION 'DDIF_FIELDINFO_GET' EXPORTING tabname = ld_tabname IMPORTING x030l_wa = lp_x030l TABLES dfies_tab = lp_dfies EXCEPTIONS not_found = 1 internal_error = 2 OTHERS = 3.

DDIF_STATE_GET CALL FUNCTION 'DDIF_STATE_GET' EXPORTING type = 'VIEW' name = lp_viewname IMPORTING gotstate = ld_view_exists.

CNV_MBT_VIEW_DELETE CALL FUNCTION 'CNV_MBT_VIEW_DELETE' EXPORTING viewname = lp_viewname devclass = gc_devclass.

CNV_MBT_VIEW_CREATE CALL FUNCTION 'CNV_MBT_VIEW_CREATE' EXPORTING viewname = lp_viewname use_row_id = lp_use_rowid TABLES viewfields = lt_dd27d EXCEPTIONS OTHERS = 1.

TR_TADIR_INTERFACE CALL FUNCTION 'TR_TADIR_INTERFACE' EXPORTING wi_test_modus = space wi_tadir_pgmid = 'R3TR' wi_tadir_object = lp_type wi_tadir_obj_name = lp_objname wi_tadir_devclass = gc_devclass wi_set_genflag = 'T' EXCEPTIONS OTHERS = 1.

EDITOR_SYNTAX_CHECK CALL FUNCTION 'EDITOR_SYNTAX_CHECK' EXPORTING i_program = lp_progname i_trdir = ld_trdir IMPORTING o_error_subrc = ld_syntax_error TABLES i_source = lp_abapsource.

PROFILE_LANGUAGE_GET_INFO CALL FUNCTION 'PROFILE_LANGUAGE_GET_INFO' TABLES instlang = lt_t002t EXCEPTIONS instlang_entries_not_found = 1 syslang_entry_not_found = 2 OTHERS = 3.

RS_DELETE_PROGRAM CALL FUNCTION 'RS_DELETE_PROGRAM' EXPORTING program = lp_progname suppress_checks = 'X' suppress_popup = 'X' EXCEPTIONS enqueue_lock = 1 object_not_found = 2 permission_failure = 3 reject_deletion = 4 OTHERS = 5.

CNV_MBT_GP_GET_GP_VALUE CALL FUNCTION 'CNV_MBT_GP_GET_GP_VALUE' EXPORTING ip_global_parameter = lc_global_parameter IMPORTING ep_low = ld_low ep_high = ld_high * ep_soption = ld_soption * ep_multiple_entries = ' ' TABLES et_cnvmbtparams = t_cnvmbtparams EXCEPTIONS gp_no_valid_found = 1 no_client_or_all = 2 gp_no_value_found = 3 OTHERS = 4.

CNV_TDMS_09_SAVE_NO_USED_INDEX CALL FUNCTION 'CNV_TDMS_09_SAVE_NO_USED_INDEX' EXPORTING ip_packid = p_packid TABLES t_prog = pt_prog EXCEPTIONS no_packid = 1 OTHERS = 2.



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