<?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: export internal table to excel... in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/export-internal-table-to-excel/m-p/1146404#M116295</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You probably need to reference the currency code in the field catalog.  If the field in your table is called WAERS....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;fieldcat_linha-currency = 'WAERS'.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 02 Feb 2006 11:35:13 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-02-02T11:35:13Z</dc:date>
    <item>
      <title>export internal table to excel...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/export-internal-table-to-excel/m-p/1146402#M116293</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everyone!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have an ALV with one column like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;netwr LIKE vbrp-netwr&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the ALV Catalog, i allready tried this options:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;  CLEAR fieldcat_linha.
  fieldcat_linha-fieldname = 'NETWR'.
*  fieldcat_linha-ref_tabname = 'VBRP'.
*  fieldcat_linha-ref_fieldname = 'NETWR'.
  fieldcat_linha-reptext_ddic = text-126.
  fieldcat_linha-decimals_out = '2'.
  APPEND fieldcat_linha TO fieldcat_tab.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is, when i export this to an excel file, i get 2 decimals only in values like this: '1.000,00'&lt;/P&gt;&lt;P&gt;If the value is '200,00' the export returns only '200' in the excel file. Does anyone know how to round this problem?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Nuno Santos&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Feb 2006 09:55:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/export-internal-table-to-excel/m-p/1146402#M116293</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-02T09:55:41Z</dc:date>
    </item>
    <item>
      <title>Re: export internal table to excel...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/export-internal-table-to-excel/m-p/1146403#M116294</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I dont think this is the problem with ABAP. Try changing the customising settings for excel from control panel.&lt;/P&gt;&lt;P&gt;Ankur Bhandari&lt;/P&gt;&lt;P&gt;p.s Rewqard appropriate points if the answer helped&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Ankur Bhandari&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Feb 2006 10:17:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/export-internal-table-to-excel/m-p/1146403#M116294</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-02T10:17:07Z</dc:date>
    </item>
    <item>
      <title>Re: export internal table to excel...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/export-internal-table-to-excel/m-p/1146404#M116295</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You probably need to reference the currency code in the field catalog.  If the field in your table is called WAERS....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;fieldcat_linha-currency = 'WAERS'.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Feb 2006 11:35:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/export-internal-table-to-excel/m-p/1146404#M116295</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-02-02T11:35:13Z</dc:date>
    </item>
  </channel>
</rss>

