I think you should start with a CT and then proceed to endoscopy. CT is more readily available, faster as a procedure, less intervening and thus bearing lower risk, and may well rule out other possible causes of abdominal pain. In my opinion, endoscopy should be reserved for those pt's that the CT in non-conclusive. Perhaps a fellow with greater clinical experience could help out.