SAP Reports / Programs | Logistics - General | Merchandise Distribution | Allocation(LO-MDS-AL) SAP LO

SAPML01A SAP ABAP Report - Create/Change/Display/Edit Allocation Table, Reply







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

WA04 - Alloc Tbl Processing: Plant Reply
WA03 - Display Allocation Table
WA01 - Create Allocation Table
WA02 - Change Allocation Table


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


Text pool values


Title: Create/Change/Display/Edit Allocation Table, Reply
Text Symbol: 812 = Return Code
Text Symbol: 813 = Error text
Text Symbol: 811 = Current Data
Text Symbol: 810 = Target module
Text Symbol: 828 = Planned Quantities
Text Symbol: 829 = Please enter manually
Text Symbol: 834 = Listing Check
Text Symbol: 835 = Item Number &
Text Symbol: 809 = Current module
Text Symbol: 808 = Event
Text Symbol: 807 = Continue
Text Symbol: 805 = Do you wish to continue nonetheless?
Text Symbol: 804 = A minor small error occurred
Text Symbol: 803 = An error occurred
Text Symbol: 802 = A serious error occurred
Text Symbol: 801 = Call message determination
Text Symbol: 836 = for stock level comparison
Text Symbol: 838 = Plant Group
Text Symbol: 839 = Allocation Rule
Text Symbol: 840 = Default
Text Symbol: 841 = Material
Text Symbol: 842 = Update NAST records
Text Symbol: 846 = Deletion of plant $1
Text Symbol: 848 = Should the plant already maintained really be deleted?
Text Symbol: 853 = Should the changes
Text Symbol: 854 = be adopted in allocation table?
Text Symbol: 855 = Adopt allocation rule change
Text Symbol: 856 = Adopt
Text Symbol: 857 = Do not adopt
Text Symbol: 858 = Allocation rule is used in several
Text Symbol: 859 = allocation table items.
Text Symbol: 860 = Promotion Processing
Text Symbol: 861 = Should the allocation rule
Text Symbol: 367 = Save allocation table
Text Symbol: 368 = No items entered
Text Symbol: 369 = The allocation table will therefore not be saved
Text Symbol: 370 = Exit processing?





Text Symbol: 371 = All items were deleted.
Text Symbol: 372 = Delete allocation table?
Text Symbol: 373 = Delete
Text Symbol: 424 = Yes
Text Symbol: 425 = No
Text Symbol: 430 = Manual changes (at plant or plant group level) will be overwritten
Text Symbol: 431 = when planned quantities are recalculated
Text Symbol: 433 = New calculation: item
Text Symbol: 434 = Should the planned item quantity be allocated proportionally
Text Symbol: 435 = to previous planned plant quantities?
Text Symbol: 437 = Should the planned plant group quantity allocated proportionally
Text Symbol: 438 = to previous planned plant quantities?
Text Symbol: 440 = Should the planned item quantity be allocated in line with
Text Symbol: 441 = the quotas?
Text Symbol: 460 = Adopt DC Stock - Item
Text Symbol: 461 = Item created referencing another document
Text Symbol: 463 = Execute function nonetheless?
Text Symbol: 464 = Recipient with Purchase Order Quantity 0
Text Symbol: 465 = If an item contains recipients with PO quantity 0 and all the
Text Symbol: 466 = follow-on documents are created, the item status changes to 'complete'
Text Symbol: 467 = if you convert the status of these recipients to 'not relevant'
Text Symbol: 468 = Do you want to set the status of the follow-on documents to
Text Symbol: 469 = 'not relevant' for recipients with PO qty 0 in all selected items?
Text Symbol: 501 = Item Data
Text Symbol: 502 = DC Data
Text Symbol: 503 = Plant Data
Text Symbol: 504 = (For Selected Items)
Text Symbol: 505 = Delivery phases
Text Symbol: 506 = (Items and plants)
Text Symbol: IEM = No further dates exist
Text Symbol: LGM = Empties material
Text Symbol: LSV = Listing: Distribution Center
Text Symbol: LSW = Listing Plant
Text Symbol: MAT = Material &1
Text Symbol: MSP = Check material status
Text Symbol: QT1 = Rounding
Text Symbol: QT2 = Split remainder
Text Symbol: QT3 = Inclusion of Minimum and Maximum Quantities
Text Symbol: QT4 = Recipient Determination





