Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

L_TO_PREPARE_ITEM_INT batch split for the same material

Former Member
0 Likes
1,257

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

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
977

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

2 REPLIES 2
Read only

Former Member
0 Likes
978

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

Read only

0 Likes
977

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.