Q
Problem solve Get help with specific problems with your technologies, process and projects.

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.

This was last published in August 2004

Dig Deeper on SAP ABAP

PRO+

Content

Find more PRO+ content and other member only offers, here.

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Please create a username to comment.

-ADS BY GOOGLE

SearchManufacturingERP

SearchOracle

SearchDataManagement

SearchAWS

SearchBusinessAnalytics

SearchCRM

SearchContentManagement

SearchFinancialApplications

Close