You can have costovertebral angle tenderness, meaning if someone lightly taps your back near the area of the kidneys it will be painful. Pancreatitis will be epigastric pain, or pain below the xiphoid process.
WikipediaCostovertebral angle tenderness (CVAT), also known as CVA tenderness, Murphy's punch sign, Pasternacki's sign, or Goldflam's sign (Latin: succusio renalis), is a medical test in which pain is elicited by percussion of the area of the back overlying the kidney (the costovertebral angle, an angle made by the vertebral column and the costal margin). The test is positive in people with an infection around the kidney (perinephric abscess), pyelonephritis, hemorrhagic fever with renal syndrome or renal stone. Because the kidney is directly anterior to this area, known as the costovertebral angle, tapping disturbs the inflamed tissue, causing pain.
https://en.wikipedia.org/wiki/Costovertebral_angle_tenderness[https://en.m.wikipedia.org/wiki/Costovertebral_angle_tenderness]