Unconstrained Demand in North Americ
Key Figures from External Sources
Orders
Data Source: SAP R/3
Table - Field: S501, YMN005 for historical data (last three years)
Data Filter:
The demand is keyed by Material, Ship-to customer and primary servicing location (which is
compatible with the global standard that is being developed for DP in the LA project). We
require that the data is stored for up to 10 years.
1. An order must be one of the following types (vbak-auart):
ZTA, ZBV, ZOR, ZSO, ZDO, ZFS, ZFM, ZRP, ZPO, ZEL, ZGE, ZOE, ZOP, zro, zdd, zml,
zmo, zav, zms, zfd, zfr, zre, zrn, zln, zcc, zar, zmr, zrz, zff, zke, zkr, zrd, zrr, zrs, znr,
zwr, zsc, zex, zxp, zxf, zeo, zer, zec, zed, and zen – Standard Orders
1a. The following order types must subtract from the total quantity: ZDF, ZRE, ZRN, ZAR,
ZMR, ZRZ, ZFF, ZKR, ZNR, ZWR, ZER, ZEN – Returns
2. We use vbep-wmeng as the quantity, vbap-matnr as the material and vbak-pkunwe
as customer. If vbep-meins = 'LB' and vbep-vrkme = 'BX' then the quantity = vbep-wmeng * (
vbep-umvkz / vbep-umvkn ) – convert tread rubber into eachs
3. We skip reserved orders vbkd-bsark = RO
4. We count the order in the month of the requested delivery date vbep-edatu.
5. We need to count the order if the item is relevant for delivery vbep-lfrel = ‘X’ and
vbap-prodh(2) <> ‘06’ and vbap-matnr(2) <> ‘AC’ – exclude non finished goods.
6. We do not collect demand on the following rejection codes: z3(order error), zh, zj,
00, 01, 03, 04, 09, 50, z4, z7, z9, zc, zn (vbap-abgru) – cancelled orders that do not have
valid demand.
7. If vbak-augru = ‘070’ and vbap-abgru = ‘ ‘ or ‘ZS’ we do NOT collect demand (if this is
the result of a VA02 transaction – Puerto Rico- not needed anymore.
8. On rejection reason z8 (vbap-abgru) we take the difference between ordered
quantity and delivered quantity from the ‘Sales Document Flow’ table vbfa in the
following way:
Select sum (rfmng) into temp_sum from vbfa where vbelv = vbap-vbeln and posnv =
vbap-posnr and vbtyp_n = ‘J’ group by vbelv posnv
Endselect.
Quantity = temp_sum
This is special logic for Discount since they reorder everyday; many of the tires
on the order are those they didn’t get the previous day.

Unconstrained demand

  • 1.
    Unconstrained Demand inNorth Americ Key Figures from External Sources Orders Data Source: SAP R/3 Table - Field: S501, YMN005 for historical data (last three years) Data Filter: The demand is keyed by Material, Ship-to customer and primary servicing location (which is compatible with the global standard that is being developed for DP in the LA project). We require that the data is stored for up to 10 years. 1. An order must be one of the following types (vbak-auart): ZTA, ZBV, ZOR, ZSO, ZDO, ZFS, ZFM, ZRP, ZPO, ZEL, ZGE, ZOE, ZOP, zro, zdd, zml, zmo, zav, zms, zfd, zfr, zre, zrn, zln, zcc, zar, zmr, zrz, zff, zke, zkr, zrd, zrr, zrs, znr, zwr, zsc, zex, zxp, zxf, zeo, zer, zec, zed, and zen – Standard Orders 1a. The following order types must subtract from the total quantity: ZDF, ZRE, ZRN, ZAR, ZMR, ZRZ, ZFF, ZKR, ZNR, ZWR, ZER, ZEN – Returns 2. We use vbep-wmeng as the quantity, vbap-matnr as the material and vbak-pkunwe as customer. If vbep-meins = 'LB' and vbep-vrkme = 'BX' then the quantity = vbep-wmeng * ( vbep-umvkz / vbep-umvkn ) – convert tread rubber into eachs 3. We skip reserved orders vbkd-bsark = RO 4. We count the order in the month of the requested delivery date vbep-edatu. 5. We need to count the order if the item is relevant for delivery vbep-lfrel = ‘X’ and vbap-prodh(2) <> ‘06’ and vbap-matnr(2) <> ‘AC’ – exclude non finished goods. 6. We do not collect demand on the following rejection codes: z3(order error), zh, zj, 00, 01, 03, 04, 09, 50, z4, z7, z9, zc, zn (vbap-abgru) – cancelled orders that do not have valid demand. 7. If vbak-augru = ‘070’ and vbap-abgru = ‘ ‘ or ‘ZS’ we do NOT collect demand (if this is the result of a VA02 transaction – Puerto Rico- not needed anymore. 8. On rejection reason z8 (vbap-abgru) we take the difference between ordered quantity and delivered quantity from the ‘Sales Document Flow’ table vbfa in the following way: Select sum (rfmng) into temp_sum from vbfa where vbelv = vbap-vbeln and posnv = vbap-posnr and vbtyp_n = ‘J’ group by vbelv posnv Endselect. Quantity = temp_sum This is special logic for Discount since they reorder everyday; many of the tires on the order are those they didn’t get the previous day.