Text Symbol: QT5 = Confirmation Request Date
Text Symbol: QT6 = Reduced order quantity
Text Symbol: SA1 = Generic Material Distribution / Single-Step Method
Text Symbol: SA2 = Generic Material Distribution / Two-Step Method
Text Symbol: SLR = Listing rule check if material-assortment assignment matches listing rules generated errors (&)
Text Symbol: TLS = Listing start
Text Symbol: TTA = Display Allocation Table
Text Symbol: TTB = Edit allocation table, reply
Text Symbol: TTH = Create allocation table
Text Symbol: TTV = Change allocation table
Text Symbol: VHM = Additionals
Text Symbol: VTL = Distribution Chain
Text Symbol: WER = Value-only material
Text Symbol: ZB1 = A Source of Supply is Already Entered for at Least One Recipient
Text Symbol: ZB2 = By using the supply source determination again for this
Text Symbol: ZB3 = Recipients of the Sources of Supply Up Until Now Are Overwritten
Text Symbol: ZB4 = Would you like to use the supply source determination for recipients
Text Symbol: ZB5 = that already have a source of supply?
Text Symbol: ZBQ =
Text Symbol: ZBS = Plant Master
Text Symbol: ZKA = Sales Order
Text Symbol: ZKS = Customer Master
Text Symbol: ZLS = Vendor Master
Text Symbol: 862 = be adopted in allocation table?
Text Symbol: 863 = Adopt selected allocation rule
Text Symbol: 864 = Adopt generated allocation rule
Text Symbol: 865 = Form 'Umrechnung Aufteilmenge Werk':
Text Symbol: 867 = Follow-on docs already generated
Text Symbol: 868 = Without delivery phase information, you cannot run the listing
Text Symbol: 869 = check for adopting listed plants only.
Text Symbol: 870 = All plants will therefore be adopted
Text Symbol: 871 = Enter delivery phase?
Text Symbol: 872 = Adopt only listed plants
Text Symbol: A01 = Without delivery phase information, you can only determine
Text Symbol: A02 = recipients for today's date.
Text Symbol: A03 = Recipient determination will be run for today's date.
Text Symbol: A04 = Enter delivery phase?
Text Symbol: A05 = Recipient Determination
Text Symbol: ABN = Recipient



