Cancer of the pancreas can obstruct the pancreatic duct and the common bile duct, resulting in jaundice. Pancreatic cancer may not be detected until the tumor has become fairly large, and it can become so large as to block off the pyloric part of the stomach.