Skip to Content
0

MD09 ABAP Order Route first Level

Sep 09, 2017 at 02:25 PM

125

avatar image
Former Member

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

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

Caetano Almeida
Sep 13, 2017 at 02:04 PM
0

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

Share
10 |10000 characters needed characters left characters exceeded
avatar image
Former Member Sep 14, 2017 at 06:30 PM
0

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

Share
10 |10000 characters needed characters left characters exceeded