Chop the onion into cubes. Heat the margarine in the pan and steam the onion in it. Add the beef, season and fry well. Preheat the oven to 200 ° C.
Put the tomatoes in a saucepan, do not pour off, stir with the whisk and heat. Add the pineapple pieces, the peas and the cooked ham cut into pieces and stir briefly. Add the fried minced beef and stir with the cream. Season again with salt and pepper.
Put the contents in a greased baking dish as follows. Place a layer of lasagne sheets on the bottom of the pan, then a layer of minced meat filling, then pasta again, etc.
As the last layer, a layer of pasta, which is sprinkled with the grated cheese and a few flakes of butter (approx. 5 pieces). Bake the lasagna at 200 ° C for 45 minutes.