Changing the date when downloading into Excel using ws_download
When I download the data into Excel using ws_download, the date field, which is defined as character type in the internal table, does not display the leading zero.
E.g. It displays as 9/28/2004. Is it possible to display this as 09/28/2004? The internal table that is passed to the FM WS_DOWNLOAD has correct date value as '09/28/2004.'
You don't say what parameters you are using for WS_DOWNLOAD. I did a quick test, and find that for WK1 and ASC, the leading zero remains. This leads me to conclude that it is the formatting of the cell in excel that is causing the leading zero to be suppressed.