SAP Reports / Programs

SAPMWMFA SAP ABAP dialog Program - MDP *** Main program MARKDOWN PLANNING ***







SAPMWMFA is a standard Module pool for a dialog screen ABAP Program 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 SAPMWMFA into the relevant SAP transactions such as SE38 or SE80


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

WMF1 - Create Markdown Plan
WMF2 - Change Markdown Plan
WMF3 - Display Markdown Plan
WMF4 - Delete Markdown Plan
WMR1 - Create Markdown Rule
WMR2 - Change Markdown Rule
WMR3 - Display Markdown Rule
WMR4 - Delete Markdown Rule


ABAP code to call this SAP report using the submit statement

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.






SUBMIT SAPMWMFA. "Basic submit
SUBMIT SAPMWMFA AND RETURN. "Return to original report after report execution complete
SUBMIT SAPMWMFA VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Selection: Plants
Selection Text: LT_CLASS = Material Group
Selection Text: LT_STORE = Plant
Selection Text: LT_STRGR = Plant Group
Selection Text: PA_STORE = Plant
Selection Text: LT_ARTNR = D .
Selection Text: LT_ATTYP = D .
Selection Text: LT_ATWRT = D .
Selection Text: LT_DATA2 = D .
Selection Text: LT_DATAB = D .
Selection Text: LT_ENDP2 = D .
Selection Text: LT_ENDPR = D .
Selection Text: LT_FILIA = D .
Selection Text: LT_LAYGR = D .
Selection Text: LT_LIFNR = D .
Selection Text: LT_LTSNR = D .
Selection Text: LT_MDPRZ = D .
Selection Text: LT_MDROS = D .
Selection Text: LT_MPRNR = D .
Selection Text: LT_MSTAV = D .
Selection Text: PA_MPRNR = D .
Selection Text: PA_DATAB = D .
Selection Text: PA_ATNAM = D .
Selection Text: LT_WKKNR = D .
Selection Text: LT_WEKGR = D .
Selection Text: LT_VTWEG = D .
Selection Text: LT_VTWE2 = D .
Selection Text: LT_VKORG = D .
Selection Text: LT_VKOR2 = D .
Selection Text: LT_VKKPS = D .
Selection Text: LT_SPANS = D .
Selection Text: LT_SAITY = D .
Selection Text: LT_SAISO = D .
Selection Text: LT_SAISJ = D .
Selection Text: LT_PSALM = D .
Selection Text: LT_PSAL2 = D .
Selection Text: LT_PLTYP = D .
Selection Text: LT_PANFM = D .





Selection Text: LT_PANF2 = D .
Title: MDP *** Main program MARKDOWN PLANNING ***
Text Symbol: 158 = Depreciation Quota in the Rough Planning
Text Symbol: 157 = Difference in Markdown Value in Percent Between Rough and Detailed Planning
Text Symbol: 156 = Markdown Value in the Detailed Planning
Text Symbol: 155 = Markdown Value in the Rough Planning
Text Symbol: 154 = Difference in the Remainder in Percent Between Rough and Detailed Planning
Text Symbol: 153 = Remainder in the Detailed Planning
Text Symbol: 152 = Remainder in the Rough Planning
Text Symbol: 151 = Difference in the Margin Loss in Percent Between Rough and Detailed Planning
Text Symbol: 150 = Margin Loss in the Detailed Planning
Text Symbol: 149 = Margin Loss in the Rough Planning
Text Symbol: 148 = Difference in the Gross Margin in Percent Between Rough and Detailed Planning
Text Symbol: 147 = Gross Margin in the Detailed Planning
Text Symbol: 146 = Gross Margin in the Rough Planning
Text Symbol: 145 = Difference in Planned Invoiced Sales at Purchase Prices in Percent Between Rough and Detaiuled Planning
Text Symbol: 144 = Planned Invoiced Sales at Purchase Prices in the Detailed Planning
Text Symbol: 143 = Planned Invoiced Sales at Purchase Prices in the Rough Planning
Text Symbol: 142 = Difference in Planned Invoiced Sales atr Sales Prices in Percent Between Rough and Detailed Planning
Text Symbol: 141 = Planned Invoiced Sales at Sales Prices in the Detailed Planning
Text Symbol: 140 = Planned Invoiced Sales at Sales Prices in the Rough Planning
Text Symbol: 132 = Select Chosen Plants
Text Symbol: 131 = Select Chosen Price Phases
Text Symbol: 130 = Select chosen items
Text Symbol: 120 = Final Price
Text Symbol: 904 = All distrib. chains
Text Symbol: 903 = Variance in %
Text Symbol: 902 = Detailed Planning
Text Symbol: 901 = SOP
Text Symbol: 900 = Total - all distrib. channels
Text Symbol: 806 = MDP Selection Materials for Markdown Planning
Text Symbol: 805 = Find Plant
Text Symbol: 804 = Selection Plants/Price Lists
Text Symbol: 803 = Display list
Text Symbol: 802 = Confirm
Text Symbol: 801 = Price changes will be lost
Text Symbol: 800 = Prices not activated
Text Symbol: 702 = Sales price activation
Text Symbol: 701 = sales prices be activated?





