Sunteți pe pagina 1din 4

Make-to-order (MTO) / Purchase-to-order (PTO)

MTO / PTO are special orders where either the Manufacturer makes the materials in house or procure it
from the vendor. These orders are treated differently when it comes to creation of deliveries in AFS.

As allocation is mandatory in AFS, during creation of the delivery we allocate the stock to the sales
order. There is an option of carrying out explicit ARun also. The Business can decide on whether they
want explicit ARun or should the ARun happen in background.

Item Category used for MTO is JMT2 and that for PTO is TAB. For ARun to happen during delivery
creation, customizing should be maintained for Delivery item category.

SPRO -> Logistics Execution -> Shipping -> Define Delivery Item Categories for AFS.
Process Flow

1. Create Sales order


2. Execute /AFS/MD02 - Planned order will be created.
3. Convert planned order to Production Order
4. Release the Production Order
5. Do Goods receipt for the production order. Goods are fetched to our warehouse.
6. Create Outbound Delivery. Picking and PGI.

Database tables:

LIKP SD Document: Delivery Header Data

LIPS SD document: Delivery: Item data

MSKA Special Stocks

J_3ABDBS AFS Requirement - Stock assignment

J_3ABDSI AFS ORDER (Sizes)

Logic:

During delivery creation, we create allocation in the background. The special stocks are stored in the
database table MSKA. For each entry of MSKA table, we create allocation (An entry in J_3ABDBS). The
MSKA table is also updated with the remaining requirement information.

Include : MJ3AVFDL_ALLOCATION_CREATE

FORM : MTO_PTO_ALLOCATION_CREATE
For each entry in MSKA,

Create J_3ABDBS entry (Allocation)


MSKA is also updated with the information.

Only in the case of MTO, over delivery is allowed in AFS. This is to facilitate the customers to deliver the
excess goods which were manufactured. For activating the over delivery functionality, the flag
/AFS/MTOPTO_TOL in the AFS Registry need to be set.

Depending on the flag, the quantity of the delivery is adjusted in the following code

S-ar putea să vă placă și