You are on page 1of 26

Current situation

GATP ZS/A Add Checking Rule ZG in the BAPI_MATERIAL_AVAILABILITY in method ZIF_EX_GLOBAL_ATP_CHK~GLOBAL_ATP_CHECK

Required

ZS/AG Consider only the stock. Reservation for the material ( MB21 / movement type 231 ( against sales order )) Sales Orders with confirmed quantity Deliveries with confirmed quantity Stock in Transfer ( Can be checked with MB5T)

Consider Consider Consider Consider Consider

ATP ZS/AE A- SD order AE- Make to Order

ZS/A Consider Open Purchase Orders. Purchase Order / Stock transport orders with receiving stock ( can be checked in EKKO table ) Sales Orders with confirmed quantity Deliveries with confirmed quantity Stock in Transfer Reservation for the material ( MB21 / movement type 231 ( against sales order )) Released Stock transport orders Released Production Orders ( CO01)

A- for Spare parts in stock.

Current

GATP

GATP

ATP

Material

Item Cat Grp

item categ. ZBIO ZDD1

923470.0012 ZPS1 923470.0013 ZPS2

ATP

Initial stock 0 0

Material

923470.0012 - ZPS1 Doc Type Sales Area Customer Material Stock

1)

Sales Order Sales Order

1358

ZSS

be01/03/10

600113

923470.0012 0

2)

1360

ZSS

be01/03/10

600113

923470.0012 10

3)

Sales Order

1361

ZSS

be01/03/10

600113

923470.0012 10

System Considers a stock of 9 Qty because 1 Qty is confirmed with order 1358

4)

Purchase Order 4500001130 Create Purchase Order with 5 Qty of 923470.0012 with delivery date 26.04.2012 Sales Order

1362

ZSS

be01/03/10

600113

923470.0012 10

System stock is considered as 4 --> Confirmed quantities --> 1 Qty (1360) + 5 Qty ( 1361 Purchase Order Qty of 5 is not considered for the ATP check. ( Other than confirmed qua Stock Transp Order Delivery

5) 6)

4500001134 Stock Transport Order created from BE21 to BE11 with delivery date 26.04.2012 80001137 Delivery Created for Sales Order 1360, Stock goes down to 9 in MMBE

7) Sales Order ZSS BE01/03/10 600113 923470.0012 10

for Normal ATP, as per item category determination, we get Item category ZBIO ( ZSS / ZPS1 combinat the ATP check uses ZS/AE combination.

plant

Storage Location GATP

Display Availability

Item Category

Required Qty

Confirmed Qty

Required Delivery

BE11

1000

Yes

ZS / AE

ZBIO

26.04.2012

BE11

1000

Yes

ZS / A

ZSTK

26.04.2012

BE11

1000

Yes

ZS / A

ZSTK

26.04.2012

irmed with order 1358

delivery date 26.04.2012

BE11

1000

ATP

ZS / AE

ZBIO

26.04.2012

es --> 1 Qty (1360) + 5 Qty ( 1361 ) heck. ( Other than confirmed quantities 4 + PO qty 5 )

delivery date 26.04.2012

n to 9 in MMBE

BE11

1000

ATP

ZS / AE

ZBIO

26.04.2012

egory ZBIO ( ZSS / ZPS1 combination ), even if the stock is available and

Confirmed Delivery PR

Purchase Order

Sales Order Stock

27.04.2012 10000860

4500001130

26.04.2012

26.04.2012

27.04.2012

27.04.2012

Material

923470.0013 - ZPS2

Doc Type Sales Area 1) Sales Order 1363 ZSS be01/03/10

Customer 600113

Material 923470.0013

2)

Sales Order

1364 ZSS

be01/03/10

600113

923470.0013

3)

Sales Order

1365 ZSS

be01/03/10

600113

923470.0013

