‎2011 Feb 01 6:12 AM
Hi frnds,
i want to find the batch for creation of material document automaticaly for that i got one function module VB_BATCH_DETERMINATION which gives the batch based on the required quantity of material, upto here its working properly but i am facing the problem with this function module its proposing one batch but that batch is having some material which is more than our required quantity material but some of that material is reserved for delivery then that batch is not usefull for creation of material document but this function module does not propose another batch how will i over come this problem please tell the solution for this one.
‎2011 Feb 01 6:35 AM
Hi
Could not find exact FM for your requirement but I have one logic which I also used for similar rquirement
Table MCHB contain the batch and 'clabs' is the field for quantity,
Just write your own logic and get the desired result.
Hope this helps.
Regards
Bikas