/SCWM/CL_EI_MEDI_AQTY_FS - Class for BAdI Impl.: /SCWM/CL_EX_MEDI_AQTY_FS
BAL Application Log Documentation General Material DataThis documentation is copyright by SAP AG.
Functionality
Standard fair-share algorithm for merchandise distribution flow-through scenario.
The algorithm calculates the new delivery quantities based on the proportion of the original requestedquantities and the inbound delivery quantities with respect to already existing warehouse tasks (see also notes below).
Relationships
Example
For more information about the example, see the notes below.
- Example 1
- Quantity adjustment in base unit of measure pc, with deviation for purchase order item - inbound delivery quantity 10 pc
| ODO item quantity | Adjustment quantity |
|---|---|
| 3 pc | 4 pc |
| 3 pc | 3 pc |
| 3 pc | 3 pc |
- Example 2
- Quantity adjustment in base unit of measure KG, with deviation for purchase order item - inbound delivery quantity 10 KG
| ODO item quantity | Adjustment quantity |
|---|---|
| 3 KG | 3.334 KG |
| 3 KG | 3.333 KG |
| 3 KG | 3.333 KG |
- Example 3
- Quantity adjustment with package size, with deviation for purchase order item - inbound delivery quantity 120 pc = 20 sixpacks
| ODO item quantity | Adjustment quantity |
|---|---|
| 60 pc | 54 pc |
| 25 pc | 24 pc |
| 25 pc | 24 pc |
| 20 pc | 18 pc |
- Example 4
- Quantity adjustment in package size and pick warehouse tasks already partially created - inbound delivery quantity 120 pc = 20 sixpacks
| ODO item quantity | Picked quantity | Adjustment quantity |
|---|---|---|
| 60 pc | 30 pc | 58 pc |
| 25 pc | 10 pc | 22 pc |
| 25 pc | 10 pc | 22 pc |
| 20 pc | 18 pc |
Notes
Unit of Measure and Number of Decimals
The quantity adjustment is based on a certain unit of measure. This is either the base unit of measureor a unit of measure defined by a certain packaging specification level. Which level is used to determinethe unit of measure is defined by the quantity classification for merchandise distribution in the product master data.
If the unit of measure is the base unit of measure, the calculation is only triggered if there are differencesbetween the totals of the inbound delivery item quantities and the outbound delivery order item quantitiesfor a certain purchase order item reference. The adjustment is then calculated with the number of digitsdefined in the definition table for unit of measures T006. For pc, this means that the algorithm triesto distribute entire pieces, and for KG the algorithm tries to distribute to quantities with three digits. If there is no difference in the totals, the outbound delivery order item quantities stay unchanged.
If the unit of measure is defined using the unit of measure from the packaging specification, the calculationof the adjustment quantities takes place even if there is no difference in the totals for a certain purchase order item. This is necessary to ensure that entire pack sizes are set in the outbound delivery order items.
Requirement Quantity
The proportion for the fair-share logic is based on the original requirements.
Minimum quantity
Users are not allowed to reduce the outbound delivery order item quantities below a certain minimumquantity. For example, in the case where warehouse tasks that have already been picked exist, the outbounddelivery order item quantity cannot be reduced to less than the pick quantity. To guarantee this, thealgorithm assumes the pick quantity to be already "reserved", and the minimum quantity no longer takespart in the fair-share logic. We recommend that users adjust the quantities before the pick warehouse tasks are created.
Notes
Further information
CPI1466 during Backup PERFORM Short Reference
This documentation is copyright by SAP AG.
Length: 5242 Date: 20120526 Time: 073544 triton ( 175 ms )






