<?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: getting zeros in heading in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/getting-zeros-in-heading/m-p/2049212#M422271</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Narasimha,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Just I am  trying all options.I have to uncomment it.Still the problem  is there.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 15 Mar 2007 07:48:35 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-03-15T07:48:35Z</dc:date>
    <item>
      <title>getting zeros in heading</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/getting-zeros-in-heading/m-p/2049209#M422268</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;This is my code to download the content of report to Excel,Problem i am getting when trying to put heading for numerical fields .Its getting '0' in the heading .For remaining Fields which are non-numberic its displaying nicely.Could any one solve this for me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;report zt11.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : itab type mard occurs 0 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select * from mard into table itab .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: it_t001 type t001 occurs 0,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it_fields type dfies occurs 0 with header line,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;begin of it_fnames occurs 0,&lt;/P&gt;&lt;P&gt;reptext like dfies-reptext,&lt;/P&gt;&lt;P&gt;end of it_fnames.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'GET_FIELDTAB'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;LANGU = SY-LANGU&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;ONLY = ' '&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;TABNAME = 'MARD'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;WITHTEXT = 'X'&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;IMPORTING&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;HEADER =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;RC =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;TABLES&lt;/P&gt;&lt;P&gt;FIELDTAB = it_fields&lt;/P&gt;&lt;P&gt;EXCEPTIONS&lt;/P&gt;&lt;P&gt;INTERNAL_ERROR = 1&lt;/P&gt;&lt;P&gt;NO_TEXTS_FOUND = 2&lt;/P&gt;&lt;P&gt;TABLE_HAS_NO_FIELDS = 3&lt;/P&gt;&lt;P&gt;TABLE_NOT_ACTIV = 4&lt;/P&gt;&lt;P&gt;OTHERS = 5&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;IF SY-SUBRC &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;P&gt;WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at it_fields.&lt;/P&gt;&lt;P&gt;it_fnames-reptext = it_fields-reptext.&lt;/P&gt;&lt;P&gt;append it_fnames.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'EXCEL_OLE_STANDARD_DAT'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;FILE_NAME = 'C:\T001'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;CREATE_PIVOT = 0&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;DATA_SHEET_NAME = 'Companies'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;PIVOT_SHEET_NAME = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;PASSWORD = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;PASSWORD_OPTION = 0&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;TABLES&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;PIVOT_FIELD_TAB =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;DATA_TAB = itab&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;FIELDNAMES = it_fnames&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;EXCEPTIONS&lt;/P&gt;&lt;P&gt;FILE_NOT_EXIST = 1&lt;/P&gt;&lt;P&gt;FILENAME_EXPECTED = 2&lt;/P&gt;&lt;P&gt;COMMUNICATION_ERROR = 3&lt;/P&gt;&lt;P&gt;OLE_OBJECT_METHOD_ERROR = 4&lt;/P&gt;&lt;P&gt;OLE_OBJECT_PROPERTY_ERROR = 5&lt;/P&gt;&lt;P&gt;INVALID_FILENAME = 6&lt;/P&gt;&lt;P&gt;INVALID_PIVOT_FIELDS = 7&lt;/P&gt;&lt;P&gt;DOWNLOAD_PROBLEM = 8&lt;/P&gt;&lt;P&gt;OTHERS = 9&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;IF SY-SUBRC &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;P&gt;WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;short dump : unable to interpret the "..... " as number.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Mar 2007 07:40:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/getting-zeros-in-heading/m-p/2049209#M422268</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-15T07:40:07Z</dc:date>
    </item>
    <item>
      <title>Re: getting zeros in heading</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/getting-zeros-in-heading/m-p/2049210#M422269</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;&lt;/P&gt;&lt;P&gt;It seems u have commented the field names parameter in the F.M,&lt;/P&gt;&lt;P&gt;uncomment and check it...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chers,&lt;/P&gt;&lt;P&gt;Simha,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Mar 2007 07:45:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/getting-zeros-in-heading/m-p/2049210#M422269</guid>
      <dc:creator>Simha_</dc:creator>
      <dc:date>2007-03-15T07:45:18Z</dc:date>
    </item>
    <item>
      <title>Re: getting zeros in heading</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/getting-zeros-in-heading/m-p/2049211#M422270</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Please change your user settings to such number format (system-&amp;gt;User Profile-&amp;gt;own data-&amp;gt;(tab defaults)) 112,333,22.222&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This excel export is able to handle only such number format&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Wojciech&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Wojciech Gasiorowski&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Mar 2007 07:46:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/getting-zeros-in-heading/m-p/2049211#M422270</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-15T07:46:50Z</dc:date>
    </item>
    <item>
      <title>Re: getting zeros in heading</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/getting-zeros-in-heading/m-p/2049212#M422271</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Narasimha,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Just I am  trying all options.I have to uncomment it.Still the problem  is there.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Mar 2007 07:48:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/getting-zeros-in-heading/m-p/2049212#M422271</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-15T07:48:35Z</dc:date>
    </item>
  </channel>
</rss>

