select t.PSPCODE as 'PSP-Element', t.TASKNAME as 'Arbeitspaket-Name', CEILING(t.ESTEFFPH) as 'Plan-Stunden' 

  from CCTASK t

 where t.PROJECT=::qproject:: and t.TASKTYPE='JAPAP'

UNION 

select 'SUMME','Projekt',SUM(CEILING(t.ESTEFFPH)) as PLANSTUNDEN

  from CCTASK t

  where t.PROJECT=::qproject:: and t.TASKTYPE='JAPAP'