Skip to Content
avatar image
Former Member

MD09 ABAP Order Route first Level

Hello,

I need the Order Route from the MD09 for a Z-Report.

I have a BANF or PO and need the Production Order.

At first I try the MD_PEGGING_NODIALOG. The gives me the higgest Production Order but I need the first level.

Then I try the BAPI_MATERIAL_STOCK_REQ_LIST. The problem is to find the right Reservation.

When I have one BANF it works. I can match it with the date.

But when I have on the same date two BANFs with the same quantity i can't match it.

I try a trace from the MD09 but i cant't find a logic.

Best regards,

Alex

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Sep 13, 2017 at 02:04 PM

    Hello

    I think you can get what you want with FM MD_PEGGING_NODIALOG. Try to set a break-point here and then call MD09 to check the input parameters.

    Regards,

    Caetano

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 14, 2017 at 06:30 PM

    At first I try the MD_PEGGING_NODIALOG. The gives me the higgest Production Order but I need the first level.

    Add comment
    10|10000 characters needed characters exceeded