Welcome to Healthcaremagic.
I had gone through your query and understand your concern.
No. Vitamin B12
supplements and injections may not be cause for your pain.
The cause could be something else.
Pain under the rib cage may be experienced due to various conditions.
I need some detailed query about your pain.
Whether pain is central or left sided or right sided?
What is the type of pain? sharp or pricking or dull ache or compressing?
Whether it have any relation to your food? ie. Immediately after food intake or 2 or 3 hr after food intake?
Associated with any nausea or vomiting or diarrhoea?
Isn't ir radiating to left or right arm?
Do you have any breathing difficulty ?
Do you have any cough or cold?
The cause may ranging from simple gastric upset to heart attack
If you are my patient, after detailed history i will go for physical examination.
As physical examination is more vital.
Please consider the above questions in mind and analyse yourself.
If the pain is sharp and excruciating or compressing type, ECG is must.
If pain is radiating to arms and shoulder, Ecg is must.
If the ECg is normal, go for some Proton pump
inhibitors like Pantoprazole
as it may be due to gastritis
But keep in mind that, It may be due to musculoskeletal pain
If the pain is persisting, please do following investigations.
Investigations like Chest X ray, Upper GI endoscopy
to confirm the diagnosis.
Hope this helps.
f you have additional questions or follow up queries then please do not hesitate in writing to us. I will be happy to answer your queries.
Wishing you good health.