Peel and finely chop the onion. Chop the olives coarsely. Drain tomatoes and cut into strips. Cut ham into strips. Grate parmesan cheese. Heat oil in a large pan and fry ham in it while turning.
Add the onion and fry briefly. Add olives and tomatoes, fry for another 1-2 minutes. Dust with flour, sweat briefly and deglaze with broth and cream. Season with salt and pepper. Let it boil up.
Stir in the Parmesan, except for 1 tablespoon for sprinkling. Simmer for 3-4 minutes, stirring several times. In the meantime prepare pasta in boiling salted water according to the instructions on the packet. Wash basil, shake dry, put some leaves aside for garnishing.
Cut remaining leaves into strips. Pour the pasta into a sieve, quench briefly, drain and add to the sauce. Season again with salt and pepper. Arrange in small bowls. Garnish with basil leaves and sprinkle with parmesan.