Item Category ZDD1 has " special stock indicator" blank, hence default checking Rule " A" and In case 2 and 3, although the stock is available, during ATP check, item category determined is 4) Delivery 80001139 Delivery of Order 1363 - stock reduced to 9

5)

Sales Order

1366

A) ZSS

be01/03/10

600113

923470.0013

B) ZSS

be01/03/10

600113

923470.0013

be01/03/10 600113 C) ZSS Complete Delivery Required.

923470.0013

be01/03/10 600113 D) ZSS Complete Delivery Required.

923470.0013

For ALL ABOVE CASES

6)

ZSS

be01/03/10

600113

923470.0013

Stock 10

plant BE11

Storage Location 1000

GATP GATP

Display Availabilit Item y Category ZS / A ZSTK

Required Confirmed Required Qty Qty Delivery 1 1 26.04.2012

10

BE11

1000

ATP

ZS / A

ZDD1

26.04.2012

10

BE11

1000

ATP

ZS / A

ZDD1

10

10

26.04.2012

e default checking Rule " A" and not " AE" althoug complete stock is not available. eck, item category determined is " ZDD1" leading to the Purchase Requisition.

10

BE11

1000

GATP

ZS / A

ZDD1

10

10

26.04.2012

10

BE11

1000

ATP

ZS / A

ZDD1

10

10

26.04.2012

10

BE11

1000

ATP

ZS / A

ZDD1

10

10

26.04.2012

10

BE11

1000

GATP

ZS / A

ZDD1

10

10

26.04.2012

10

BE11

1000

GATP

ZS / A

ZDD1

10

10

26.04.2012

Confirmed Delivery 26.04.2012

PR

Sales Purchase Order Order Stock

27.04.2012

10000863

27.04.2012

10000864

27.04.2012

10000865

27.04.2012

27.04.2012

27.04.2012

27.04.2012

Doc Type

Sales Area

Custome r Material

Stock

1) 2)

Purchase Order

4500001136 Testing ZSS

PO 4500001136 created for Material 923470.0013 with Qty 5 for plant BE11 be01/03/10 600113 923470.0013 10

Purchase Order Quantity is considered in the ATP check, but as per the item category determinatio Requisition. Although system allows to confirm the quantity on the same day if the item category i 3) 1367 ZSS be01/03/10 600113 923470.0013 14

Although the stock is available, itemcategory determination leads to ZDD1 and hence the Purchase

4)

1368 ZSS

be01/03/10

600113 923470.0013

5)

1369 ZSS

be01/03/10

600113 923470.0013

6)

MB1c

Add 10 Qty of material 923470.0013 to Plant BE21 / 1000

7)

Stock Transport Order

4500001137 Transfer 10 Quantities of material 923470.0013 from BE21/1000 to BE11/1000

8)

Sales Order

1371 ZSS

be01/03/10

600113 923470.0013

Stock Transport order Quantities of 10 are considred in ATP check.

9)

Sales Order

plant

Storage Location

GATP

Display Availability

Item Category

Required Confirmed Required Qty Qty Delivery

Confirmed Delivery

0013 with Qty 5 for plant BE11 with Delivery date 26.04.2012 BE11 1000 ATP ZS / A ZDD1 1 1 26.04.2012 26.04.2012

he item category determination rule, item category ZDD1 is determined which leads to Purchase same day if the item category is changed to ZSTK. BE11 1000 ATP ZS / A ZDD1 1 1 26.04.2012 27.04.2012

ZDD1 and hence the Purchase Requisition.

BE11

1000

ATP

ZS / A

Manually changed to ZSTK 5

26.04.2012

26.04.2012

BE11

1000

ATP

ZS / A

Manually changed to ZSTK 9

26.04.2012

26.04.2012

000

E21/1000 to BE11/1000

BE11

1000

ATP

ZS / A

Manually changed to ZSTK 5

26.04.2012

26.04.2012

dred in ATP check.

PR

Sales Purchase Order Order Stock

10000866

You might also like