<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Problem while downloading to Excel in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-downloading-to-excel/m-p/5200195#M1203195</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi friend,&lt;/P&gt;&lt;P&gt;Remove the line  &lt;/P&gt;&lt;P&gt;write_field_separator = 'X'  in GUI_DOWNLOAD&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will give accurate values in excel.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 18 Feb 2009 08:14:44 GMT</pubDate>
    <dc:creator>awin_prabhu</dc:creator>
    <dc:date>2009-02-18T08:14:44Z</dc:date>
    <item>
      <title>Problem while downloading to Excel</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-downloading-to-excel/m-p/5200191#M1203191</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I am downloading my report output to Excel using button available in the screen in the back ground mode . In the output, I have a column field Material which includes values like &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;0100E0027&lt;/P&gt;&lt;P&gt;0100E0029&lt;/P&gt;&lt;P&gt;0100E0044&lt;/P&gt;&lt;P&gt;0100E0054&lt;/P&gt;&lt;P&gt;0100E0056&lt;/P&gt;&lt;P&gt;0100E0057&lt;/P&gt;&lt;P&gt;0100E0059&lt;/P&gt;&lt;P&gt;0100E0072&lt;/P&gt;&lt;P&gt;0100E0072&lt;/P&gt;&lt;P&gt;0100E0073&lt;/P&gt;&lt;P&gt;0100E0074 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;these are downloaded as below &lt;/P&gt;&lt;P&gt;1.00E+29&lt;/P&gt;&lt;P&gt;1.00E+31&lt;/P&gt;&lt;P&gt;1.00E+46&lt;/P&gt;&lt;P&gt;1.00E+56&lt;/P&gt;&lt;P&gt;1.00E+58&lt;/P&gt;&lt;P&gt;1.00E+59&lt;/P&gt;&lt;P&gt;1.00E+61&lt;/P&gt;&lt;P&gt;1.00E+74&lt;/P&gt;&lt;P&gt;1.00E+74&lt;/P&gt;&lt;P&gt;1.00E+75&lt;/P&gt;&lt;P&gt;1.00E+76&lt;/P&gt;&lt;P&gt;and I am not able to format it in the excel sheet.&lt;/P&gt;&lt;P&gt;But this not the case with other materials like &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;0008A0018&lt;/P&gt;&lt;P&gt;0008A0019&lt;/P&gt;&lt;P&gt;0008A0035&lt;/P&gt;&lt;P&gt;0008A0094&lt;/P&gt;&lt;P&gt;0008A0095&lt;/P&gt;&lt;P&gt;0008A0095&lt;/P&gt;&lt;P&gt;0008A0097&lt;/P&gt;&lt;P&gt;0008A0097&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help with some solutions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Nibha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Feb 2009 07:44:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-downloading-to-excel/m-p/5200191#M1203191</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-18T07:44:13Z</dc:date>
    </item>
    <item>
      <title>Re: Problem while downloading to Excel</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-downloading-to-excel/m-p/5200192#M1203192</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just double click on header right side of that column in excel sheet. (Extend the coulmn size)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;prashant&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Feb 2009 07:55:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-downloading-to-excel/m-p/5200192#M1203192</guid>
      <dc:creator>former_member386202</dc:creator>
      <dc:date>2009-02-18T07:55:02Z</dc:date>
    </item>
    <item>
      <title>Re: Problem while downloading to Excel</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-downloading-to-excel/m-p/5200193#M1203193</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;it is downloading the value in  exponent values u cancheck &lt;/P&gt;&lt;P&gt;IF value CS 'E+0' OR&lt;/P&gt;&lt;P&gt;           v_value CS 'E-0' .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then if u dont want that then convert it to char using fm C14W_NUMBER_CHAR_CONVERSION&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'C14W_NUMBER_CHAR_CONVERSION'&lt;/P&gt;&lt;P&gt;          EXPORTING&lt;/P&gt;&lt;P&gt;            i_float        = w_float      "exponent values&lt;/P&gt;&lt;P&gt;          IMPORTING&lt;/P&gt;&lt;P&gt;            e_dec          = w_value_char      "char values &lt;/P&gt;&lt;P&gt;          EXCEPTIONS&lt;/P&gt;&lt;P&gt;            number_too_big = 1&lt;/P&gt;&lt;P&gt;            OTHERS         = 2.&lt;/P&gt;&lt;P&gt;        IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;        ELSE.&lt;/P&gt;&lt;P&gt;          v_value = w_value_char.&lt;/P&gt;&lt;P&gt;        ENDIF.&lt;/P&gt;&lt;P&gt;      ENDIF.&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Feb 2009 07:59:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-downloading-to-excel/m-p/5200193#M1203193</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-18T07:59:10Z</dc:date>
    </item>
    <item>
      <title>Re: Problem while downloading to Excel</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-downloading-to-excel/m-p/5200194#M1203194</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Are you using ALV method to output the list.. then check with Fieldcatlog..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Feb 2009 08:09:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-downloading-to-excel/m-p/5200194#M1203194</guid>
      <dc:creator>former_member632729</dc:creator>
      <dc:date>2009-02-18T08:09:34Z</dc:date>
    </item>
    <item>
      <title>Re: Problem while downloading to Excel</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-downloading-to-excel/m-p/5200195#M1203195</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi friend,&lt;/P&gt;&lt;P&gt;Remove the line  &lt;/P&gt;&lt;P&gt;write_field_separator = 'X'  in GUI_DOWNLOAD&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will give accurate values in excel.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Feb 2009 08:14:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-downloading-to-excel/m-p/5200195#M1203195</guid>
      <dc:creator>awin_prabhu</dc:creator>
      <dc:date>2009-02-18T08:14:44Z</dc:date>
    </item>
    <item>
      <title>Re: Problem while downloading to Excel</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-downloading-to-excel/m-p/5200196#M1203196</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am repeating my question again. I guess you all misunderstood. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My report is run in back ground. I am not using any down load function module in the code. I am downloading the alv display using SAVE TO LOCAL FILE... as spreadsheet.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Material No - 0100E0029 in the ALV Display is downloaded as 1.00E+29 in the Excel. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried formatting it by defining it as number and changing the decimal places to 0.&lt;/P&gt;&lt;P&gt;But it is of no use because it is giving the material no as 100000000000000000000000000000&lt;/P&gt;&lt;P&gt;which is wrong value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please provide some suggestions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Nibha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Feb 2009 10:15:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-downloading-to-excel/m-p/5200196#M1203196</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-18T10:15:17Z</dc:date>
    </item>
    <item>
      <title>Re: Problem while downloading to Excel</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-downloading-to-excel/m-p/5200197#M1203197</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please Test the following Sample Code hope will help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA: it_mara LIKE STANDARD TABLE OF mara WITH HEADER LINE.

