No need to create views or tables - you can use the union query as a sub query and run the query on that, or even better use the with clause:
;with mytable
(
Select AssyNo
,PrimaryNo
,PrimaryQty
,PrimaryScrp
,ComponentNo
,CompQty
,STNDCOST
,ScrapPer
,LOCNCODE
,Levels
,Sort
From CSTRLUP01
union...