Hi Vandana,
Create two Production scheduling Profiles..one with automatic batch generation during order creation or release..one more with no Automatic batch creation in production/process order.
Assign these two Production scheduling Profiles accordingly in the material masters in work scheduling view. ... still not able to understand why you need user exits and BADI's for this ????...
Thank
Kumar