Have Medical Questions? Ask a Doctor Online!
There is a large list of possibilities. Narrowing it down to few would require detailed history and physical exams in addition to few tests. I would recommend that you go to the ER or an urgent care center and have it checked. Speculating what this pain might be coming from, will not help you. It is likely to be spine/rip/muscle strain, unlikely to be pancreatic cancer
If this satisfies your question, please complete the stars rating. This is how we get credit for our service. Best wishes