0% found this document useful (0 votes)
157 views

E-To-Order (MTO) / Purchase-To-Order (PTO)

This document discusses the process for managing make-to-order (MTO) and purchase-to-order (PTO) special orders in SAP AFS. The key steps are: 1) A sales order is created and a planned order is generated in AFS. 2) The planned order is converted to a production order which is then released. Goods are received into inventory upon production completion. 3) An outbound delivery is created, which automatically creates allocations in AFS by updating allocation tables based on special stock codes. Over-delivery is allowed for MTO orders by adjusting a flag in the AFS registry.

Uploaded by

mj
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
157 views

E-To-Order (MTO) / Purchase-To-Order (PTO)

This document discusses the process for managing make-to-order (MTO) and purchase-to-order (PTO) special orders in SAP AFS. The key steps are: 1) A sales order is created and a planned order is generated in AFS. 2) The planned order is converted to a production order which is then released. Goods are received into inventory upon production completion. 3) An outbound delivery is created, which automatically creates allocations in AFS by updating allocation tables based on special stock codes. Over-delivery is allowed for MTO orders by adjusting a flag in the AFS registry.

Uploaded by

mj
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 4

e-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.
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

You might also like