Text Symbol: 700 = Activate all correctly calculated sales prices?
Text Symbol: 402 = All
Text Symbol: 401 = w/o variants
Text Symbol: 400 = w/o generic mat.
Text Symbol: 302 = Request
Text Symbol: 301 = required?
Text Symbol: 300 = Report for selection result wanted?
Text Symbol: 160 = Difference in Depreciation Quota in Percent Between Rough and Detailed Planning
Text Symbol: 159 = Depreciation Quota in the Detailed Planning
Text Symbol: 119 = Opening Stock
Text Symbol: 043 = Sales Organization
Text Symbol: 042 = DistrChannel
Text Symbol: 041 = Activation Possible
Text Symbol: 040 = Activation Not Possible
Text Symbol: 039 = Plant Refused: Plant Missing or Different Distribution Chain
Text Symbol: 038 = Markdown Plan
Text Symbol: 037 = New Plan
Text Symbol: 036 = Special Cases in Selection
Text Symbol: 035 = Material Enhanced: Pricing Reference Material For Variant
Text Symbol: 034 = Material Enhanced: Price-Dependent Variant
Text Symbol: 033 = Material Enhanced: Generic Material For Variant
Text Symbol: 032 = Material Refused: Generic Material Not in Markdown Plan
Text Symbol: 031 = Material Refused: Material Missing or Incomplete
Text Symbol: 030 = Material Refused: Pricing Ref. Material Not in Markdown Plan
Text Symbol: 029 = Further Selection Criteria
Text Symbol: 028 = Additional Selections
Text Symbol: 027 = Valid fr.
Text Symbol: 026 = Markdown type
Text Symbol: 025 = Markdown plan
Text Symbol: 024 = Planning Values
Text Symbol: 023 = Selection: Materials
Text Symbol: 022 = Selection Plants/Price Lists
Text Symbol: 021 = Distribution Chains Sel.
Text Symbol: 020 = MDP Selection Materials, Plants for Markdown Planning
Text Symbol: 019 = Price Phases
Text Symbol: 018 = Items
Text Symbol: 017 = Delete Markdown Rule:
Text Symbol: 016 = Change Markdown Rule:
Text Symbol: 015 = Display Markdown Rule:



Text Symbol: 014 = Create Markdown Rule:
Text Symbol: 013 = Delete Markdown Plan:
Text Symbol: 012 = Change Markdown Plan:
Text Symbol: 011 = Display Markdown Plan:
Text Symbol: 010 = Create Markdown Plan:
Text Symbol: 009 = Pricing...
Text Symbol: 008 = Activate prices
Text Symbol: 007 = List
Text Symbol: 006 = selected will be lost
Text Symbol: 005 = Price changes made to unselected materials will be lost!
Text Symbol: 004 = Error log for pricing
Text Symbol: 003 = No
Text Symbol: 002 = Do you want to continue with price calculation?
Text Symbol: 001 = Yes
Text Symbol: 118 = Planned Sales Quantity
Text Symbol: 117 = Sales share %
Text Symbol: 116 = Markdown-%
Text Symbol: 115 = Variants for a generic mat. of a phase
Text Symbol: 114 = Share%
Text Symbol: 113 = Mrkdown%
Text Symbol: 112 = Variants for gen. material
Text Symbol: 111 = Variant details
Text Symbol: 110 = Material No.
Text Symbol: 109 = Material
Text Symbol: 107 = Final Price
Text Symbol: 105 = Opening Stock
Text Symbol: 103 = Pld Sales Qty
Text Symbol: 102 = Markdown rule
Text Symbol: 101 = Rule
Text Symbol: 100 = Overview
Text Symbol: 099 = Valid From
Text Symbol: 090 = Selection Price Phases
Text Symbol: 082 = Material Description
Text Symbol: 081 = Short Text
Text Symbol: 080 = Description
Text Symbol: 070 = Do you want to delete the markdown rule &RULE&?
Text Symbol: 064 = Material Not Accepted: No Authorization
Text Symbol: 063 = Data Formatting...
Text Symbol: 062 = Data Procurement...
Text Symbol: 061 = Activation
Text Symbol: 060 = Act
Text Symbol: 059 = Spec.Case
Text Symbol: 058 = Text
Text Symbol: 057 = Plant Refused: No Materials for the Distribution Chain
Text Symbol: 056 = Choose Items
Text Symbol: 055 = Markdown Plan Items:
Text Symbol: 054 = Overlapping Events
Text Symbol: 053 = Price List Refused: Price Calculation on Price List Level Not Allowed
Text Symbol: 052 = Plant Refused: Price Calculation on Plant Level Not Allowed
Text Symbol: 051 = Price Lists
Text Symbol: 050 = Plants
Text Symbol: 049 = Price List Refused: Plant(s) Already Assigned to the Distrib. Chain
Text Symbol: 048 = Plant Refused: Price List(s) Already Assigned to the Distrib. Chain
Text Symbol: 047 = An Internal Error Occurred in the Selection
Text Symbol: 046 = Material Ignored: Material/Distrib. Chain Already in Markdown Plan
Text Symbol: 045 = Unknown Special Case in Selection
Text Symbol: 044 = Results of Price Calc. Run


INCLUDES used within this REPORT SAPMWMFA

INCLUDE MWMFAF09. " WORK GENERIC-ARTICLES AT SWMFPD MB
INCLUDE MWMFAF10. " WORK GENERIC-ARTICLES AR SWMFUD MB
INCLUDE MWMFAFO1.


TABLES used within REPORT and the associated SELECT statement:

No SAP DATABASE tables are accessed within this REPORT code!


Function Modules used within report and the associated call statement:

No SAP FUNCTION MODULES are executed within this report code!



Contribute (Add Comments)

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 SAPMWMFA or its description.