Hello Jürgen,
thank you for your answer. I adjusted my IDoc structure:
POSNR 10
MATNR 000000000000667459
MATWA 000000000000667459
VRKME CT
EAN11 4000539674594
POSNR 900001
MATNR 000000000000667459
MATWA 000000000000667459
CHARG L3543
LFIMG 6
VRKME CT
HIPOS 000010
EAN11 4000539674594
E1EDL19 QUALF BAS
POSNR 900002
MATNR 000000000000667459
MATWA 000000000000667459
CHARG L3543
LFIMG 6
VRKME CT
HIPOS 000010
EAN11 4000539674594
E1EDL19 QUALF BAS
POSNR 900003
MATNR 000000000000667459
MATWA 000000000000667459
CHARG L2603
LFIMG 6
VRKME CT
HIPOS 000010
EAN11 4000539674594
E1EDL19 QUALF BAS
The E1EDL37 and E1EDL44 match my 3 lines from above:
EXIDV 373500699550321040
VHILM 000000000000000034
VHILM_KU 000000000000000034
EXIDA H
VELIN 1
VBELN 0002008604
POSNR 900001
VEMNG 6
VEMEH CT
MATNR 000000000000667459
CHARG L3543
EXIDV 373500699550354253
....
VELIN 1
VBELN 0002008604
POSNR 900002
VEMNG 6
VEMEH CT
MATNR 000000000000667459
CHARG L3543
EXIDV 373500699550364436
....
VELIN 1
VBELN 0002008604
POSNR 900003
VEMNG 6
VEMEH CT
MATNR 000000000000667459
CHARG L2603
But it keeps giving me the error: Item 900002 : Only 6 VE from material 667459 are available.
I checked the material in MMBE and the batches I use are there and there is 37 quantity for L3543 and 118 quantity for L2603.
I went through WHSCON and SHPCON IDoc - ERP SCM - SCN Wiki but I can't see any other field I have to check on. It seems the system is unable to add the quantities together and thinks there is not enough stock.
Do you have any other idea what could be wrong?
Thank you,
Peter
PS: could it be that the system would only perform a batch split when the quantity in stock is less per batch than in the IDoc?