CNV_MBT_RULES_CHANGE 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_RULES_CHANGE 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.
Selection Text: GP_RULES = Rules
Selection Text: P_ALL = Redefine All Rules
Selection Text: P_PACK = Package
Selection Text: P_PHASE = Phase
Title: Change already existing rules in the DTL environment
Text Symbol: 001 = Rules to be changed
INCLUDE: CNV_MBT_SM_MACROS,
No SAP DATABASE tables are accessed within this REPORT code!
CNV_MBT_L_STATE_INSERT CALL FUNCTION 'CNV_MBT_L_STATE_INSERT' EXPORTING im_packid = p_pack im_phase = p_phase im_activity = p_act_id im_only_initial = 'X' EXCEPTIONS insert_failed = 1 connection_failed = 2 OTHERS = 3.
CNV_MBT_RFC_GET CALL FUNCTION 'CNV_MBT_RFC_GET' EXPORTING packid = p_pack exec_target = 'C' IMPORTING destination_id = gd_dest EXCEPTIONS no_destinations_for_packid = 1 no_specific_destination_type = 2 OTHERS = 3.
DTL_RULES_RESET CALL FUNCTION 'DTL_RULES_RESET' DESTINATION gd_dest EXPORTING i_project = gd_cnvmbtsubproject-project i_subproject = gd_cnvmbtsubproject-subproject i_packid = p_pack i_session_id = gd_sess_id i_tadir = 'X' " ???????? IMPORTING e_lognumber = gd_lognumber e_status = gd_dtl_status TABLES it_rulelist = gt_rulelist EXCEPTIONS communication_failure = 98 MESSAGE gd_msgtext system_failure = 99 MESSAGE gd_msgtext.
CNV_MBT_PC_CHECK_PROG CALL FUNCTION 'CNV_MBT_PC_CHECK_PROG' DESTINATION gd_dest EXPORTING progname = gd_rulelist-include_name EXCEPTIONS prog_noexist = 1 communication_failure = 98 MESSAGE gd_msgtext system_failure = 99 MESSAGE gd_msgtext.
CNV_MBT_INCLUDES_COMPARE CALL FUNCTION 'CNV_MBT_INCLUDES_COMPARE' EXPORTING incl_name = gd_rulelist-include_name packid = p_pack update_cnvmbtincl = 'X' IMPORTING msgtext = gd_msgtext subrc = gd_subrc EXCEPTIONS includes_not_equal = 1 OTHERS = 2.
DTL_RULES_DEFINE CALL FUNCTION 'DTL_RULES_DEFINE' DESTINATION gd_dest EXPORTING i_project = gd_cnvmbtsubproject-project i_subproject = gd_cnvmbtsubproject-subproject i_packid = p_pack i_session_id = gd_sess_id i_tadir = 'X' IMPORTING e_lognumber = gd_lognumber e_status = gd_dtl_status TABLES it_rulelist = gt_rulelist it_ruleparams = gt_ruleparams it_rulecoding = gt_rulecoding EXCEPTIONS communication_failure = 98 MESSAGE gd_msgtext system_failure = 99 MESSAGE gd_msgtext.
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 IMPORTING ex_jobs_free = gd_jobs EXCEPTIONS communication_failure = 98 MESSAGE gd_msgtext system_failure = 99 MESSAGE gd_msgtext OTHERS = 1 .
DTL_MT_CONVOBJS_RESET CALL FUNCTION 'DTL_MT_CONVOBJS_RESET' DESTINATION gd_dest EXPORTING im_mode = 'E' im_applic = 'SLO' im_mt_id = gd_cnvmbtsubproject-mtid im_no_of_jobs = ld_jobs im_packid = p_pack im_session_id = gd_sess_id i_tadir = 'X' IMPORTING ex_lognumber = gd_lognumber TABLES it_tables = gr_cobjs_to_delete EXCEPTIONS communication_failure = 98 MESSAGE gd_msgtext system_failure = 99 MESSAGE gd_msgtext.
DTL_MT_CONVOBJS_RESET CALL FUNCTION 'DTL_MT_CONVOBJS_RESET' DESTINATION gd_dest EXPORTING im_mode = 'S' im_session_id = gd_sess_id TABLES et_status = gt_dtl_status EXCEPTIONS communication_failure = 98 MESSAGE gd_msgtext system_failure = 99 MESSAGE gd_msgtext.
DTL_MT_CONVOBJS_RESET CALL FUNCTION 'DTL_MT_CONVOBJS_RESET' DESTINATION gd_dest EXPORTING im_mode = 'L' im_session_id = gd_sess_id TABLES et_lognumbers = gt_lognumbers EXCEPTIONS communication_failure = 98 MESSAGE gd_msgtext system_failure = 99 MESSAGE gd_msgtext.
CNV_MBT_L_SUBSTATE_WRITE CALL FUNCTION 'CNV_MBT_L_SUBSTATE_WRITE' EXPORTING packid = p_pack TABLES im_cnvmbtsubstate = gt_cnvmbtsubstate EXCEPTIONS update_failed = 1 no_destination = 2 no_pcl_destination = 3 destination_calling_error = 4 pcl_update_failed = 5 rfc_failure = 6 OTHERS = 7.
CNV_MBT_L_SUBSTATE_WRITE CALL FUNCTION 'CNV_MBT_L_SUBSTATE_WRITE' EXPORTING packid = p_pack TABLES im_cnvmbtsubstate = gt_cnvmbtsubstate EXCEPTIONS update_failed = 1 no_destination = 2 no_pcl_destination = 3 destination_calling_error = 4 pcl_update_failed = 5 rfc_failure = 6 OTHERS = 7.
CNV_MBT_L_STATE_UPDATE CALL FUNCTION 'CNV_MBT_L_STATE_UPDATE' EXPORTING packid = p_pack phase = p_phase activity_id = p_act_id state_log = gd_state_log aborted = gd_aborted EXCEPTIONS update_failed = 1 OTHERS = 2.
CNV_MBT_L_STATE_CLEAR_GLOBALS CALL FUNCTION 'CNV_MBT_L_STATE_CLEAR_GLOBALS' EXCEPTIONS OTHERS = 1.
CNV_MBT_L_STATE_FINISH CALL FUNCTION 'CNV_MBT_L_STATE_FINISH' EXPORTING packid = p_pack phase = p_phase activity_id = p_act_id EXCEPTIONS update_failed = 1 OTHERS = 2.
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_RULES_CHANGE - Change already existing rules in the DTL environment CNV_MBT_RULES_CHANGE - Change already existing rules in the DTL environment CNV_MBT_RULESDEF_TOP - Include to hold all global variables of the rules platform CNV_MBT_RULESDEF_RULECODING - Include CNV_MBT_RULESDEF_RULECODING CNV_MBT_RFC_UNLOCK_LOCK_DEST - Show and maintain lock status CNV_MBT_RFC_UNLOCK_LOCK_DEST - Show and maintain lock status