Pancreatic exocrine function involves the secretion of digestive enzymes and bicarbonate into the small intestine to aid in the digestion and neutralization of stomach acid. This process is crucial for the breakdown and absorption of nutrients, and its impairment can lead to malabsorption and digestive disorders.