cancel
Showing results for 
Search instead for 
Did you mean: 

MD09 ABAP Order Route first Level

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

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

Caetano
Product and Topic Expert
Product and Topic Expert
0 Kudos

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