Heat oil in a pan and fry mushrooms about 2 minutes over high heat. Season with salt and pepper and remove from pan. Mix ham with mayonnaise and season with salt and pepper. Bake pita bread according to package directions. Fill with lettuce, cucumber slices, mushrooms and ham salad and serve.