MV13AF0C is a standard ABAP INCLUDE 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 MV13AF0C 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: SAPMV13A module
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
SD_CONDITION_COPY_RULES CALL FUNCTION 'SD_CONDITION_COPY_RULES' EXPORTING c_user_define_rules = fflag1 IMPORTING c_goto_copy_function = goto_copy_function TABLES c_gcr_data_so = gcr_data_so c_group_copy_rules = group_copy_rules c_ivake = ivake c_cerr_tab = cerr_tab c_ivake_exclude = ivake_exclude c_t6b2f = i_t6b2f.
SD_MESSAGE_TAB_DISPLAY CALL FUNCTION 'SD_MESSAGE_TAB_DISPLAY' TABLES mb_vakecerr = cerr_tab.
SD_CONDITION_COPY_KEY CALL FUNCTION 'SD_CONDITION_COPY_KEY' TABLES c_ivake = ivake c_cvake = cvake c_copy_rules = copy_rules c_cerr_tab = cerr_tab c_ivake_exclude = ivake_exclude.
RV_T681_SELECT_AND_GENERATE CALL FUNCTION 'RV_T681_SELECT_AND_GENERATE' EXPORTING caa_kvewe = cvake-kvewe caa_kotabnr = cvake-kotabnr IMPORTING caa_t681 = t681 EXCEPTIONS not_found = 01.
ND_EXITS_ACTIVE_CHECK CALL FUNCTION 'ND_EXITS_ACTIVE_CHECK' EXCEPTIONS exits_not_active = 1 OTHERS = 2.
OPEN_FI_PERFORM_00503308_E CALL FUNCTION 'OPEN_FI_PERFORM_00503308_E' EXPORTING iv_kschl = rv13a-kschl iv_usage = rv13a-kvewe iv_kappl = rv13a-kappl iv_kotabnr = rv13a-kotabnr iv_bk_error = bk_error iv_call_mod = ' ' IMPORTING ev_subrc = bk_subrc.
SD_COND_T685_SELECT CALL FUNCTION 'SD_COND_T685_SELECT' EXPORTING cts_error = no cts_kvewe = cvake-kvewe cts_kappl = cvake-kappl cts_kschl = cvake-kschl IMPORTING cts_subrc = da_subrc cts_t685 = t685 cts_t685a = t685a cts_t685b = t685b cts_t685t = t685t.
SD_COND_T685_SELECT CALL FUNCTION 'SD_COND_T685_SELECT' EXPORTING "new heckd cts_error = no cts_kvewe = cvake-kvewe cts_kappl = cvake-kappl cts_kschl = cvake-kschl IMPORTING cts_subrc = da_subrc cts_t685 = t685 cts_t685a = t685a.
SD_RATES_COPY CALL FUNCTION 'SD_RATES_COPY' EXPORTING i_konp_old = old_konp i_konp_new = new_konp EXCEPTIONS OTHERS = 0.
SD_MESSAGE_TAB_DISPLAY CALL FUNCTION 'SD_MESSAGE_TAB_DISPLAY' TABLES mb_vakecerr = cerr_tab.
DELETE_TEXT_FROM_CATALOG CALL FUNCTION 'DELETE_TEXT_FROM_CATALOG' EXPORTING object = co_tdobject_kona name = da_tdname id = co_tdid_all language = co_tdspras_all EXCEPTIONS not_found = 1 OTHERS = 2.
SD_COND_DATE_FROM_DEFAULT CALL FUNCTION 'SD_COND_DATE_FROM_DEFAULT' EXPORTING dfd_datab = *kona-datab dfd_dtvob = t6b1-dtvob IMPORTING dfd_datab = *kona-datab.
SD_COND_DATE_TO_DEFAULT CALL FUNCTION 'SD_COND_DATE_TO_DEFAULT' EXPORTING dtd_datab = *kona-datab dtd_datbi = *kona-datbi dtd_datvo = t6b1-datvo dtb_kalid = *kona-ident2 IMPORTING dtd_datbi = *kona-datbi.
MM_T6I1_EXIST_FOR_KAPPL call function 'MM_T6I1_EXIST_FOR_KAPPL' exporting i_kappl = kappl-sales exceptions not_exists = 1.
GET_HANDLE_SD_ENH_REBATES CALL FUNCTION 'GET_HANDLE_SD_ENH_REBATES' IMPORTING e_badi_instance = l_sd_enh_rebate e_badi_active = l_badi_active.
SD_CCTRL_TEXTEDIT_PREPARE CALL FUNCTION 'SD_CCTRL_TEXTEDIT_PREPARE' EXPORTING i_repid = 'SAPMV13A' i_text_container = 'CCTRL_TEXTEDIT' i_tdobject = u_tdobject i_tdname = lo_tdname i_tdid = u_tdid i_change = lo_change IMPORTING e_titel = cctrl_textedit_title.
GUI_GET_PARENT_DYNPRO CALL FUNCTION 'GUI_GET_PARENT_DYNPRO' IMPORTING parent = parent.
SPLITTERCONTROL_CREATE CALL FUNCTION 'SPLITTERCONTROL_CREATE' EXPORTING owner_repid = owner_repid owner_dynnr = owner_dynnr dock_at = dock_at_left width = 200 CHANGING h_control = g_docking EXCEPTIONS create_error = 1 OTHERS = 2.
CALL FUNCTION 'CONTROL_FLUSH'.
TREEV_CREATE_LIST_TREE CALL FUNCTION 'TREEV_CREATE_LIST_TREE' EXPORTING owner_repid = repid dynnr = dynnr left = 0 top = 0 width = 100 * right = 10 height = 100 alignment = alignment * METRIC = CNTL_METRIC_DYNPRO no_flush = 'X' * LINK_REPID = * SHELLSTYLE = parentid = g_docking-shellid * REG_EVENT_EXPAND_NO_CHILDREN = register_event_item_dbl_click = 'X' register_event_node_dbl_click = 'X' * REGISTER_EVENT_HEADER_CLICK = * REGISTER_EVENT_NODE_CONTEXT_M = register_event_item_context_m = 'X' * REGISTER_EVENT_LINK_CLICK = * REGISTER_EVENT_CHECKBOX_CHANGE = * REGISTER_EVENT_BUTTON_CLICK = * REGISTER_EVENT_SEL_CHANGE = with_headers = ' ' item_selection = 'X' node_selection_mode = treev_node_sel_mode_single * TABLES * NODE_TABLE = * ITEM_TABLE = CHANGING handle = g_tree EXCEPTIONS OTHERS = 16.
TREEV_EVENT_CB_ITEM_DBL_CLK CALL FUNCTION 'TREEV_EVENT_CB_ITEM_DBL_CLK' EXPORTING callback_form = 'HANDLE_TREE_ITEM_DBL_CLK' CHANGING handle = g_tree EXCEPTIONS OTHERS = 4.
TREEV_EVENT_CB_NODE_DBL_CLK CALL FUNCTION 'TREEV_EVENT_CB_NODE_DBL_CLK' EXPORTING callback_form = 'HANDLE_TREE_NODE_DBL_CLK' CHANGING handle = g_tree EXCEPTIONS OTHERS = 4.
TREEV_EVENT_CB_ITEM_CONTEXT_M CALL FUNCTION 'TREEV_EVENT_CB_ITEM_CONTEXT_M' EXPORTING callback_form = 'HANDLE_TREE_CB_ITEM_CONTEXT_M' CHANGING handle = g_tree EXCEPTIONS OTHERS = 7.
TREEV_EVENT_CB_NODE_CONTEXT_M CALL FUNCTION 'TREEV_EVENT_CB_NODE_CONTEXT_M' EXPORTING callback_form = 'HANDLE_TREE_NODE_CONTEXT_MENU' CHANGING handle = g_tree EXCEPTIONS cb_not_found = 1 OTHERS = 2.
TREEV_ADD_NODES_AND_ITEMS CALL FUNCTION 'TREEV_ADD_NODES_AND_ITEMS' EXPORTING handle = g_tree item_table_structure_name = 'MTREEITM' * NO_FLUSH = TABLES node_table = node_table item_table = item_table EXCEPTIONS OTHERS = 9.
BMENU_MENU_TREE_GET CALL FUNCTION 'BMENU_MENU_TREE_GET' EXPORTING menu_id = itab_bmen-bmenextkey TABLES menu_tree = itab_bmeninterface EXCEPTIONS OTHERS = 2.
TREEV_GET_EP_NODE_DBL_CLK CALL FUNCTION 'TREEV_GET_EP_NODE_DBL_CLK' EXPORTING handle = g_tree IMPORTING node_key = node_key EXCEPTIONS failed = 1 cntl_system_error = 2 OTHERS = 3.
TREEV_GET_EP_ITEM_DBL_CLK CALL FUNCTION 'TREEV_GET_EP_ITEM_DBL_CLK' EXPORTING handle = g_tree IMPORTING node_key = node_key item_name = item_name EXCEPTIONS failed = 1 cntl_system_error = 2 OTHERS = 3.
TREEV_GET_EP_NODE_CONTEXT_MEN CALL FUNCTION 'TREEV_GET_EP_NODE_CONTEXT_MEN' EXPORTING handle = g_tree IMPORTING node_key = node_key EXCEPTIONS failed = 1 OTHERS = 2.
TREEV_GET_EP_ITEM_CONTEXT_MEN CALL FUNCTION 'TREEV_GET_EP_ITEM_CONTEXT_MEN' EXPORTING handle = g_tree IMPORTING node_key = node_key item_name = item_name EXCEPTIONS failed = 1 cntl_system_error = 2 OTHERS = 3.
GUI_GET_PARENT_DYNPRO CALL FUNCTION 'GUI_GET_PARENT_DYNPRO' IMPORTING parent = if_parent EXCEPTIONS error = 01.
FORMPAINTER_CREATE_MENU CALL FUNCTION 'FORMPAINTER_CREATE_MENU' EXPORTING owner_repid = repid dynnr = dynnr parentid = if_parent CHANGING handle = menu_handle EXCEPTIONS create_error = 01.
FORMPAINTER_DISPLAY_MENU CALL FUNCTION 'FORMPAINTER_DISPLAY_MENU' EXPORTING handle = menu_handle IMPORTING selected_id = my_id TABLES menutable = mousemenu EXCEPTIONS control_error = 01.
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 MV13AF0C or its description.