Sphincter of Oddi Spasm. The sphincter of Oddi can be a muscular valve in Your whole body that controls the flow of bile and digestive juices from your pancreas in the smaller intestine. When this valve spasms, it may well experience like getting a tight muscle cramp, leading to soreness and blocking the stream of such juices, which may lead to irr