MWG40I02 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 MWG40I02 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_ARTNR = Material no.
Selection Text: S_AUF_GE = Mark-up % rate >=
Selection Text: S_AUF_LE = Mark-up % rate <=
Selection Text: S_BRU_GE = Gross margin >=
Selection Text: S_BRU_LE = Gross margin <=
Selection Text: S_FILIA = Plants
Selection Text: S_LIFNR = Vendors
Selection Text: S_MATNR = Ad. media
Selection Text: S_NET_GE = Net margin >=
Selection Text: S_NET_LE = Net margin <=
Selection Text: S_SATNR = Gen. material no.
Selection Text: S_VTWEG = Distrib. chnl
Selection Text: TXT20 = TXT20
Selection Text: USNAM = Changed by
Selection Text: VKONT = From account
Selection Text: VKORG = Sales organization
Selection Text: VONKONTO = Account number
Selection Text: VTWEG = ?...(VTWEG)
Selection Text: V_AKTHE = Theme
Selection Text: V_ARTNR = Item
Selection Text: V_FILIA = Plants
Selection Text: V_LIFNR = Vendors
Selection Text: V_MATNR = Ad. media
Selection Text: V_SATNR = Gen. material no.
Selection Text: V_VTWEG = Distrib. chnl
Selection Text: XAUTH_NO = ?...(XAUTH_NO
Selection Text: S_AKTHE = Themes
Selection Text: BANKL = ?...(BANKL)
Selection Text: BANKS = ?...(BANKS)
Selection Text: BELNR = ?...(BELNR)
Selection Text: BUKRS = Company codes
Selection Text: CALLD = ?...(CALLD)
Selection Text: DATUM = From change date
Selection Text: DYNCL = ?...(DYNCL)
Selection Text: EKORG = ?...(EKORG)
Selection Text: FNAME = ?...(FNAME)
Selection Text: FUNCL = ?...(FUNCL)
Selection Text: GJAHR = ?...(GJAHR)
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
MERCHANDISE_GROUP_HIER_SELECT CALL FUNCTION 'MERCHANDISE_GROUP_HIER_SELECT' EXPORTING MATKL = G_MATKL SPRAS = SY-LANGU WG_BEZ = ' ' WG_STUFEN = G_STUFE MERKMALSPROFIL = X NO_BWG = X CLASS1 = G_CLASS0 TABLES O_WGHIER = G_T_WGHIER * I_WERT = EXCEPTIONS NO_BASIS_MG = 01 NO_MG_HIER = 02.
MG_POSSIBLE_HIER_ART_SELECT CALL FUNCTION 'MG_POSSIBLE_HIER_ART_SELECT' EXPORTING MATKL = T023D-MATKL KLASSE = G_T_WWGD-CLASS1 SPRAS = SY-LANGU TABLES O_WGH01 = G_T_WGH02 EXCEPTIONS NO_MG_HIER = 01.
MATERIAL_MAINTAIN_DIAL_RETAIL CALL FUNCTION 'MATERIAL_MAINTAIN_DIAL_RETAIL' EXPORTING IRMMW1 = G_T_RMMW1 T_TCODE = 'MM41' * P_PSTAT = ' ' * FLG_STAT_ALL = ' ' * KZ_EIN_DARK = ' ' * FLG_CAD_AKTIV = ' ' * FLG_MATNR_RES = ' ' FLG_WAGR_PFLEGE = 'X' IMPORTING MATERIAL_NO = H_MATNR_WGHIER UPDATE_OK = H_UPDATE_FLAG_WGHIER TABLES IAUSWG = G_T_MGAUSWG EXCEPTIONS NO_AUTHORITY = 1 OTHERS = 2.
MATERIAL_MAINTAIN_DIAL_RETAIL CALL FUNCTION 'MATERIAL_MAINTAIN_DIAL_RETAIL' EXPORTING IRMMW1 = G_T_RMMW1 T_TCODE = 'MM42' * P_PSTAT = ' ' * FLG_STAT_ALL = ' ' * KZ_EIN_DARK = ' ' * FLG_CAD_AKTIV = ' ' * FLG_MATNR_RES = ' ' FLG_WAGR_PFLEGE = 'X' IMPORTING MATERIAL_NO = H_MATNR_WGHIER UPDATE_OK = H_UPDATE_FLAG_WGHIER TABLES IAUSWG = G_T_MGAUSWG EXCEPTIONS NO_AUTHORITY = 1 OTHERS = 2.
MATERIAL_MAINTAIN_DIAL_RETAIL CALL FUNCTION 'MATERIAL_MAINTAIN_DIAL_RETAIL' EXPORTING IRMMW1 = G_T_RMMW1 T_TCODE = 'MM43' * P_PSTAT = ' ' * FLG_STAT_ALL = ' ' * KZ_EIN_DARK = ' ' * FLG_CAD_AKTIV = ' ' * FLG_MATNR_RES = ' ' FLG_WAGR_PFLEGE = 'X' IMPORTING MATERIAL_NO = H_MATNR_WGHIER UPDATE_OK = H_UPDATE_FLAG_WGHIER TABLES IAUSWG = G_T_MGAUSWG EXCEPTIONS NO_AUTHORITY = 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.
MWG40I02 - Include I01 for Material Group Maintenance MWG40I01 - Include I01 for Material Group Maintenance MWG40F02 - Include F02 for Material Group Maintenance MWG40F01 - Include F01 for Material Group Maintenance MWG12TOP - Top Include for Material Group Processing MWFRMRF0B - documentation and ABAP source code