Skip to Content
0
Former Member
Apr 15, 2010 at 02:05 PM

Material Batch functions

81 Views

Hey,

I'm modifying a program which moves stock from our main warehouse to a corresponding storage location base on where orders are being routed.

The function BAPI_GOODSMVT_CREATE is being used to create the goods movement but it requires a batch number for every material in the order.

Are there any functions which can return the oldest (First in First out) batch number(s) of a material base on the quantity to be moved. It would return multiple batches if there isn't enough stock in the oldest batched stock.

Nicholas