Spastic ileus is seen in -
Spastic, or dynamic ileus is rare and results from extreme and prolonged contraction of the intestine.
It is seen in
heavy metal poisoning           
porphyria
uremia                                             
extensive intestinal ulceration.
Porphyria
Retroperitoneal abscess
Hypokalemia
MI