What would cause a brief sharp pain in upper abdomen10 to 15 min after eating lasts about 3to5 sec happens a couple of times then goes away concerned?

Fleeting pains. Such very fleeting but Sharp pains after eating may simply be transient gas pains especially if you have absolutely no abdominal distress the rest of the time. Concerning symptoms would be more lasting discomfort, tenderness, nausea,vomiting,abdominal distension, black or bloody stools. If symptoms persist or worsen consult your physician or a gastroenterologist for evaluation.