In a 2-quart casserole that has been sprayed with cooking spray, combine apples, cranberries and sugar. Mix oats, brown sugar, flour, pecans and melted butter in bowl and place on top of apple/cranberry mix.
Bake for about one hour or until bubbly and brown. Serve hot.