Clean and wash fresh green beans, cook in salted water until firm to the bite, then rinse briefly under cold water.
Dice the onion.
Cut the Black Forest ham into small pieces, leave out in the pan and fry until crispy. Add the butter and the onion cubes and fry everything together until the onions are translucent.
Now mix with the beans and season with pepper and possibly salt.