Endoscopic retrograde cholangiopancreatography. Endoscopic retrograde cholangiopancreatography reveals the junction of the pancreatic duct and bile duct located outside the duodenal wall with a long common channel (red arrow). The yellow arrow shows the filling defect of the common bile duct consistent with the stone.