Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Gui_Download - Suppress leading zero in EXCEL

Hello,

in my scenario I need to build an excel file in which some of the information they need to be displayed in excel with the leading 0 in front (type-lqua lgort 0701 ) thing does not happen in my view.

I create the Excel file like this:

CALL FUNCTION 'GUI_DOWNLOAD'

EXPORTING

  • = BIN_FILESIZE

FILENAME = filename

FILETYPE = 'ASC'

  • APPEND = ''

WRITE_FIELD_SEPARATOR = 'X'

TABLES

DATA_TAB = tb_out

I have read in some posts that just insert a character " ' " to show everything as text, however, this does not fit in my case because my file is the input to another application (not mine) that reads the file with the FM' ALSM_EXCEL_TO_INTERNAL_TABLE '

How can I view the file directly without suppressing leading 0 ?

Thanks in advance

Former Member

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question