Soak the beans in water overnight. Then pour into a sieve and allow to drip off. Put the beans in plenty of boiling water, cover and cook over medium heat for about 2 1/4 hours. In the meantime, pour the pineapple into a sieve, collecting the juice. Cut the pineapple slices into pieces. Peel and roughly dice the onions. Peel garlic and chop finely.
Heat oil in a pot, fry onions until translucent, add garlic and oregano, fry briefly. Add pineapple, sauté, dust with sugar and allow to caramelize slightly. Add the sauerkraut. Deglaze with stock, pineapple juice and tomato chili sauce, bring to the boil, cover and simmer over medium heat for about 25 minutes. In the meantime, pour the beans into a sieve and drain. Add the beans, bring to the boil again and season with salt, pepper and paprika. Drizzle with cream and serve garnished with parsley and oregano