Is the pain on the upper right side? Feel full all the time? With all the burping it could be your gallbladder/gallstones.
I'd had severe pain in my upper abdominal area for ages. My dr keptvtelling me it was ligament pain, then I was told it was my liver due to my preeclamplsia, but it just wouldn't go away and was getting worse. Thank god some ladies on here encouraged me to get it checked out on Monday, saw a surgeon on Tuesday, had my disfunctional gallbladder out on Wednesday and am now recovering at home, 22wks pregnant today. Always get things checked if you don't feel right!
I doubt it is anything serious iv been getting pains under my ribs im 34+1 week's the midwife wasnt concerned when I mentioned it to her