Hi Kartik,
You can use table /SAPAPO/MATKEY table.
Try using /SAPAPO/MAT* you get different tables for material related..
There are some other ways to get all materials data like use Query SQVI transaction and use tables like /SAPAPO/MATKEY and /SAPAPO/MATLOC to get location products..
Thanks,
Bala.