<?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 down load in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/down-load/m-p/1752211#M326218</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;I have a requirement that i have to place my header and line item  bownloaded in the same excel sheet .Can any one say me &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Do i have to take header in one internal table and the line item in the other internal table .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) what is the function module to do the above .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 21 Dec 2006 10:53:25 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-12-21T10:53:25Z</dc:date>
    <item>
      <title>down load</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/down-load/m-p/1752211#M326218</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;I have a requirement that i have to place my header and line item  bownloaded in the same excel sheet .Can any one say me &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Do i have to take header in one internal table and the line item in the other internal table .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) what is the function module to do the above .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Dec 2006 10:53:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/down-load/m-p/1752211#M326218</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-21T10:53:25Z</dc:date>
    </item>
    <item>
      <title>Re: down load</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/down-load/m-p/1752212#M326219</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Method 1)&lt;/P&gt;&lt;P&gt;You can pass the names of the fields in the table : FIELDNAMES in the fm: GUI_DOWNLOAD&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Method 2)&lt;/P&gt;&lt;P&gt;You have to pass the names of the fields as a single record in DATA_TAB for the first time and then open the same file in append mode using the actual data passed in data_tab in the function moduel GUI_DOWNLOAD&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call function 'GUI_DOWNLOAD'&lt;/P&gt;&lt;P&gt; TABLES&lt;/P&gt;&lt;P&gt;data_tab = itab. "itab has only names&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call function 'GUI_DOWNLOAD'&lt;/P&gt;&lt;P&gt;exporting &lt;/P&gt;&lt;P&gt;APPEND = 'X'&lt;/P&gt;&lt;P&gt; TABLES&lt;/P&gt;&lt;P&gt;data_tab = itab. "itab has the data&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;ravi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Ravi Kanth Talagana&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Dec 2006 10:54:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/down-load/m-p/1752212#M326219</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-21T10:54:55Z</dc:date>
    </item>
    <item>
      <title>Re: down load</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/down-load/m-p/1752213#M326220</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;are you using&lt;/P&gt;&lt;P&gt;REUSE_ALV_HIERSEQ_LIST_DISPLAY&lt;/P&gt;&lt;P&gt;then you have the option there itself&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;else use&lt;/P&gt;&lt;P&gt;FM GUI_DOWNLOAD&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here you can pass only one internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;shiba dutta&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Dec 2006 10:56:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/down-load/m-p/1752213#M326220</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-21T10:56:33Z</dc:date>
    </item>
    <item>
      <title>Re: down load</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/down-load/m-p/1752214#M326221</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;u can use code like this to download file with header line via gui_download - &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: full_file_name    TYPE string,&lt;/P&gt;&lt;P&gt;      z_akt_filesize    TYPE i     .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;full_file_name = p_file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PERFORM fill_colnames .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'GUI_DOWNLOAD'&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt;    FILENAME                        = full_file_name&lt;/P&gt;&lt;P&gt;    FILETYPE                        = 'DAT'&lt;/P&gt;&lt;P&gt;    NO_AUTH_CHECK                   = c_x&lt;/P&gt;&lt;P&gt;    CODEPAGE                        = '1160 '&lt;/P&gt;&lt;P&gt;  TABLES&lt;/P&gt;&lt;P&gt;    DATA_TAB                        = p_daten[]&lt;/P&gt;&lt;P&gt;    FIELDNAMES                      = col_names[]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; EXCEPTIONS&lt;/P&gt;&lt;P&gt;   FILE_WRITE_ERROR                = 1&lt;/P&gt;&lt;P&gt;   NO_BATCH                        = 2&lt;/P&gt;&lt;P&gt;   GUI_REFUSE_FILETRANSFER         = 3&lt;/P&gt;&lt;P&gt;   INVALID_TYPE                    = 4&lt;/P&gt;&lt;P&gt;   NO_AUTHORITY                    = 5&lt;/P&gt;&lt;P&gt;   UNKNOWN_ERROR                   = 6&lt;/P&gt;&lt;P&gt;   HEADER_NOT_ALLOWED              = 7&lt;/P&gt;&lt;P&gt;   SEPARATOR_NOT_ALLOWED           = 8&lt;/P&gt;&lt;P&gt;   FILESIZE_NOT_ALLOWED            = 9&lt;/P&gt;&lt;P&gt;   HEADER_TOO_LONG                 = 10&lt;/P&gt;&lt;P&gt;   DP_ERROR_CREATE                 = 11&lt;/P&gt;&lt;P&gt;   DP_ERROR_SEND                   = 12&lt;/P&gt;&lt;P&gt;   DP_ERROR_WRITE                  = 13&lt;/P&gt;&lt;P&gt;   UNKNOWN_DP_ERROR                = 14&lt;/P&gt;&lt;P&gt;   ACCESS_DENIED                   = 15&lt;/P&gt;&lt;P&gt;   DP_OUT_OF_MEMORY                = 16&lt;/P&gt;&lt;P&gt;   DISK_FULL                       = 17&lt;/P&gt;&lt;P&gt;   DP_TIMEOUT                      = 18&lt;/P&gt;&lt;P&gt;   FILE_NOT_FOUND                  = 19&lt;/P&gt;&lt;P&gt;   DATAPROVIDER_EXCEPTION          = 20&lt;/P&gt;&lt;P&gt;   CONTROL_FLUSH_ERROR             = 21&lt;/P&gt;&lt;P&gt;   OTHERS                          = 22 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF  sy-subrc               NE        0.&lt;/P&gt;&lt;P&gt;    MESSAGE e016 WITH 'Download-Error; RC:' sy-subrc.&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;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp;      Form  fill_colnames&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      text&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; --&amp;gt;  p1        text&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; &amp;lt;--  p2        text&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM fill_colnames .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;clear : col_names .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;col_names-line = 'Pers.No.'.&lt;/P&gt;&lt;P&gt;append col_names.&lt;/P&gt;&lt;P&gt;col_names-line = 'First Name'.&lt;/P&gt;&lt;P&gt;append col_names.&lt;/P&gt;&lt;P&gt;col_names-line = 'Last Name'.&lt;/P&gt;&lt;P&gt;append col_names.&lt;/P&gt;&lt;P&gt;col_names-line = 'BirthDate'.&lt;/P&gt;&lt;P&gt;append col_names.&lt;/P&gt;&lt;P&gt;col_names-line = 'Hier. Entry'.&lt;/P&gt;&lt;P&gt;append col_names.&lt;/P&gt;&lt;P&gt;col_names-line = 'From'.&lt;/P&gt;&lt;P&gt;append col_names.&lt;/P&gt;&lt;P&gt;col_names-line = 'To'.&lt;/P&gt;&lt;P&gt;append col_names.&lt;/P&gt;&lt;P&gt;col_names-line = 'From-To'.&lt;/P&gt;&lt;P&gt;append col_names.&lt;/P&gt;&lt;P&gt;col_names-line = 'Company'.&lt;/P&gt;&lt;P&gt;append col_names.&lt;/P&gt;&lt;P&gt;col_names-line = 'Org Unit'.&lt;/P&gt;&lt;P&gt;append col_names.&lt;/P&gt;&lt;P&gt;col_names-line = 'Position'.&lt;/P&gt;&lt;P&gt;append col_names.&lt;/P&gt;&lt;P&gt;col_names-line = 'JG'.&lt;/P&gt;&lt;P&gt;append col_names.&lt;/P&gt;&lt;P&gt;col_names-line = 'PG'.&lt;/P&gt;&lt;P&gt;append col_names.&lt;/P&gt;&lt;P&gt;col_names-line = 'Band Information'.&lt;/P&gt;&lt;P&gt;append col_names.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDFORM.                    " fill_colnames&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Dec 2006 11:01:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/down-load/m-p/1752214#M326221</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-21T11:01:27Z</dc:date>
    </item>
  </channel>
</rss>

