Heat oven to 350 F. Greae pie plate 10x1 1/2". Rinse beans under running cold water to thaw; drain thoroughly. Spread beans and ham in plate. Beat cottage cheese, sour cream, margarine, eggs and baking mix until smooth, 30 seconds in blender on high, stopping blender occassionally to scrape sides, or 1 minute with hand beater. Pour into plate. Arrange tomato slices on top; sprinkle with Parmesan cheese. Bake until knife inserted in center comes out clean, about 35 minutes. Cool 5 minutes.