Peel and chop the onion. Wash the meat, dab dry and cut into cubes. Heat the oil in an ovenproof roasting pan. Fry the meat for about 8 minutes, turning it over. Season with salt and pepper.
Add the onion and sauté. Cook in the preheated oven (electric cooker: 200 °C/ convection oven: 175 °C/ gas: level 3) for approx. 2 hours. Gradually pour in the stock. Wash, clean and quarter the tomatoes.
Wash the rosemary and shake dry. Add tomatoes and rosemary to the goulash after 15 minutes. Wash and clean the beans and cut them into pieces about 5 cm long. Cook in boiling salted water for about 10 minutes.
Then drain and add to the goulash about 30 minutes before the end of the cooking time. Season to taste with salt, pepper and sugar. Sprinkle with crumbled cheese.