Fill your doughnuts after they have been fried. Wait until they are cool enough to handle then pipe the jam in using a pastry bag fitted with a long piping nozzle. You can choose whether to coat in the sugar or fill with the jam first - either way works.