how to get parent planned order

Question: Hello, SapFans

We're trying to use multi-level BoM. And I need to get the parent planned order of planned order, when it's not the top one in the hierarchy.

There is no problem to get dep. requirements of planned order (FMs, tables PLAF, RESB). The link is there both ways. But I don't seem to find ANY link between child planned order and parent dependent requirement, created during MRP run.

And the only thing I seem to haven't tryed up until now is reverse engineer the whole MD09 or some other transaction

I'd really appreciate any ideas, suggestions of where should I look.

Thanks

Answer:
There is a function MD_PEGGING_NODIALOG that you could probably use.
_________________
ilya

More input data: http://abaplog.wordpress.com
Sapfans ABAP FAQ: /forums/viewtopic.php?t=94198
R's ABAP Knowledge Corner: http://www.Rard-harper.net/kb/kb.html
Function modules documentation: http://www.se37.com
Copyright ?2007 - 2008 www.jt77.com