Cut the potatoes into slices. Heat the oil in a pan and fry the onion and diced ham in it. Pour in approx. 150 ml water, bring to the boil and stir in the granular broth. Add vinegar and season with pepper. Slice the cucumber into narrow sticks and fold in. Pour the hot onion mixture over the potatoes and let everything steep. Season the salad again with salt and pepper.