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

Batch selection by sales order

Former Member
0 Likes
813

I need to write a query to extract matnr werks charg from mcha based on sales order number entered

also write a query to extract matnr werks charg from mcha based on delivery note entered

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
677

Hi Megan,

Get the batch number from VBAP table VBAP-CHARG

Pass this batch number to MCHA table MCHA-CHARG and get the information you need. hope this helps.

Hi Megan,

Get the batch number from VBAP table VBAP-CHARG

Pass this batch number to MCHA table MCHA-CHARG and get the information you need. hope this helps.

2 REPLIES 2
Read only

Former Member
0 Likes
677

Hi,

for first user VBAK, VBAP, MCHA with VBELN on VBAK and VBAP and MATNR for VBAP ans MCHA,

For delivery use LIKP, LIPS, MCHA,

regards, Dieter

Read only

Former Member
0 Likes
678

Hi Megan,

Get the batch number from VBAP table VBAP-CHARG

Pass this batch number to MCHA table MCHA-CHARG and get the information you need. hope this helps.