Prepare spaetzle or noodles according to the package instructions, pour into a sieve, quench briefly and drain well. Cut the ham into narrow strips.
Heat the oil in a large pan, briefly fry the ham vigorously. Add the pasta and mix everything together well. Add eggs and stir in well. Fry over medium heat until the eggs are set.