I experienced pain in a similar location (above the navel, under ribcage) when I had an ulcer. I also had excessive belching, which is common with ulcers. It took my dr. a while to properly diagnose me, because eating often helps ulcer pain. In my case, the pain was constant and eating had no effect. Stacey