I believe you would find the info you need in the material documents table. MSEG I think.
But I'm not sure of the costing info. You might be able to get that info from the material in the MARA or MARC tables.
You might want to check these two links out for more info in case you are using certain functionality.
SAP goods movement tables | SAP table search
Craig