Hi Selva,
I have never used this function when a code is entered is entered in a sales order and all the BOM Components are automatically listed in the sales order. I do not think it is feasible but any expert can guide you in this regard. BOM usage is "1-Production" in most cases.
If you want to sell the BOM Components, create Sales View in Material Master (MM01). Then Components can be entered as sales order line items and sold separately.
Regards,
Sohaib