Thanks for choosing HCM!
You should do few investigations to come to a diagnosis-
Ultrasound of whole abdomen empty stomach, X-ray KUB, LFT, RFT, Urine (R/M).
As you said no stool problems, no
vomiting, normal appetite , it unlikely to be related to GB or
appendix.
You should look for any swelling over abdomen or in groin region, that may be
hernia causing pain on coughing.
Get physically examined by your doctor once.
Till then you may take antispasmodics, analgesics, antacids with your doctor's opinion.
Wish you a speedy recovery.
With warm regards.
Take care.
Thanks!