Application Development 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: 

get batches for material number

Former Member
0 Kudos
648

Hello,

I need to find the batch to be selected for a material number.

So i have found the FM ‘VB_BATCH_DETERMINATION’.

I have set as input parameters : matnr, werks and lgort

But i don’t have batches in output .

Please, what should i enter parameters as input to get batches for specific material?

Thank you,

Celine

1 REPLY 1

former_member215526
Active Participant
0 Kudos
293

Hi Celine,

I can propose to you also just check the stock table MCHB, and this field give you the MCHB-CHARG.

Or you can use the function "VB_READ_BATCH" and complete in the table I_MCHB_KEY the fields MATNR, WERK and LGOR.

Regards,

Xavier