Hi Haritha,
I am not clear about your requirement. But as per my understanding you want to capture material details before it is stored in tables.
for that you can go for BADI / USER exits. keep breakpoint in user exits / badi and get run time data before it is saved.
Thanks,
Marimuthu.K