Text Symbol: AN1 = Item &1: plant not contained in plant group &2
Text Symbol: AN2 = is supplied by distribution center &2
Text Symbol: AN3 = Should the plants and plant group be deleted?
Text Symbol: AN4 = Recipient Determination
Text Symbol: B01 = Without delivery phase information, supply source determination
Text Symbol: B02 = will be run for all plants in the current items for today's date
Text Symbol: B03 = Without delivery phase information, supply source determination
Text Symbol: B04 = will be run for all DCs in the current items for today's date
Text Symbol: B05 = Delivery phase for supply source determination for distribution center
Text Symbol: B06 = Delivery phase for supply source determination for plant
Text Symbol: BQF = Supply Source Determination
Text Symbol: CON = Consignment Control
Text Symbol: EKG = Purchasing Group
Text Symbol: EKO = Purchasing Organization
Text Symbol: EMS = Also Add Materials that Already Appear in the Allocation Table
Text Symbol: F4T = Units of Measure for Material
Text Symbol: IDM = Further dates exist
Text Symbol: 365 = Log
Text Symbol: 034 = Item Categories for Allocation Tables
Text Symbol: 035 = smaller
Text Symbol: 036 = greater
Text Symbol: 037 = Edit Reply
Text Symbol: 038 = Performance Note
Text Symbol: 039 = Imprecise restrictions may cause long runtimes; do you want to continue?
Text Symbol: 040 = Items
Text Symbol: 041 = Plants
Text Symbol: 042 = Delivery Date
Text Symbol: 051 = Item Change
Text Symbol: 054 = Item (and all dependent sub-items/variants) will be completely
Text Symbol: 055 = deleted and the new data created at item level.
Text Symbol: 056 = Change item nonetheless?
Text Symbol: 057 = All changes you made at plant, plant group or distribution
Text Symbol: 058 = center level will be lost.
Text Symbol: 061 = Adjust planned item quantity
Text Symbol: 062 = The total planned item quantity is not the same as the sum of
Text Symbol: 063 = the planned plant quantities.
Text Symbol: 066 = Adjust planned item quantity?
Text Symbol: 067 = The total planned item quantity is not the same as the sum of
Text Symbol: 068 = planned plant group quantities.
Text Symbol: 070 = Generic material
Text Symbol: 071 = (or variant with higher-level item)
Text Symbol: 073 = Delete plant group $1
Text Symbol: 074 = Should the plant group already maintained really be
Text Symbol: 075 = deleted?
Text Symbol: 080 = Created automat.
Text Symbol: 090 = Listing
Text Symbol: 093 = Block plant group
Text Symbol: 094 = Plant
Text Symbol: 096 = Incompleteness check
Text Symbol: 097 = Block plant
Text Symbol: 098 = Block Item
Text Symbol: 001 = Allocation Table
Text Symbol: 002 = Allocation Table Item
Text Symbol: 003 = Plant Group
Text Symbol: 004 = Plant
Text Symbol: 005 = Vendor PO
Text Symbol: 006 = Warehouse Order
Text Symbol: 007 = Delivery
Text Symbol: 008 = Distribution Center
Text Symbol: 009 = Vendor
Text Symbol: 010 = Create
Text Symbol: 011 = Display
Text Symbol: 012 = Change
Text Symbol: 013 = Delivery Date
Text Symbol: 014 = Statistical/Planned Data
Text Symbol: 015 = Item
Text Symbol: 016 = Purchase Order
Text Symbol: 017 = Follow-On Documents
Text Symbol: 018 = Promotion
Text Symbol: 019 = Unit
Text Symbol: 020 = With Planned Quantities
Text Symbol: 021 = With Requested Quantities
Text Symbol: 022 = With Value 0
Text Symbol: 023 = (see long text for further information)
Text Symbol: 024 = Selection Conflict
Text Symbol: 025 = Recipient restrictions are not taken into account
Text Symbol: 026 = Cancel
Text Symbol: 027 = Material
Text Symbol: 028 = Valuation Area
Text Symbol: 029 = Listing Check
Text Symbol: 030 = Warning or error messages
Text Symbol: 031 = Fill at least one header criterion
Text Symbol: 032 = Fill at least one header or item criterion
Text Symbol: 033 = Read
Text Symbol: 099 = Block Allocation Table
Text Symbol: 175 = Other alloc tbl item
Text Symbol: 176 = Do not adopt
Text Symbol: 177 = Promotion &1 and material &2 :
Text Symbol: 178 = Allocation table &3 already defined
Text Symbol: 179 = In promotion &1, material &2 (unit &3),
Text Symbol: 180 = distribution center &4 has not been entered as a source of supply.
Text Symbol: 181 = In promotion &1, material &2 (unit &3),
Text Symbol: 182 = vendor &4 has not been entered as a source of supply.
Text Symbol: 183 = In promotion &1, material &2 (unit &3),
Text Symbol: 184 = a different source of supply has been defined.
Text Symbol: 185 = Item not adopted in allocation table
Text Symbol: 186 = In promotion &1, material &2 (unit &3),
Text Symbol: 187 = confirmation request date (&1) after del. date (&2).
Text Symbol: 188 = You can either not adopt the item in the reference document in the
Text Symbol: 189 = allocation table or correct the confirmation request date (making it
Text Symbol: 190 = same as delivery date).
Text Symbol: 191 = Correct date
Text Symbol: 192 = Date Check
Text Symbol: 252 = Item Details
Text Symbol: 253 = Distribution Centers
Text Symbol: 254 = DC details
Text Symbol: 255 = Plants in Item
Text Symbol: 256 = Plant Groups
Text Symbol: 257 = Plants in Plant Group
Text Symbol: 258 = Plant details
Text Symbol: 300 = Item &1& created referencing shipping notification
Text Symbol: 301 = Item &1& created referencing purchase order
Text Symbol: 302 = Item &1& created referencing contract
Text Symbol: 360 = The allocation table is still incomplete
Text Symbol: 361 = Should the allocation table still be saved?
Text Symbol: 362 = Allocation table is complete
Text Symbol: 363 = Notes and warnings do, however, exist
Text Symbol: 364 = Save
Text Symbol: 100 = No further distribution center
Text Symbol: 101 = No further plant
Text Symbol: 102 = No further plant group
Text Symbol: 104 = No further item
Text Symbol: 105 = Distribution Center
Text Symbol: 110 = No allocation strategy maintained for item
Text Symbol: 111 = Item contains a generic material
Text Symbol: 112 = Follow-on documents exist for item
Text Symbol: 120 = Blocking reason prompt
Text Symbol: 121 = Item &1:
Text Symbol: 130 = Requested Quantity
Text Symbol: 131 = Confirmed Quantity
Text Symbol: 132 = Order Quantity
Text Symbol: 133 = Reduced order quantity
Text Symbol: 140 = The error occurred when the system
Text Symbol: 141 = was adding up the plant quantities
Text Symbol: 142 = was adding up the plant group quantities
Text Symbol: 143 = was calculating the order quantities
Text Symbol: 160 = Adopt promotion item
Text Symbol: 161 = Do you still want to adopt the item in the allocation table?
Text Symbol: 162 = In promotion &1, material &2 is assigned
Text Symbol: 163 = allocation rule &3.
Text Symbol: 164 = &1 plants participating in promotion. &2 of these plants are not
Text Symbol: 165 = contained in the allocation rule: they are allocated zero quantity.
Text Symbol: 166 = Do you still want to use allocation rule &1?
Text Symbol: 167 = Material &1 participating in promotion &2.
Text Symbol: 168 = Change item &1 of allocation rule
Text Symbol: 169 = You entered allocation rule &1
Text Symbol: 170 = Material &1 not participating in promotion &2.
Text Symbol: 171 = You cannot create an allocation table item referencing a promotion
Text Symbol: 172 = You can either create a further allocation table item for promotion
Text Symbol: 173 = or choose not to adopt the reference document item in the
Text Symbol: 174 = allocation table .


