Hello,
Does the component and sales order material is having same batch number?
Are the components stock is un-restricted or sales order specific?
Customizing transaction OPJ2, activate the stock determination for the relevant step along with batch check.
Best Regards,
R.Brahmankar