SAP Reports / Programs

CNV_TDMS_05_INDEX SAP ABAP Report - Drop / re-create index







CNV_TDMS_05_INDEX 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_INDEX 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_INDEX. "Basic submit
SUBMIT CNV_TDMS_05_INDEX AND RETURN. "Return to original report after report execution complete
SUBMIT CNV_TDMS_05_INDEX 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: INDEX = Index Name (to be created)
Selection Text: P_ALL = Delete All indexes
Selection Text: P_PACK = Package
Selection Text: P_UNI = Delete Non-unique only
Selection Text: TABLE = Table
Title: Drop / re-create index
Text Symbol: 001 = Action
Text Symbol: 002 = Index Deletion
Text Symbol: 003 = SAP Recommended Tables
Text Symbol: 004 = Table
Text Symbol: 005 = SAP Recommendation
Text Symbol: 007 = Add to Selected
Text Symbol: 008 = Index


INCLUDES used within this REPORT CNV_TDMS_05_INDEX

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:

CNV_MBT_PC_ACTPARAMS_GET CALL FUNCTION 'CNV_MBT_PC_ACTPARAMS_GET' EXPORTING packid = p_pack activity_id = p_act_id gen_flag = 'X' EXCEPTIONS no_actparams = 1 OTHERS = 2.

CNV_MBT_RFC_GET CALL FUNCTION 'CNV_MBT_RFC_GET' EXPORTING packid = p_pack exec_target = 'R' all_as_table = '' IMPORTING destination_id = lv_dest EXCEPTIONS no_destinations_for_packid = 1 no_specific_destination_type = 2 OTHERS = 3.

CNV_MBT_ADM_MAX_JOBS_GET CALL FUNCTION 'CNV_MBT_ADM_MAX_JOBS_GET' EXPORTING packid = p_pack exec_target = 'R' phase = p_phase activity_id = p_act_id IMPORTING ex_jobs_free = lv_jobs EXCEPTIONS get_pcl_destination_error = 1 get_jobs_control_error = 2 rfc_failure = 3.

CNV_MBT_PC_PROG_START_BGR CALL FUNCTION 'CNV_MBT_PC_PROG_START_BGR' DESTINATION lv_dest EXPORTING progname = lc_prog_r job_name = lc_drop_job IMPORTING jobcount = ls_substate-jobcount TABLES lt_params = lt_params EXCEPTIONS program_does_not_exist = 1 no_authority = 2 scheduling_error = 3 communication_failure = 98 MESSAGE gd_msgtext system_failure = 99 MESSAGE gd_msgtext OTHERS = 4.

CNV_MBT_SUBPARAMS_SET CALL FUNCTION 'CNV_MBT_SUBPARAMS_SET' TABLES t_im_subact_params = lt_subparams EXCEPTIONS modify_subparams_error = 1 calling_of_function_error = 2 delete_subparams_error = 3 OTHERS = 4.

CNV_MBT_SUBPARAMS_SET CALL FUNCTION 'CNV_MBT_SUBPARAMS_SET' DESTINATION lv_dest TABLES t_im_subact_params = lt_subparams EXCEPTIONS modify_subparams_error = 1 calling_of_function_error = 2 delete_subparams_error = 3 OTHERS = 4.

CNV_MBT_SUBACT_JOBS_CREATE CALL FUNCTION 'CNV_MBT_SUBACT_JOBS_CREATE' DESTINATION lv_dest EXPORTING program_starter = 'CNV_MBT_SUBACT_JOBS_START' TABLES im_cnvmbtsubstate = lt_substate EXCEPTIONS scheduling_error = 1 modify_substate_error = 2 program_execution_failed = 3 OTHERS = 4.

CNV_MBT_PC_PROG_START CALL FUNCTION 'CNV_MBT_PC_PROG_START' DESTINATION lv_dest EXPORTING progname = 'CNV_MBT_SUBACT_JOBS_START' TABLES lt_params = lt_params EXCEPTIONS program_does_not_exist = 1 program_execution_failed = 2 no_authority = 3 OTHERS = 4.

CNV_MBT_PACK_PROC_TREE_GRP_CHG CALL FUNCTION 'CNV_MBT_PACK_PROC_TREE_GRP_CHG' EXPORTING im_packid = p_pack im_used_variant = lc_variant EXCEPTIONS invalid_call = 1 invalid_variant = 2 operation_failed = 3 OTHERS = 4.

CNV_TDMS_SET_GET_STATE CALL FUNCTION 'CNV_TDMS_SET_GET_STATE' EXPORTING gd_packid = p_pack gd_phase = p_phase gd_act_id = p_act_id EXCEPTIONS insert_error = 1 rfc_error = 2 OTHERS = 3.

CNV_TDMS_05_VALIDATE_TABLE CALL FUNCTION 'CNV_TDMS_05_VALIDATE_TABLE' DESTINATION lv_dest TABLES t_read = table t_get = lt_tab EXCEPTIONS no_table = 1 OTHERS = 2.

LVC_VARIANT_DEFAULT_GET CALL FUNCTION 'LVC_VARIANT_DEFAULT_GET' EXPORTING i_save = 'A' CHANGING cs_variant = gs_variant EXCEPTIONS wrong_input = 1 not_found = 2 program_error = 3 OTHERS = 4.

CNV_MBT_RFC_GET CALL FUNCTION 'CNV_MBT_RFC_GET' EXPORTING packid = p_pack exec_target = 'S' all_as_table = '' IMPORTING destination_id = lv_snd_dest EXCEPTIONS no_destinations_for_packid = 1 no_specific_destination_type = 2 OTHERS = 3.

DMC_DDIF_TABL_GET_WRAPPER CALL FUNCTION 'DMC_DDIF_TABL_GET_WRAPPER' DESTINATION lv_snd_dest EXPORTING name = -tabname TABLES dd03p_tab = lt_dd03p EXCEPTIONS illegal_input = 1 undefined_error = 2 no_fields = 3 OTHERS = 4.



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