Heat oven to 350 degrees. Have ready an ungreased 2 ½ quart shallow baking dish (about 9x12) or 9 inch deep dish pie plate. In a medium bowl, mix together chopped apples, cranberries and sugar. Spoon into ungreased baking dish and spread evenly. To make topping, mix together oats, pecans, brown sugar and flour. Add butter and stir until well blended. Crumble over filling, pressing down lightly. Bake approximately 40-45 minutes or until topping is browned and filling is bubbling.