Years of inflammation scar the pancreas until it can't make enough enzymes or insulin.
Chronic pancreatitis damages exocrine and endocrine tissue alike. About 80% is due to alcohol; up to 20% is idiopathic. It causes epigastric pain that goes through to the back and is worse after meals but eased by sitting forward. Exocrine failure causes steatorrhoea, and diabetes develops later. About 30% have pancreatic calcification on AXR. Faecal elastase tests exocrine function. Treat with pancreatic enzyme supplements and analgesia.