Lose of link between sales order and production order

Issue with production order confirmation

Due to lose of link between sales order and production order due to credit check problem The production order for higher level component lost link and was hanging out in limbo status.

Now the production order at lower level component also loose track and they were already released where as production orders at higher level were not released

So now lower level production orders were tecoed with BDC program as there were 1200 production orders to be tecoed at lower level .

So once I deleted lower level, I saw that there were planned orders for same component and same sales order and item, this was  because MRP was running at same time .

So this MRP generated planned orders as the production orders at highrt level were still hanging there and to full fill those production orders lower level component planned orders were generated

So now cleared the production orders in top level and ran MRP in display mode and found that there were no planned orders for lower level component.

But still there were two more planned order created at higher level has I previously tecoed them and did zero confirmation due to some other reason, So I had to unteco them to delete these planned orders and also cancel confirmation to get the production order element on to MD04 screen. Once Iam done with that it show a message 26 

So It should be clear that if the exception message is 20 ie cancel process then that production order must be deleted as there is no requirement to consume this order. As all this context was made in MTO stock product.

With Compliments from: Prashanth

See also
MF50 Capacity Leveling With Production Order

Get help for your SAP PP Problems
SAP PP Forum - Do you have a SAP PP Question?

SAP Books
SAP Certification, Functional, Basis Administration and ABAP Programming Reference Books

SAP PP Tips
SAP PP Tips and Production Planning/Control

Main Index
SAP Basis, ABAP Programming and Other IMG Stuff
http://www.erpgreat.com

All the site contents are Copyright © www.erpgreat.com and the content authors. All rights reserved.
All product names are trademarks of their respective companies.  The site www.erpgreat.com is in no way affiliated with SAP AG. 
Every effort is made to ensure the content integrity.  Information used on this site is at your own risk.
 The content on this site may not be reproduced or redistributed without the express written permission of 
www.erpgreat.com or the content authors.