Hello Venkat,
I have tried your logic but still am getting # in the last column. Same file when I upload to internal table from local path then there is no # in the last column, when I upload to internal table from Unix path then only am getting # in the last column.
Thanks and Regards,
Muralikrishna Peravali