Skip to Content

Is there a way to Execute MD_PEGGING_NODIALOG for 1st level of pegging only

We can run MD_PEGGING_NODIALOG but it blows the production order out to the highest level planned orders. We want the results after just one pegging level.

For example, Production order 700000 for material 244501 is pegged to planned order 100000010 for material 330478 which is pegged to planned order 100000001 for material 409894.

When we run MD_PEGGING_NODIALOG for order 700000 the result is 100000001.

We do not want the highest level. We would rather see the first level and the result of 100000010.

Any ideas???

I've debugged MD_PEGGING_NODIALOG but it only gives me a headache 😊



Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jan 27, 2012 at 03:12 AM

    Hi Chad,

    The function MD_PEGGING_NODIALOG was designed to display the first step of the pegging elements.

    It is set up as a list because there can be several elements that cause a requirement on the first step.

    But with this function you can only get the elements that you are getting with MD_PEGGING on the first screen.

    Unfortunately, there is no single function module or table from which you could read the pegged-requirements on every level.

    So, In a few words, MD_PEGGING_NODIALOG delivers a list of the top requirements for a list of materials, as it is used in the MRP.

    I hope this information helps you to understand MD_PEGGING_NODIALOG behavior.

    Kind Regards,


    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jan 27, 2012 at 12:42 PM

    Thanks for the response. I was afraid of that, but thanks anyway.

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hello Chad

      I just can across this thread as we do have exactly the same requirement. Starting from the bottom of the chain we would like to have only the first level (next higher) of pegging for the MRP element. Did you come up with any suitable solution you could share?



Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.