What tests should I have at the hospital if I have anal cramping?

There are many causes of anal cramping and further relevant investigations should be made after consultation in conjunction with other concomitant symptoms, including rectal palpation, proctoscopy, CT scan of the abdomen and rectal endoscopy, which can diagnose most anorectal lesions.