Drain the apricots in a colander. Mix the margarine, sugar and vanilla sugar until frothy. Add eggs and milk and finally stir in the flour mixed with baking powder. Spread the dough on a greased baking sheet and spread the apricots on it.
Mix the quark, sugar and vanilla sugar, stir in the crème fraîche, eggs and vanilla pudding powder and spread over the apricots. Melt the butter, add sugar and finally fold in the desiccated coconut. Let the mixture cool down and pour it onto the quark mixture.
Bake the cake at approx. 180 ° C for approx. 60 minutes. When the coconut flakes start to brown, cover the cake with aluminum foil until the end of the baking time.