you can determine the grade of the pipe by haivng an certified NDE tech to do a PMI (positive material identafication.) test on the pipe. Basicaly it will create a spark on the pipe, and measure the spectrum of light given off. Once the test is over, it will give you a material percentage read out. ie, 0.30 C, .25 Mo so on.
Once you have that info you can go to a ASME sec. 9 Qw/Qb 422 and find a simular metal to better guess the type/grade. Once you approximate the grade, you should be able to go threw the MDR,MDS,MTR's (material data, reports, material reveiving logs.) and figure out what it was.
For the thickness of the pipe the NDE tech can do a UT thichness test on the pipe. (make sure they take a few readings and average them out, incase the pipe has been in service,corroded, erroded, and lost thickness.