ERCP stands for endoscopic retrograde cholangiopancreatography. This procedure is used to view the biliary and pancreatic ducts. It is used to check diseases that affect the ducts. It helps find and treat any blockages.