Do you mean your dog has pancreatitis? If so, I would ask the vet before you give it, but this is what one site says:
"DIGESTION:
Coconut Oil provides a nutritional source of quick energy; Boosts energy and endurance, enhancing physical and athletic performance; Improves digestion and absorption of other nutrients including vitamins, minerals, and amino acids; Improves insulin secretion and utilization of blood glucose; Relieves stress on pancreas and enzyme systems of the body;
Reduces symptoms associated with pancreatitis; Helps relieve symptoms and reduce health risks associated with diabetes;"
COCONUT OIL FACTS Not a vet site!
and "Pancreatitis: Coconut oil is also believed to be useful in treating pancreatitis."
Health Benefits of Coconut Oil Not a vet site!