Dough:
Combine all-purpose flour, baking powder, salt, margarine and water in a large bowl. Mix well. Add additional flour gradually if dough is too moist and hard to work with.
Filling:
Combine shredded apples, sugar and vanilla extract in a small bowl. Set aside.
Assemble:
Roll dough into a 11x17 inch rectangle.
Spread the apple mixture evenly over the dough.
Roll the dough, from the long end, jelly roll style. Slice the roll into 1-inch slices. Place the apple buns close together into two (9-inch round) glass baking dishes.
Syrup:
Combine water, sugar, brown sugar, margarine and cinnamon in a small pot. Stir over low heat until all ingredients are melted.
Pour syrup over apple buns.
Preheat oven to 350° F. Bake 1 hour. Serve warm.