I used pancake trimmings from making pancake cake. But you can also take whole pancakes. If you have scraps, then place them randomly in a baking dish. I screwed up the rolls, but you can just lay them randomly.
If the pancakes are whole, then cut them into ribbons and also put them in a mold
Cut the smoked ham into cubes and place it in the space between the pancakes.
Instead of ham, you can take ham.
Beat the eggs lightly with a pinch of salt, add a couple of tablespoons of melted cheese and milk. Mix until smooth.
Pour the egg mixture over the pancakes and place in the preheated oven.
Cook for about 20-30 minutes at t=160-180°C. Be guided by your oven.