Skip to Content
author's profile photo Former Member
Former Member

download the data with zero value in excel file

Dear Experts,

I am facing a problem while download the data of internal table to excel file and send the mail, The problem is in one field which contains 0172 value but in excel file show it 172 please help me.

Regards

Deepak Kumar

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jan 10, 2014 at 09:24 AM

    Hi,

    pass the value as '0172 instead of 172

    check link aslo

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jan 10, 2014 at 09:31 AM

    Hi Deepak,

    i think its an excel issue, so can be removed by adding ' in your data.

    i.e,

    in place of 0120 use '0120, the output will be 0120 in excel

    it will solve your issue.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jan 10, 2014 at 09:36 AM

    How are you downloading the excel file via function module?

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jan 10, 2014 at 09:39 AM

    Hi Deepak,

    if still you have problems then please use OLE objects instead of GUI Download.

    For use of OLE object , please see this link

    ABAP OLE - Download tables to multiple worksheets in Excel - Code Gallery - SCN Wiki

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.