Cut the onions into small pieces and fry them in hot oil, add the smoked ham cut into cubes as thick as a thumb and fry, then leave out the fat from the smoked ham over a lower heat. In the meantime, cut the peppers into strips and let the sauerkraut drain - catch the liquid just in case. Now mix in the ajvar or paprika powder and add the paprika strips and sauerkraut. Finally add the bay leaves and allspice. Cover and simmer for 20 minutes to an hour, depending on the type of sauerkraut.
If the ingredients seem too dry, gradually add the sauerkraut liquid. Finally stir in the crème fraîche.