Skip to Content
Former Member
Dec 19, 2011 at 01:38 PM

Leading Zeros in Excel file



I am downloading few fields from HR infotypes into Excel sheet, I'm using cl_ABAP_char_utilities=>Horizontal_tab to separate the fields. I'm not getting leading zeros. I have tried with 'DAT', 'CSV' and 'WK1' file formats instead of 'ASC', but the flat file format is changing. I have tried ' ' ' symbol. I am getting leading zeros along with that symbol. Now, I need to remove the symbol. Any suggetions...

Thanks and regards,

PNM Raju

Moderator Message: Duplicate post. Thread locked.

Edited by: Suhas Saha on Dec 19, 2011 7:49 PM