Try to find what they have in common, e.g. movement types used for goods issue, one-step vs. two-step STO, UB vs NB, GR done in reference to outbound delivery vs. purchase order.
Check if it happens only for certain plants or only when certain users process the movements.
Check if you have exits for batch numbering in use, if you use exits for the BWU itself.