The end of the common bile duct meets with the pancreatic duct at the Ampulla of Vater and empties bile into the duodenum. If a tumor develops in the head of the pancreas it can block the common bile duct and you will become jaundiced. Your skin and the white of your eyes might become yellow, your urine will become dark and your stools might become light in color. The pancreas secretes hormones and enzymes. Insulin and Glucagon are the hormones, which regulate blood sugar level.
Pancreatic enzymes help digesting food, especially fat.
Removing part of your pancreas does usually not affect your blood sugar levels. It is sometimes possible that the remaining pancreas does not make sufficient enzymes. In that case enzyme replacement can be taken as pills with every meal. You will complete a bowel preparation on the day before surgery in order to clean your intestines before surgery. Your doctor will give you specific instructions.