SELECT matnr FROM mara UP TO 10 ROWS
  INTO CORRESPONDING FIELDS OF TABLE it_mara.

CALL FUNCTION 'GUI_DOWNLOAD'
  EXPORTING
*   BIN_FILESIZE                    =
    filename                        = 'c:\aaa.xls'
*   FILETYPE                        = 'ASC'
*   APPEND                          = ' '
   WRITE_FIELD_SEPARATOR           = 'X'
*   HEADER                          = '00'
*   TRUNC_TRAILING_BLANKS           = ' '
*   WRITE_LF                        = 'X'
*   COL_SELECT                      = ' '
*   COL_SELECT_MASK                 = ' '
*   DAT_MODE                        = ' '
*   CONFIRM_OVERWRITE               = ' '
*   NO_AUTH_CHECK                   = ' '
*   CODEPAGE                        = ' '
*   IGNORE_CERR                     = ABAP_TRUE
*   REPLACEMENT                     = '#'
*   WRITE_BOM                       = ' '
*   TRUNC_TRAILING_BLANKS_EOL       = 'X'
*   WK1_N_FORMAT                    = ' '
*   WK1_N_SIZE                      = ' '
*   WK1_T_FORMAT                    = ' '
*   WK1_T_SIZE                      = ' '
*   WRITE_EOL                       = ABAP_TRUE
* IMPORTING
*   FILELENGTH                      =
  tables
    data_tab                        = it_mara[]
*   FIELDNAMES                      =
* EXCEPTIONS
*   FILE_WRITE_ERROR                = 1
*   NO_BATCH                        = 2
*   GUI_REFUSE_FILETRANSFER         = 3
*   INVALID_TYPE                    = 4
*   NO_AUTHORITY                    = 5
*   UNKNOWN_ERROR                   = 6
*   HEADER_NOT_ALLOWED              = 7
*   SEPARATOR_NOT_ALLOWED           = 8
*   FILESIZE_NOT_ALLOWED            = 9
*   HEADER_TOO_LONG                 = 10
*   DP_ERROR_CREATE                 = 11
*   DP_ERROR_SEND                   = 12
*   DP_ERROR_WRITE                  = 13
*   UNKNOWN_DP_ERROR                = 14
*   ACCESS_DENIED                   = 15
*   DP_OUT_OF_MEMORY                = 16
*   DISK_FULL                       = 17
*   DP_TIMEOUT                      = 18
*   FILE_NOT_FOUND                  = 19
*   DATAPROVIDER_EXCEPTION          = 20
*   CONTROL_FLUSH_ERROR             = 21
*   OTHERS                          = 22
          .
