Hi Elnady,
If you are using WBS element as account assignment in sale order, then it will get the BA from it. Otherwise you have to assign BA for plant/division or plant combination in OVF0. So based on it the system will derive in the sale order.
Regards,
Mukthar