What causes nagging shooting pain in upper abdomen with bloating?

Possible ulcer. Could be an ulcer, gastritis, ibs, gallbladder issue. See you doctor to see what tests need to be done.