When I download the data into Excel using ws_download, the date field, which is defined as character type in the...
By submitting your personal information, you agree that TechTarget and its partners may contact you regarding relevant content, products and special offers.
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.
Dig Deeper on SAP ABAP
Related Q&A from Matthew Billingham
An SAP user is trying to run a report in an SAP ALV Grid online and wants to know how to get the data in the report to appear along with the header.continue reading
An SAP user needs information on how to change the password on several SAP user accounts from a central location.continue reading
An SAP user needs to transfer customer purchase order spreadsheet data to SAP VA01 to create a new sales order.continue reading
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.