MMUNHINGEVAR 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 MMUNHINGEVAR 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: S_WERKS = D Plant
Selection Text: S_TABNR = D Table
Selection Text: S_LIFNR = D Vendor
Selection Text: S_KSCHL = D Condition Type
Selection Text: S_INFNR = D Purchasing Info Record
Selection Text: S_ESOKZ = D Info Record Category
Selection Text: S_EKORG = D Purchasing Organization
Selection Text: P_VARNR = D Variant Number
Selection Text: P_MM42 = Maintain Material (MM42)
Selection Text: P_KONT = Check Contracts
Selection Text: P_KOND = Compare Material Conditions
Selection Text: P_EINA = Compare Purch. Info Record
Selection Text: P_AUFT = Check Allocation
Selection Text: P_AKT = Check Action
Title: Transformation of a Generic Material Variant to a Single Material
Text Symbol: PB1 = Display Material
Text Symbol: N04 = System Is Changing Master Data for Material &
Text Symbol: N03 = System Is Checking Contracts for Material &
Text Symbol: N02 = System is checking the promotional data of material &
Text Symbol: N01 = System is checking the allocation of material &
Text Symbol: 005 = Restrictions for Condition Transfer
Text Symbol: 004 = Restrictions for Info Record Transfer
Text Symbol: 003 = Control Parameters
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
DEQUEUE_ALL call function 'DEQUEUE_ALL'.
BAPI_MATERIAL_EDIT call function 'BAPI_MATERIAL_EDIT' exporting material = p_varnr skip_1st_screen = 'X' importing return = g_t_return.
MARA_SINGLE_READ call function 'MARA_SINGLE_READ' exporting kzrfb = 'X' matnr = p_varnr sperrmodus = 'E' importing wmara = g_s_mara exceptions lock_on_material = 1 lock_system_error = 2 wrong_call = 3 not_found = 4 others = 5.
SAPGUI_PROGRESS_INDICATOR call function 'SAPGUI_PROGRESS_INDICATOR' exporting text = out_string exceptions others = 1.
K_ABC_LIST_POPUP call function 'K_ABC_LIST_POPUP' exporting win_status = '200' win_title = '303' importing funct_code = list_okcode tables fieldtab = fieldtab valuetab = valuetab sel_values = sel_values sel_lines = sel_lines exceptions others = 1.
SAPGUI_PROGRESS_INDICATOR call function 'SAPGUI_PROGRESS_INDICATOR' exporting text = out_string exceptions others = 1.
K_ABC_LIST_POPUP call function 'K_ABC_LIST_POPUP' exporting win_status = '200' win_title = '303' importing funct_code = list_okcode tables fieldtab = fieldtab valuetab = valuetab sel_values = sel_values sel_lines = sel_lines exceptions others = 1.
SAPGUI_PROGRESS_INDICATOR call function 'SAPGUI_PROGRESS_INDICATOR' exporting text = out_string exceptions others = 1.
K_ABC_LIST_POPUP call function 'K_ABC_LIST_POPUP' exporting win_status = '200' win_title = '303' importing funct_code = list_okcode tables fieldtab = fieldtab valuetab = valuetab sel_values = sel_values sel_lines = sel_lines exceptions others = 1.
SAPGUI_PROGRESS_INDICATOR call function 'SAPGUI_PROGRESS_INDICATOR' exporting text = l_string exceptions others = 1.
MGW_UNHINGE_VARIANT call function 'MGW_UNHINGE_VARIANT' exporting i_variant = p_matnr i_blocking_indicator = p_spera i_refresh_buffer = p_kzrfb exceptions error = 1 others = 2.
MGW_COPY_INFORECORDS call function 'MGW_COPY_INFORECORDS' exporting i_matnr = p_matnr i_rmatn = g_s_mara-satnr tables t_return = pt_return r_infnr = lr_infnr r_lifnr = s_lifnr r_ekorg = s_ekorg r_esokz = lr_esokz r_werks = s_werks.
MGW_COPY_CONDITIONS call function 'MGW_COPY_CONDITIONS' exporting i_matnr = p_matnr i_rmatn = g_s_mara-satnr tables t_return = pt_return r_kschl = lr_kschl r_tabnr = lr_tabnr.
MGW_UTILITIES_BUILD_MESSAGE call function 'MGW_UTILITIES_BUILD_MESSAGE' exporting i_id = p_msgid i_number = p_msgno i_type = l_type i_message_v1 = p_msgv1 i_message_v2 = p_msgv2 i_message_v3 = p_msgv3 i_message_v4 = p_msgv4 tables t_return = pt_return.
BAPI_MATERIAL_DISPLAY call function 'BAPI_MATERIAL_DISPLAY' exporting material = p_varnr importing return = g_t_return.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
MMUNHINGEVAR - Transformation of a Generic Material Variant to a Single Material MMUNHINGEVAR - Transformation of a Generic Material Variant to a Single Material MMTSTTOP - Include MMTSTTOP MMTSKTOP - RM: Erzeugung einer neuen temporären Objektnummer MMTSKO01 - RM: Erzeugung einer neuen temporären Objektnummer MMTSKI01 - RM: Erzeugung einer neuen temporären Objektnummer