Automatic BOM in Drawing

Hi everyone,

I don't know if it is possible...But is there any way to add an automatic bom inserting process in a drawing file?

I thought It could be achieved with using pre-defined views in  a drawing template

but without any assembly file which is loaded to drawing file there is no way to getting bom table and

besides i can regretfully say in SolidWorks bom table and other referenced entites cannot be saved in a template.

SolidworksBill Of Materials