<?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: Interactive list - export to excel in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-list-export-to-excel/m-p/1695672#M305224</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If possible ,you can try like as this : FIELDCAT-edit_mask = '''__________' .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 29 Nov 2006 04:32:18 GMT</pubDate>
    <dc:creator>roy_deng</dc:creator>
    <dc:date>2006-11-29T04:32:18Z</dc:date>
    <item>
      <title>Interactive list - export to excel</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-list-export-to-excel/m-p/1695665#M305217</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i'm using the FUNCTION 'MS_EXCEL_OLE_STANDARD_DAT' for export to excel.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how to make excel treat the numeric values as text values?&lt;/P&gt;&lt;P&gt;there is alignment problem for different numbers and text field values.&lt;/P&gt;&lt;P&gt;eg. numbers in excel are aligned to the right, text in excel aligned to the left.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i'm thinking of adding ' (apostrophe) to number...&lt;/P&gt;&lt;P&gt;but problem again..&lt;/P&gt;&lt;P&gt;eg. for the matnr field... it may contain fields like "00000123", "0023", "54".."abc".."abc00"...&lt;/P&gt;&lt;P&gt;how to get rid of the zeros?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Charles&lt;/P&gt;&lt;P&gt;abap newbie &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Nov 2006 09:38:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-list-export-to-excel/m-p/1695665#M305217</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-28T09:38:00Z</dc:date>
    </item>
    <item>
      <title>Re: Interactive list - export to excel</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-list-export-to-excel/m-p/1695666#M305218</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;to get rid of the leading zeros you may map from internal (= database) to external (= presentation) format by using fm CONVERSION_EXIT_ALPHA_OUTPUT before you add apostrophes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Nov 2006 12:55:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-list-export-to-excel/m-p/1695666#M305218</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-28T12:55:07Z</dc:date>
    </item>
    <item>
      <title>Re: Interactive list - export to excel</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-list-export-to-excel/m-p/1695667#M305219</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;I guess there is a command PACK which would remove the leading zeros. try using that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;santhosh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Nov 2006 12:56:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-list-export-to-excel/m-p/1695667#M305219</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-28T12:56:32Z</dc:date>
    </item>
    <item>
      <title>Re: Interactive list - export to excel</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-list-export-to-excel/m-p/1695668#M305220</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Charles,&lt;/P&gt;&lt;P&gt;        I dont think formatting in excel is possible from the Function Module. I think the best solution here is to create your final internal table with only character variables. Move all the data into this table where the numeric values should be trimmed off with leading zeros using the function module(CONVERSION_EXIT_ALPHA_OUTPUT).Finally pass this final internal table to the function module which will download in the excel format.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know for any clarifications required.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Swaroop&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Nov 2006 13:07:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-list-export-to-excel/m-p/1695668#M305220</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-28T13:07:45Z</dc:date>
    </item>
    <item>
      <title>Re: Interactive list - export to excel</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-list-export-to-excel/m-p/1695669#M305221</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;how do i output the single quote '&lt;/P&gt;&lt;P&gt;?&lt;/P&gt;&lt;P&gt;eg... DATA: addchar VALUE '"'.&lt;/P&gt;&lt;P&gt;double quote no problem...but what about single quote?&lt;/P&gt;&lt;P&gt;what's the special character?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Charles&lt;/P&gt;&lt;P&gt;abap newbie &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Nov 2006 02:14:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-list-export-to-excel/m-p/1695669#M305221</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-29T02:14:38Z</dc:date>
    </item>
    <item>
      <title>Re: Interactive list - export to excel</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-list-export-to-excel/m-p/1695670#M305222</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ohhh...found out about the single quote...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;using double single quotes..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;solved &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Charles&lt;/P&gt;&lt;P&gt;abap newbie &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Nov 2006 02:25:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-list-export-to-excel/m-p/1695670#M305222</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-29T02:25:26Z</dc:date>
    </item>
    <item>
      <title>Re: Interactive list - export to excel</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-list-export-to-excel/m-p/1695671#M305223</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Managed to insert the ' doesnt seem to solve the problem...&lt;/P&gt;&lt;P&gt;the output in exel will display the ' until the user manually click and enter the field in excel to be recognised as numeric..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For ALV export to excel output, everything seems ok.&lt;/P&gt;&lt;P&gt;So, is there a better export to excel function to solve this alignment and formatting issue when I use list instead of ALV?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Charles&lt;/P&gt;&lt;P&gt;abap newbie &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Nov 2006 03:10:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-list-export-to-excel/m-p/1695671#M305223</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-29T03:10:36Z</dc:date>
    </item>
    <item>
      <title>Re: Interactive list - export to excel</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-list-export-to-excel/m-p/1695672#M305224</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If possible ,you can try like as this : FIELDCAT-edit_mask = '''__________' .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Nov 2006 04:32:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-list-export-to-excel/m-p/1695672#M305224</guid>
      <dc:creator>roy_deng</dc:creator>
      <dc:date>2006-11-29T04:32:18Z</dc:date>
    </item>
    <item>
      <title>Re: Interactive list - export to excel</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-list-export-to-excel/m-p/1695673#M305225</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;care to share what u meant by that?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Charles&lt;/P&gt;&lt;P&gt;abap newbie &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Nov 2006 06:51:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-list-export-to-excel/m-p/1695673#M305225</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-29T06:51:17Z</dc:date>
    </item>
    <item>
      <title>Re: Interactive list - export to excel</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-list-export-to-excel/m-p/1695674#M305226</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So, is there a better export to excel function to solve this alignment and formatting issue when I use list instead of ALV?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Charles&lt;/P&gt;&lt;P&gt;abap newbie &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Dec 2006 01:33:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/interactive-list-export-to-excel/m-p/1695674#M305226</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-01T01:33:16Z</dc:date>
    </item>
  </channel>
</rss>

