CNV_MBT_09_START_JOBS_SA 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_09_START_JOBS_SA 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: MBT PCL: State Agent for starting activities
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
CNV_MBT_L_STATE_GET CALL FUNCTION 'CNV_MBT_L_STATE_GET' EXPORTING packid = p_pack phase = p_phase activity_id = p_act_id all_as_table = 'X' IMPORTING state_tec = gd_state_tec aborted = gd_aborted last_exec_num = gd_exec_num TABLES t_ex_cnvmbtstate = gt_cnvmbtstate EXCEPTIONS entry_does_not_exist = 1 OTHERS = 2.
CNV_MBT_RFC_PCL CALL FUNCTION 'CNV_MBT_RFC_PCL' EXPORTING packid = p_pack IMPORTING destination_id = gv_dest_pcl EXCEPTIONS no_destinations_for_packid = 1 no_pcl_destination_for_packid = 2 OTHERS = 3.
CNV_MBT_STATE_UPDATE CALL FUNCTION 'CNV_MBT_STATE_UPDATE' DESTINATION gv_dest_pcl EXPORTING im_cnvmbtstate = gs_cnvmbtstate EXCEPTIONS err_in_central_state_manag = 1 OTHERS = 2.
BP_JOB_CHECKSTATE CALL FUNCTION 'BP_JOB_CHECKSTATE' EXPORTING dialog = 'N' jobcount = gs_cnvmbtstate-jobcount jobname = gs_cnvmbtstate-jobname IMPORTING actual_status = gd_jobstatus EXCEPTIONS checking_of_job_has_failed = 1 correcting_job_status_failed = 2 invalid_dialog_type = 3 job_does_not_exist = 4 no_check_privilege_given = 5 ready_switch_too_dangerous = 6 OTHERS = 7.
CNV_MBT_RFC_PCL CALL FUNCTION 'CNV_MBT_RFC_PCL' EXPORTING packid = p_pack IMPORTING destination_id = gv_dest_pcl EXCEPTIONS no_destinations_for_packid = 1 no_pcl_destination_for_packid = 2 OTHERS = 3.
CNV_MBT_STATE_UPDATE CALL FUNCTION 'CNV_MBT_STATE_UPDATE' DESTINATION gv_dest_pcl EXPORTING im_cnvmbtstate = gs_cnvmbtstate EXCEPTIONS err_in_central_state_manag = 1 OTHERS = 2.
CNV_MBT_L_SUBSTATE_REFRESH CALL FUNCTION 'CNV_MBT_L_SUBSTATE_REFRESH' EXPORTING session_id = gs_cnvmbtstate-session_id destination = gs_cnvmbtstate-destination TABLES et_cnvmbtsubstate = lt_cnvmbtsubstate EXCEPTIONS no_subactivities = 1 state_refresh_failed = 2 OTHERS = 3.
CNV_MBT_L_STATE_REFRESH CALL FUNCTION 'CNV_MBT_L_STATE_REFRESH' TABLES im_cnvmbtstate = gt_cnvmbtstate.
ENQUEUE_ECNVMBTSUBSTATE CALL FUNCTION 'ENQUEUE_ECNVMBTSUBSTATE' EXPORTING mode_cnvmbtsubstate = 'E' client = sy-mandt session_id = ld_cnvmbtsubstate-session_id * subact_id = '' * task_id = '' EXCEPTIONS foreign_lock = 1 system_failure = 2 OTHERS = 3.
CNV_MBT_L_STATE_SESSION_INFO CALL FUNCTION 'CNV_MBT_L_STATE_SESSION_INFO' EXPORTING im_session_id = gs_cnvmbtstate-session_id activity_info = 'X' subactivity_info = 'X' IMPORTING ex_cnvmbtstate = gs_cnvmbtstate TABLES t_ex_cnvmbtsubstate = lt_cnvmbtsubstate.
ENQUEUE_ECNVMBTSUBSTATE * CALL FUNCTION 'ENQUEUE_ECNVMBTSUBSTATE' * EXPORTING * mode_cnvmbtsubstate = 'E' * client = sy-mandt * session_id = ld_cnvmbtsubstate-session_id * subact_id = ld_cnvmbtsubstate-subact_id * task_id = ld_cnvmbtsubstate-task_id * EXCEPTIONS * foreign_lock = 1 * system_failure = 2 * OTHERS = 3.
DEQUEUE_ECNVMBTSUBSTATE * CALL FUNCTION 'DEQUEUE_ECNVMBTSUBSTATE' * EXPORTING * mode_cnvmbtsubstate = 'E' * client = sy-mandt * session_id = ld_cnvmbtsubstate-session_id * subact_id = ld_cnvmbtsubstate-subact_id * task_id = ld_cnvmbtsubstate-task_id * EXCEPTIONS * OTHERS = 1.
DB_COMMIT * CALL FUNCTION 'DB_COMMIT' * EXCEPTIONS * OTHERS = 1.
CNV_MBT_RFC_PCL CALL FUNCTION 'CNV_MBT_RFC_PCL' EXPORTING packid = p_pack IMPORTING destination_id = gv_dest_pcl EXCEPTIONS no_destinations_for_packid = 1 no_pcl_destination_for_packid = 2 OTHERS = 3.
CNV_MBT_SUBSTATE_WRITE CALL FUNCTION 'CNV_MBT_SUBSTATE_WRITE' DESTINATION gv_dest_pcl TABLES im_cnvmbtsubstate = lt_cnvmbtsubstate EXCEPTIONS update_failed = 1 OTHERS = 2 .
DEQUEUE_ECNVMBTSUBSTATE CALL FUNCTION 'DEQUEUE_ECNVMBTSUBSTATE' EXPORTING mode_cnvmbtsubstate = 'E' client = sy-mandt session_id = ld_cnvmbtsubstate-session_id * subact_id = '' * task_id = '' EXCEPTIONS OTHERS = 1.
DB_COMMIT CALL FUNCTION 'DB_COMMIT' EXCEPTIONS OTHERS = 1.
ENQUEUE_ECNVMBTSUBSTATE ENDIF. "if sy-subrc = 0 of CALL FUNCTION 'ENQUEUE_ECNVMBTSUBSTATE'
CALL FUNCTION 'CNV_MBT_RFC_PCL' EXPORTING packid = p_pack IMPORTING destination_id = ld_pcl_destid EXCEPTIONS no_destinations_for_packid = 1 no_pcl_destination_for_packid = 2 OTHERS = 3.
CNV_MBT_STATE_UPDATE CALL FUNCTION 'CNV_MBT_STATE_UPDATE' DESTINATION ld_pcl_destid EXPORTING im_cnvmbtstate = ls_cnvmbtstate EXCEPTIONS err_in_central_state_manag = 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.
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_09_START_JOBS_SA or its description.
CNV_MBT_09_START_JOBS_SA - MBT PCL: State Agent for starting activities CNV_MBT_09_START_JOBS_SA - MBT PCL: State Agent for starting activities CNV_MBT_09_DEL_SWITCH_NEW - Report CNV_MBT_09_DEL_SWITCH CNV_MBT_09_DEL_SWITCH_NEW - Report CNV_MBT_09_DEL_SWITCH CNV_MBT_09_DEL_SWITCH - Report CNV_MBT_09_DEL_SWITCH CNV_MBT_09_DEL_SWITCH - Report CNV_MBT_09_DEL_SWITCH