Place the tortellini in plenty of boiling salted water and cook for 13-15 minutes (according to Packumgs instructions). In the meantime clean and wash broccoli and cut into florets. Cover and steam in little boiling salted water for about 8 minutes.
Cut the ham into large cubes. Put the tomatoes on a sieve, drain and collect the juice. Cut the tomatoes roughly into pieces. Peel and chop the onion. Heat oil in a pot, fry onion and ham in it and add the tomato juice.
Let it boil down for about 5 minutes and season it with salt and pepper. Stir in tomato pieces. Put broccoli in a sieve and drain. Pour tortellini also on a sieve, rinse under cold water and drain.
Mix the tortellini, broccoli and tomato mixture in a greased casserole dish. Mix milk, eggs, some salt, pepper and nutmeg. Pour egg milk into the baking dish and sprinkle with cheese. Bake in the preheated oven (electric cooker: 175 °C/ convection oven: 150 °C/ gas: level 2) for about 1 hour.