This.Just target the body and the scanner automatically gets to work. It'll give you a level 3 scan which will tell you what you can expect to find on the surface - just hit the system map, select the body and you'll get the breakdown in the details tab. Only if it's a landable body mind you.
Remember also to click on the info option on the left hand side of the System map screen, highlight the planet/moon you have scanned and scroll down as the materials available list is right at the bottom.