Inclusion Criteria:  Patient over 18 years old Patient with a solid or degenerated cystic tumor of the pancreas requiring curative surgery Patient with a complete clinical examination performed Patient with no contraindication to anesthesia, upper digestive endoscopy and pancreatic surgery Patient able to receive and understand information relating to the study and give informed written consent Patient affiliated to the French social security system  Exclusion Criteria:  Patient presenting with bleeding disease with disorder hemostasis and coagulation (PT <60%, TCA> 40 s and platelets <60,000 / mm3) Patient on anticoagulant or antiaggregant treatment that cannot be temporarily interrupted Patient carrying a right-left shunt, a severe pulmonary arterial hypertension (high blood pressure pulmonary> 90 mm Hg), uncontrolled systemic hypertension or suffering from respiratory distress syndrome. Pregnant or breastfeeding patient Patient in exclusion period (determined by a previous study or in progress) Patient under legal protection Patient under guardianship or trusteeship