MIHIXF40 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 MIHIXF40 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.
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
MATERIAL_READ CALL FUNCTION 'MATERIAL_READ' EXPORTING schluessel = mtcom IMPORTING return = mtcor matdaten = minst TABLES seqmat01 = h_dummytab EXCEPTIONS material_not_found = 4.
EQUIPMENT_READ CALL FUNCTION 'EQUIPMENT_READ' EXPORTING equi_no = r_object_equi-equnr reading_date = g_datum IMPORTING eqkt = eqkt equi = equi equz = equz iloa = iloa EXCEPTIONS eqkt_not_found = 1 equi_not_found = 4 equz_not_found = 8 iloa_not_found = 12.
AUTHORITY_CHECK_EQUI CALL FUNCTION 'AUTHORITY_CHECK_EQUI' EXPORTING w_equi = equi w_equz = equz w_iloa = iloa tcode = 'IE03' i_tcode_check = ' ' i_call_badi = 'X'.
FUNC_LOCATION_ARRAY CALL FUNCTION 'FUNC_LOCATION_ARRAY' EXPORTING selfield = 'TPLNR' tabstructure = 'IFLO' TABLES iflo_sel = h_iflo_sel iflo_tab = h_iflo_tab EXCEPTIONS no_entry_found = 4.
AUTHORITY_CHECK_IFLO CALL FUNCTION 'AUTHORITY_CHECK_IFLO' EXPORTING iflo_wa = h_iflo_tab tcode = 'IL03' i_tcode_check = ' '.
REF_LOCATION_ARRAY CALL FUNCTION 'REF_LOCATION_ARRAY' EXPORTING selfield = 'TRPNR' tabstructure = 'IRLO' TABLES irlo_sel = h_irlo_sel irlo_tab = h_irlo_tab EXCEPTIONS no_entry_found = 4.
AUTHORITY_CHECK_IRLO CALL FUNCTION 'AUTHORITY_CHECK_IRLO' EXPORTING irlo_wa = h_irlo_tab tcode = 'IL13' i_tcode_check = ' '.
CS_BOM_EXPL_EQU_V2 CALL FUNCTION 'CS_BOM_EXPL_EQU_V2' EXPORTING werks = h_werks capid = tc04-capid datuv = g_datum eqnrv = r_object_equi-equnr stkkz = g_stkkz sanin = g_sanin mehrs = g_bom_mehrs mmory = l_mmory "1046697 emeng = l_emeng TABLES stb = h_stb matcat = h_matcat EXCEPTIONS missing_authorization = 01 no_bom_found = 02 no_suitable_bom_found = 02 OTHERS = 03.
CS_BOM_EXPL_TPL_V1 CALL FUNCTION 'CS_BOM_EXPL_TPL_V1' EXPORTING werks = h_werks capid = tc04-capid datuv = g_datum tpnrv = r_object_iflo-tplnr stkkz = g_stkkz sanin = g_sanin mehrs = g_bom_mehrs mmory = l_mmory "1046697 emeng = l_emeng TABLES stb = h_stb matcat = h_matcat EXCEPTIONS missing_authorization = 01 no_bom_found = 02 no_suitable_bom_found = 02 OTHERS = 03.
CS_BOM_EXPL_MAT_V2 CALL FUNCTION 'CS_BOM_EXPL_MAT_V2' EXPORTING cuobj = h_cuobj capid = tc04-capid datuv = g_datum mtnrv = r_object_mara-matnr werks = h_werks stkkz = g_stkkz sanin = g_sanin mehrs = g_bom_mehrs mmory = l_mmory emeng = l_emeng IMPORTING topmat = topmat_wa TABLES stb = h_stb matcat = h_matcat EXCEPTIONS missing_authorization = 01 no_bom_found = 02 no_suitable_bom_found = 03 material_not_found = 04 OTHERS = 05.
FUNC_LOCATION_ARRAY CALL FUNCTION 'FUNC_LOCATION_ARRAY' EXPORTING selfield = 'TPLMA' tabstructure = 'IFLO' TABLES iflo_sel = h_iflo_sel iflo_tab = h_iflo_tab EXCEPTIONS no_entry_found = 4.
ILOX_IFLOS_BUFFER_FILL CALL FUNCTION 'ILOX_IFLOS_BUFFER_FILL' CHANGING ct_tp_info = h_tp_info EXCEPTIONS OTHERS = 1.
AUTHORITY_CHECK_IFLO CALL FUNCTION 'AUTHORITY_CHECK_IFLO' EXPORTING iflo_wa = h_iflo_tab tcode = 'IL03' i_tcode_check = ' ' i_call_badi = 'X' EXCEPTIONS no_authority_tcode = 1 no_authority_begrp = 2 no_authority_iwerk = 3 no_authority_ingrp = 4 no_authority_swerk = 5 no_authority_kostl = 6 no_profile_in_user_master_data = 7 error_in_user_master_data = 8 no_authority_badi = 9 OTHERS = 10.
REF_LOCATION_ARRAY CALL FUNCTION 'REF_LOCATION_ARRAY' EXPORTING selfield = 'TRPMA' tabstructure = 'IRLO' TABLES irlo_sel = h_irlo_sel irlo_tab = h_irlo_tab EXCEPTIONS no_entry_found = 4.
AUTHORITY_CHECK_IRLO CALL FUNCTION 'AUTHORITY_CHECK_IRLO' EXPORTING irlo_wa = h_irlo_tab tcode = 'IL13' i_tcode_check = ' ' EXCEPTIONS no_authority_tcode = 01 no_authority_begrp = 02 no_authority_iwerk = 03 no_authority_ingrp = 04 no_profile_in_user_master_data = 05 error_in_user_master_data = 06.
INSTALLED_EQMTS_ON_LOCATION CALL FUNCTION 'INSTALLED_EQMTS_ON_LOCATION' EXPORTING eq_table_fill = 'X' reading_date = g_datum iflo_number = r_object_iflo-tplnr IMPORTING equi_count = h_equi_count TABLES equi_table = h_equi_tab.
AUTHORITY_CHECK_EQUI CALL FUNCTION 'AUTHORITY_CHECK_EQUI' EXPORTING w_equi = ls_equi w_equz = ls_equz w_iloa = ls_iloa tcode = 'IE03' i_tcode_check = ' ' i_call_badi = 'X' EXCEPTIONS no_authority_tcode = 1 no_authority_begrp = 2 no_authority_iwerk = 3 no_authority_ingrp = 4 no_authority_swerk = 5 no_authority_kostl = 6 no_profile_in_user_master_data = 7 error_in_user_master_data = 8 no_authority_badi = 9 OTHERS = 10.
EQUIPMENT_SUCCESSORS CALL FUNCTION 'EQUIPMENT_SUCCESSORS' EXPORTING equi_no = r_object_equi-equnr reading_date = g_datum TABLES equi_tab = h_equi_tab EXCEPTIONS no_successors = 4.
CALL FUNCTION 'AUTHORITY_CHECK_EQUI' EXPORTING w_equi = ls_equi w_equz = ls_equz w_iloa = ls_iloa tcode = 'IE03' i_tcode_check = ' ' i_call_badi = 'X' EXCEPTIONS no_authority_tcode = 1 no_authority_begrp = 2 no_authority_iwerk = 3 no_authority_ingrp = 4 no_authority_swerk = 5 no_authority_kostl = 6 no_profile_in_user_master_data = 7 error_in_user_master_data = 8 no_authority_badi = 9 OTHERS = 10.
GRAPH_DIALOG CALL FUNCTION 'GRAPH_DIALOG' EXPORTING close = 'X'.
CLMO_CLASS_OBJECT_MAINTAIN CALL FUNCTION 'CLMO_CLASS_OBJECT_MAINTAIN' EXPORTING activity = 'A' classtype = p_klart classname = p_class skip = 'X' * IMPORTING * FUNCTION_CODE = * NO_CHANGES = EXCEPTIONS retailtype_missing = 1 no_authority = 2 OTHERS = 3.
DOCUMENT_ASSIGNMENT CALL FUNCTION 'DOCUMENT_ASSIGNMENT' EXPORTING dokob = h_dokob objky = h_objky objtxt = h_objtxt opcode = '3' refresh_flag = 'X' TABLES tabdrad = h_drad.
CNET_SET_LEGEND CALL FUNCTION 'CNET_SET_LEGEND' EXPORTING foot_line = h_foot_line head_line = h_head_line legend_type = '0' TABLES legend = h_legend.
IREP1_WARRANTY_PRE_READ CALL FUNCTION 'IREP1_WARRANTY_PRE_READ' TABLES ti_objnr = l_jsto_pre_tab EXCEPTIONS no_data_selected = 1 OTHERS = 2.
STATUS_BUFFER_REFRESH CALL FUNCTION 'STATUS_BUFFER_REFRESH'.
STATUS_PRE_READ CALL FUNCTION 'STATUS_PRE_READ' TABLES jsto_pre_tab = l_jsto_pre_tab.
CR_WORKCENTER_PRE_READ CALL FUNCTION 'CR_WORKCENTER_PRE_READ' TABLES tarbid = l_tarbid.
IREP1_MATERIAL_TEXT_PRE_FETCH CALL FUNCTION 'IREP1_MATERIAL_TEXT_PRE_FETCH' TABLES matnr_tab = g_matnr_tab EXCEPTIONS no_text_found = 1 OTHERS = 2.
IREP1_EQUIPMENT_TEXT_PRE_FETCH CALL FUNCTION 'IREP1_EQUIPMENT_TEXT_PRE_FETCH' TABLES equnr_tab = g_equnr_tab EXCEPTIONS no_text_found = 1 OTHERS = 2.
STATUS_TEXT_EDIT CALL FUNCTION 'STATUS_TEXT_EDIT' EXPORTING objnr = rihequi-objnr spras = sy-langu flg_user_stat = 'X' IMPORTING line = rihequi-sttxt user_line = rihequi-ustxt EXCEPTIONS object_not_found = 01.
CR_WORKSTATION_READ CALL FUNCTION 'CR_WORKSTATION_READ' EXPORTING id = l_arbpl_tab-objid_int_gew msgty = 'S' IMPORTING arbpl = rihequi-gewrk EXCEPTIONS not_found = 01.
CR_WORKSTATION_READ CALL FUNCTION 'CR_WORKSTATION_READ' EXPORTING id = l_arbpl_tab-objid_int_arb msgty = 'S' IMPORTING arbpl = rihequi-arbpl EXCEPTIONS not_found = 01.
IREP1_MATERIAL_TEXT_READ CALL FUNCTION 'IREP1_MATERIAL_TEXT_READ' EXPORTING i_matnr = rihequi-submt IMPORTING e_maktx = rihequi-submtktx EXCEPTIONS no_text_found = 1 OTHERS = 2.
IREP1_WARRANTY_READ CALL FUNCTION 'IREP1_WARRANTY_READ' EXPORTING i_objnr = rihequi-objnr IMPORTING e_rihbgmd = h_rihbgmd.
VIEW_KUPAV CALL FUNCTION 'VIEW_KUPAV' EXPORTING comwa = h_vtcom IMPORTING pawa = h_kupav EXCEPTIONS no_kna1 = 01 no_knvk = 02 no_lfa1 = 03 no_pernr = 04.
STATUS_TEXT_EDIT CALL FUNCTION 'STATUS_TEXT_EDIT' EXPORTING objnr = rihiflo-objnr spras = sy-langu flg_user_stat = 'X' IMPORTING line = rihiflo-sttxt user_line = rihiflo-ustxt EXCEPTIONS object_not_found = 01.
CR_WORKSTATION_READ CALL FUNCTION 'CR_WORKSTATION_READ' EXPORTING id = l_arbpl_tab-objid_int_gew msgty = 'S' IMPORTING arbpl = rihiflo-gewrk EXCEPTIONS not_found = 01.
CR_WORKSTATION_READ CALL FUNCTION 'CR_WORKSTATION_READ' EXPORTING id = l_arbpl_tab-objid_int_arb msgty = 'S' IMPORTING arbpl = rihiflo-arbpl EXCEPTIONS not_found = 01.
IREP1_MATERIAL_TEXT_READ CALL FUNCTION 'IREP1_MATERIAL_TEXT_READ' EXPORTING i_matnr = rihiflo-submt IMPORTING e_maktx = rihiflo-submtktx EXCEPTIONS no_text_found = 1 OTHERS = 2.
STATUS_TEXT_EDIT CALL FUNCTION 'STATUS_TEXT_EDIT' EXPORTING objnr = rihirlo-objnr spras = sy-langu flg_user_stat = 'X' IMPORTING line = rihirlo-sttxt user_line = rihirlo-ustxt EXCEPTIONS object_not_found = 01.
CR_WORKSTATION_READ CALL FUNCTION 'CR_WORKSTATION_READ' EXPORTING id = l_arbpl_tab-objid_int_gew msgty = 'S' IMPORTING arbpl = rihirlo-gewrk EXCEPTIONS not_found = 01.
IREP1_MATERIAL_TEXT_READ CALL FUNCTION 'IREP1_MATERIAL_TEXT_READ' EXPORTING i_matnr = rihirlo-submt IMPORTING e_maktx = rihirlo-submtktx EXCEPTIONS no_text_found = 1 OTHERS = 2.
IREP1_MATERIAL_TEXT_READ CALL FUNCTION 'IREP1_MATERIAL_TEXT_READ' EXPORTING i_matnr = rihibin-matno IMPORTING e_maktx = rihibin-objtxt EXCEPTIONS no_text_found = 1 OTHERS = 2.
IREP1_EQUIPMENT_TEXT_READ CALL FUNCTION 'IREP1_EQUIPMENT_TEXT_READ' EXPORTING i_equnr = rihibin-equno IMPORTING e_eqktx = rihibin-objtxt EXCEPTIONS no_text_found = 1 OTHERS = 2.
POPUP_TO_CONFIRM_STEP CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' EXPORTING defaultoption = 'Y' textline1 = text-701 textline2 = text-702 titel = text-703 start_column = 25 start_row = 6 IMPORTING answer = h_answer EXCEPTIONS OTHERS = 1.
ADDR_GET_ARRAY CALL FUNCTION 'ADDR_GET_ARRAY' * IMPORTING * RETURNCODE = TABLES address_selection = g_adrnr_sel_tab address_value = g_adrnr_val_tab * ADDRESS_ADDITIONAL_INFO = * ERROR_TABLE = * ADDRESS_TEXT = EXCEPTIONS parameter_error = 1 internal_error = 2 OTHERS = 3.
ADDR_GET CALL FUNCTION 'ADDR_GET' EXPORTING address_selection = h_adrnr_sel IMPORTING address_value = g_adrnr_val_tab EXCEPTIONS OTHERS = 1.
MARA_READ CALL FUNCTION 'MARA_READ' EXPORTING i_matnr = l_submt i_sprache = sy-langu IMPORTING e_makt = ls_makt e_mara = ls_mara EXCEPTIONS no_entry = 1 OTHERS = 2.
IREP2_MATERIAL_CLASSIFICATION CALL FUNCTION 'IREP2_MATERIAL_CLASSIFICATION' EXPORTING i_selm = g_selmod it_matnr = lt_matnr IMPORTING ot_matnr = lt_matnr_out EXCEPTIONS no_class = 1 abbort = 2 OTHERS = 3.
PM_DB_FILL_DIIHSG CALL FUNCTION 'PM_DB_FILL_DIIHSG' EXPORTING i_objnr = l_objnr TABLES * TIHSG = * TIHGNS = tdiihsg = lt_diihsg .
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 MIHIXF40 or its description.
MIHIXF40 - documentation and ABAP source code MIHIXF30 - documentation and ABAP source code MIHIXF20 - documentation and ABAP source code MIHIXF10 - documentation and ABAP source code MIG_STRUCT_FRAME - Migration Main Program for Structure-Specific Programs MIG_STRUCT_FRAME - Migration Main Program for Structure-Specific Programs