2010 Jul 15 5:40 PM
Hello Gurus,
I use L_TO_CREATE_MULTIPLE to create TO.
if I leave empty charg number for one material line in FN VB_BATCH_DETERMINATION that is triggeredc in L_TO_CREATE_MULTIPLE batches are determined (without quantities) but I thought it is prepared for eventual batch split
But I suppose not as I have a problem when I put quantity greater that quantity on one batch the functionality L_TO_PREPARE_ITEM_INT does not split material into batches, does it mean that I need to split this quantity on batches before calling L_TO_CREATE_MULTIPLE or maybe something in customizing is missing?
Bests Bogumila
2010 Jul 15 9:05 PM
Hi,
I had a also used this FM.
When you pass the total quantity it will only return the batch which should be used first to fulfill your requirement.
So you have to keep this FM in a Loop and keep subtracting the proposed quantity and store it in a Internal table till it is zero.
Thanks
Ajay
Hello Gurus,
I use L_TO_CREATE_MULTIPLE to create TO.
if I leave empty charg number for one material line in FN VB_BATCH_DETERMINATION that is triggeredc in L_TO_CREATE_MULTIPLE batches are determined (without quantities) but I thought it is prepared for eventual batch split
But I suppose not as I have a problem when I put quantity greater that quantity on one batch the functionality L_TO_PREPARE_ITEM_INT does not split material into batches, does it mean that I need to split this quantity on batches before calling L_TO_CREATE_MULTIPLE or maybe something in customizing is missing?
Bests Bogumila
2010 Jul 15 9:05 PM
Hi,
I had a also used this FM.
When you pass the total quantity it will only return the batch which should be used first to fulfill your requirement.
So you have to keep this FM in a Loop and keep subtracting the proposed quantity and store it in a Internal table till it is zero.
Thanks
Ajay
2011 Jun 09 1:50 PM
Dear Ajay,
I have the same problem with spiting bin by using L_TO_CREATE_MULTIPLE function.
Could you please give me some example of coding to loop until quantity to zero?
Thank you in and advance
Nuttapon K.