Hi Hari,
Hope you are familier with SCD and TC now with the above experts suggestions, if you have any other doubts in using TC and Map operation in implementing the above logic, kindly let us know where you are stucking we can try provide our views for that,
Thanks,
Subbu CH.