CNV_MBT_CHECK_BEFORE_DATA_LOAD 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_CHECK_BEFORE_DATA_LOAD 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: Last checks before starting the data load
INCLUDE CNV_MBT_SM_PARAMS.
INCLUDE CNV_MBT_SM_MACROS.
FORM COMPARE_INCLUDES.
No SAP DATABASE tables are accessed within this REPORT code!
CNV_MBT_PCL_DTL_COMPARE CALL FUNCTION 'CNV_MBT_PCL_DTL_COMPARE' EXPORTING packid = p_pack TABLES changed_cobjs = gt_convobjects EXCEPTIONS OTHERS = 1.
CNV_MBT_RFC_GET CALL FUNCTION 'CNV_MBT_RFC_GET' EXPORTING packid = p_pack exec_target = 'C' all_as_table = '' none_at_local_dest = 'X' IMPORTING destination_id = gd_dest EXCEPTIONS no_destinations_for_packid = 1 no_specific_destination_type = 2 get_system_info_failure = 3 rfc_failure = 4 system_info_has_changed = 5 OTHERS = 6.
DTL_MT_STATUS_CHECK CALL FUNCTION 'DTL_MT_STATUS_CHECK' DESTINATION gd_dest EXPORTING i_mt_id = gd_cnvmbtsubproject-mtid i_process_step = 'G' TABLES et_mt_status = gt_cobjs_not_generated.
CNV_MBT_GET_PRECALC_OBJECTS CALL FUNCTION 'CNV_MBT_GET_PRECALC_OBJECTS' EXPORTING iv_packid = p_pack iv_no_header_tables = 'X' TABLES et_precalcobj = lt_precalcobj EXCEPTIONS rfc_problems = 1 OTHERS = 2.
CNV_MBT_ADM_MAX_JOBS_GET CALL FUNCTION 'CNV_MBT_ADM_MAX_JOBS_GET' DESTINATION gd_dest EXPORTING packid = p_pack exec_target = 'C' phase = p_phase activity_id = p_act_id scheduler_mode = sy-batch IMPORTING ex_jobs_free = gd_jobs EXCEPTIONS communication_failure = 98 MESSAGE gd_msgtext system_failure = 99 MESSAGE gd_msgtext OTHERS = 1.
DTL_MT_COMPARE_DDIC_TIMESTAMP CALL FUNCTION 'DTL_MT_COMPARE_DDIC_TIMESTAMP' DESTINATION gd_dest EXPORTING i_mode = 'E' i_applic = 'SLO' i_mt_id = gd_cnvmbtsubproject-mtid i_packid = p_pack i_session_id = gd_sess_id i_no_of_jobs = ld_jobs IMPORTING e_lognumber = gd_lognumber EXCEPTIONS communication_failure = 98 MESSAGE gd_msgtext system_failure = 99 MESSAGE gd_msgtext.
CNV_MBT_L_SUBPROT_WRITE_DB CALL FUNCTION 'CNV_MBT_L_SUBPROT_WRITE_DB' EXCEPTIONS OTHERS = 1.
CNV_MBT_PC_ACTIVITY_START CALL FUNCTION 'CNV_MBT_PC_ACTIVITY_START' EXPORTING packid = p_pack phase = p_phase activity_id = ld_state_agent and_return = 'X' EXCEPTIONS transaction_does_not_exist = 1 program_does_not_exist = 2 no_authority = 3 scheduling_error = 4 variant_not_maintained = 5 destination_not_maint = 6 activity_log_error = 7 OTHERS = 8.
CNV_MBT_L_SUBSTATE_WRITE CALL FUNCTION 'CNV_MBT_L_SUBSTATE_WRITE' EXPORTING packid = p_pack TABLES im_cnvmbtsubstate = gt_substate EXCEPTIONS OTHERS = 1.
CNV_MBT_INCLUDES_COMPARE CALL FUNCTION 'CNV_MBT_INCLUDES_COMPARE' EXPORTING incl_name = ld_cnvmbtincl-include_name packid = p_pack only_trdir = 'X' IMPORTING msgtext = gd_msgtext subrc = ld_subrc EXCEPTIONS includes_not_equal = 1 OTHERS = 2.
CNV_MBT_RFC_GET CALL FUNCTION 'CNV_MBT_RFC_GET' EXPORTING packid = p_pack all_as_table = 'X' none_at_local_dest = '' TABLES desttab = lt_desttab EXCEPTIONS no_destinations_for_packid = 1 no_specific_destination_type = 2 get_system_info_failure = 3 rfc_failure = 4 system_info_has_changed = 5 OTHERS = 6.
RFCDES2RFCDISPLAY CALL FUNCTION 'RFCDES2RFCDISPLAY' EXPORTING import_rfcdes = ls_rfcdes IMPORTING export_rfcdisplay = ls_rfcdisplay EXCEPTIONS OTHERS = 1.
AUTHORITY_CHECK CALL FUNCTION 'AUTHORITY_CHECK' DESTINATION lt_desttab-destination_id EXPORTING field1 = 'ACTVT' object = 'S_DMC_S_R' user = ls_rfcdisplay-rfcuser value1 = ls_value field2 = '' value2 = '' field3 = '' value3 = '' EXCEPTIONS user_dont_exist = 1 user_is_authorized = 2 user_not_authorized = 3 user_is_locked = 4 communication_failure = 98 MESSAGE gd_msgtext system_failure = 99 MESSAGE gd_msgtext OTHERS = 5.
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.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
CNV_MBT_CHECK_BEFORE_DATA_LOAD - Last checks before starting the data load CNV_MBT_CHECK_BEFORE_DATA_LOAD - Last checks before starting the data load CNV_MBT_CHECK - MBT Checks CNV_MBT_CHECK - MBT Checks CNV_MBT_CHANGE_UI_DESIGN - MBT PCL - Change User Interface design Settings CNV_MBT_CHANGE_UI_DESIGN - MBT PCL - Change User Interface design Settings