INCLUDES used within this REPORT SAPML01A

INCLUDE ML01ATOP.
INCLUDE WRF_SAPML01A.
INCLUDE ML01AF0Q.
INCLUDE ML01AERG.
INCLUDE ML01AO0E.
INCLUDE ML01AARB.
INCLUDE ML01AVZB.
INCLUDE ML01AF0R.
INCLUDE ML01AIF4.
INCLUDE ML01AFF4.
INCLUDE ML01AIOU.
INCLUDE ML01AIOO.
INCLUDE ML01AFRK.
INCLUDE ML01AIRK.
INCLUDE ML01AORK.
INCLUDE ML01AFRMA.
INCLUDE ML01AIRMA.
INCLUDE ML01AORMA.
INCLUDE ML01AITC.
INCLUDE ML01AOTS.
INCLUDE ML01AFCD0.
INCLUDE ML01AFCD9.
INCLUDE ML01AF2S.
INCLUDE ML01AF1M.
INCLUDE ML01AI1W.
INCLUDE ML01AF1W.
INCLUDE ML01AFCD11.
INCLUDE ML01AFEXMN.
INCLUDE ML01AFEXAS.
INCLUDE ML01AFKD0.
INCLUDE ML01AFKD1.
INCLUDE ML01AFKD2.
INCLUDE ML01AFKD3.
INCLUDE ML01AFKD4.
INCLUDE ML01AFKD5.
INCLUDE ML01AFKD6.
INCLUDE WRF_ML01AF_SCHED.
INCLUDE ML01ACPLI.


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