Other ducts open into the common bile duct, including the pancreatic duct, which carries digestive enzymes out of the pancreas. If a gallstone blocks the opening to that duct, digestive enzymes can become trapped in the pancreas and cause an extremely painful inflammation called gallstone pancreatitis.