An abdominal X-ray may help doctors find the cause of belly pain or vomiting. It can sometimes detect kidney stones, an obstruction (blockage), a perforation (hole) in the intestines, or a mass such as a tumor. Sometimes, the X-ray can show a swallowed foreign object (such as a coin).