Preheat the oven at 200 degrees Celsius.
Peel and cut the apples in small pieces. Pour the apple bites in the form.
In a casserole melt the margarine. Turn off the heat and pour the syrup and the sugar in the casserole and mix well.
Add the flour, vanilla sugar, and baking powder. Mix well until the consistency is reassembling a soft cookie dough.
Crumble the batter evenly over the apples. Place in the middle of the oven for 20 minutes.
Take out the pie and let it cool down. Place in small serving bowls together with vanilla sauce.