SAP Reports / Programs

SAPMW02A SAP ABAP Report - Dialog Allocation Rule Maintenance (Create, Change, Display)







SAPMW02A 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 SAPMW02A 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

WA21 - Create Allocation Rule
WA22 - Change Allocation Rule
WA23 - Display Allocation 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 SAPMW02A. "Basic submit
SUBMIT SAPMW02A AND RETURN. "Return to original report after report execution complete
SUBMIT SAPMW02A VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: Dialog Allocation Rule Maintenance (Create, Change, Display)
Text Symbol: 343 = Plants will be deleted
Text Symbol: 344 = Really change base plant group?
Text Symbol: 345 = Plant quotas in base plant group
Text Symbol: 346 = Adopt quotas for base plant group
Text Symbol: 347 = in the plants?
Text Symbol: 348 = will be changed
Text Symbol: 349 = Adopt quotas for base plant group
Text Symbol: 351 = Allocation rule
Text Symbol: 352 = Model allocation rules cannot
Text Symbol: 353 = contain any plants
Text Symbol: 354 = Should the plants be deleted?
Text Symbol: 355 = Model allocation: Delete plants
Text Symbol: 356 = Model allocation rules are fixed.
Text Symbol: 357 = Once you fix, you cannot
Text Symbol: 358 = undo it!
Text Symbol: 359 = Create model alloc rule?
Text Symbol: 360 = To be able to add and delete plants or change plant quotas,
Text Symbol: 361 = you have to fix the allocation rule.
Text Symbol: 362 = Changes to the base plant groups are not taken into account.
Text Symbol: 363 = Fixing an allocation rule required the plant data to be saved.
Text Symbol: 364 = Changes to the base plant groups are not taken into account.
Text Symbol: 365 = The quota category "Fixed quantity" requires a fixed allocation rule.
Text Symbol: 366 = Model allocation rules contain allocation categories.
Text Symbol: 367 = Allocation categories are not linked to existing material groups.
Text Symbol: 368 = Models allocation rules are fixed.
Text Symbol: 400 = Change Plant Assignment
Text Symbol: 401 = Only one Plant
Text Symbol: ARB = Alloc rule processing
Text Symbol: LGM = Empties matl
Text Symbol: VHM = Additionals
Text Symbol: WER = VO Material
Text Symbol: WGR = Plant groups
Text Symbol: WRK = Plnts
Text Symbol: 342 = Change base plant group
Text Symbol: 001 = Allocation rule
Text Symbol: 010 = Display:
Text Symbol: 011 = Create:





Text Symbol: 012 = Change:
Text Symbol: 013 = Initial screen
Text Symbol: 014 = Hdr data
Text Symbol: 015 = BaPlGr 1 line
Text Symbol: 016 = BaPlGr 2 lines
Text Symbol: 017 = Plants, single line
Text Symbol: 018 = Plants, double line
Text Symbol: 022 = BaPlGr 2 lines with eval.
Text Symbol: 023 = Plants 2 lines with eval.
Text Symbol: 027 = Material
Text Symbol: 301 = Data will be lost.
Text Symbol: 302 = Cancel processing?
Text Symbol: 303 = Exit document
Text Symbol: 305 = Should the data entered
Text Symbol: 306 = be saved?
Text Symbol: 307 = Exit allocation rule processing
Text Symbol: 320 = Change base plant group
Text Symbol: 321 = Should all base plant groups and plants
Text Symbol: 322 = be deleted !
Text Symbol: 330 = Delete allocation rule
Text Symbol: 331 = Really delete allocation rule?
Text Symbol: 332 = Delete base plant group
Text Symbol: 333 = Really delete base plant group?
Text Symbol: 334 = Delete plant
Text Symbol: 335 = Do you really want to delete plant?
Text Symbol: 336 = Do you really want to fix?
Text Symbol: 337 = Fix allocation rule
Text Symbol: 338 = Fixing cannot be undone!
Text Symbol: 339 = Undo fixing
Text Symbol: 340 = Do you really want to unfix?
Text Symbol: 341 = Plant data will be deleted


INCLUDES used within this REPORT SAPMW02A

INCLUDE MW02ATOP.
INCLUDE MW02AF0U.
INCLUDE MW02AF0P.
INCLUDE MW02AO0T.
INCLUDE MW02AI0D.
INCLUDE MW02AO0F.
INCLUDE MW02AF0D.
INCLUDE MW02AI0Q.





INCLUDE MW02AF0G.
INCLUDE MW02AF0B.
INCLUDE MW02AF0K.
INCLUDE MW02AF0V.
INCLUDE MW02AF0O.
INCLUDE MW02AITC.
INCLUDE MW02AOTS.
INCLUDE MW02AI0G.
INCLUDE MW02AAC01.


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