IF sy-subrc &amp;lt;&amp;gt; 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
*         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;above will save the File aaa.xls on Local Drive C:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please Reply if any Issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind Regards,&lt;/P&gt;&lt;P&gt;Faisal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Feb 2009 10:30:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-downloading-to-excel/m-p/5200197#M1203197</guid>
      <dc:creator>faisalatsap</dc:creator>
      <dc:date>2009-02-18T10:30:16Z</dc:date>
    </item>
    <item>
      <title>Re: Problem while downloading to Excel</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-downloading-to-excel/m-p/5200198#M1203198</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It seems that it is not an SAP issue,&lt;/P&gt;&lt;P&gt;Check with the Excel you are using.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Phani.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Feb 2009 10:33:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-downloading-to-excel/m-p/5200198#M1203198</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-18T10:33:28Z</dc:date>
    </item>
    <item>
      <title>Re: Problem while downloading to Excel</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-downloading-to-excel/m-p/5200199#M1203199</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is a problem with the MS-Excel settings. Try passing the value as text.&lt;/P&gt;&lt;P&gt;Still if it doesnt work manually change the column settings in excel to text:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Select the column to which it will be populated. Right Click &amp;gt; Format cells &amp;gt; Number &amp;gt; Text.&lt;/P&gt;&lt;P&gt;Then download to this file....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it will work...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Feb 2009 10:36:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-downloading-to-excel/m-p/5200199#M1203199</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-18T10:36:33Z</dc:date>
    </item>
    <item>
      <title>Re: Problem while downloading to Excel</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-downloading-to-excel/m-p/5200200#M1203200</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;In excel, select all cells that are with exponentials and &lt;/P&gt;&lt;P&gt;right click -&amp;gt; format cells -&amp;gt; In Number Tab -&amp;gt; fraction -&amp;gt;OK.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will change your values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Sap Fan on Feb 18, 2009 11:46 AM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Sap Fan on Feb 18, 2009 11:47 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Feb 2009 10:44:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-downloading-to-excel/m-p/5200200#M1203200</guid>
      <dc:creator>awin_prabhu</dc:creator>
      <dc:date>2009-02-18T10:44:37Z</dc:date>
    </item>
    <item>
      <title>Re: Problem while downloading to Excel</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-downloading-to-excel/m-p/5200201#M1203201</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In your internal table, declare the material number as char19 and concatenate single quote and material number before downloading to excel sheet.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Feb 2009 11:13:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-downloading-to-excel/m-p/5200201#M1203201</guid>
      <dc:creator>dev_parbutteea</dc:creator>
      <dc:date>2009-02-18T11:13:12Z</dc:date>
    </item>
    <item>
      <title>Re: Problem while downloading to Excel</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-downloading-to-excel/m-p/5200202#M1203202</link>
      <description>&lt;P&gt;Hi Ilesh &lt;/P&gt;&lt;P&gt;When i tried as below&lt;/P&gt;&lt;P&gt;       CONSTANTS gc_qu VALUE `'`.&lt;/P&gt;&lt;P&gt; CONCATENATE gc_qu gs_lips-matnr INTO gs_data-matnr.&lt;BR /&gt;CONCATENATE gc_qu gs_lips-kdmat INTO gs_data-cmatnr.
&lt;/P&gt;&lt;P&gt;the special character also displaying in excel&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1868555-capture.jpg" /&gt;&lt;/P&gt;&lt;P&gt;But when  i change the same field manually with `'` displaying correctly&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1868556-capture.jpg" /&gt;&lt;/P&gt;&lt;P&gt;Internal table data as below&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1868557-capture.jpg" /&gt;&lt;/P&gt;&lt;P&gt;Kindly help on this.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Fri, 04 Dec 2020 18:05:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-while-downloading-to-excel/m-p/5200202#M1203202</guid>
      <dc:creator>former_member581061</dc:creator>
      <dc:date>2020-12-04T18:05:23Z</dc:date>
    </item>
  </channel>
</rss>

