Boil the potatoes and carrots, then mash them.
Finely chop the cucumber, onion, and ham.
Add the cucumber, onion, ham, and mayonnaise to the mashed potatoes and carrots, then mix well.
Place the salad filling on one side of the bread.
Cover with another slice of bread to complete the salad bread.