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

problem with the function module VB_BATCH_DETERMINATION

Former Member
0 Likes
1,107

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.

1 REPLY 1
Read only

Former Member
0 Likes
558

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