Cream together margarine, sugar and brown sugar. Add eggs and vanilla. In a separate bowl, sift together flour, baking powder, baking soda, and salt. Combine wet and dry ingredients. Add coconut and oats. Refrigerate for 1 hour. Preheat oven to 350 degrees. Roll dough into 1" balls and bake for 10-12 minutes. Don't overbake.