Grease the baking sheet with oil. Put half the slices of bread together.
Put half of the ham on the bread, spread it with ketchup, add a spoonful of corn, a piece of onion, a slice of tomato and a piece of pepper. Sprinkle the pizza with spices, salt and grated cheese.
Cover with the remaining bread. Add ham, ketchup, corn, cheese again, drizzle with oil (oil spray is better).