<?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: internal table in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/7081712#M1506079</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the internal table is stored in the format of the fields of it. For example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Internal table IT_DATA LIKE wa_data OCCURS 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where wa_data is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: BEGIN OF wa_data ,&lt;/P&gt;&lt;P&gt;bukrs LIKE bkpf-bukrs,&lt;/P&gt;&lt;P&gt;gjahr LIKE bkpf-gjahr,&lt;/P&gt;&lt;P&gt;belnr LIKE bkpf-belnr,&lt;/P&gt;&lt;P&gt;END OF wa_data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, the it_data-gjahr is saved as NUMC4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bye!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 28 Jun 2010 12:43:28 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-06-28T12:43:28Z</dc:date>
    <item>
      <title>internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/7081711#M1506078</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 which format the data in the internal table be stored.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Can I extract the internal table as a flat file to the PC. Please do not misunderstand my question as downloading the internal table to the PC using the FM "GUI_DOWNLOAD".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to know in which format or the structure the data will be in the internal table in case of ALV report after the FM "REUSE_ALV_FIELDCATALOG_MERGE" and before the FM "REUSE_ALV_GRID_DISPLAY".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance for your suggestions.&lt;/P&gt;&lt;P&gt;etienne.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN __default_attr="red" __jive_macro_name="color"&gt;Moderator message: please use more descriptive subject lines from now on.&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Thomas Zloch on Jun 28, 2010 2:53 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jun 2010 12:20:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/7081711#M1506078</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-06-28T12:20:57Z</dc:date>
    </item>
    <item>
      <title>Re: internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/7081712#M1506079</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the internal table is stored in the format of the fields of it. For example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Internal table IT_DATA LIKE wa_data OCCURS 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where wa_data is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: BEGIN OF wa_data ,&lt;/P&gt;&lt;P&gt;bukrs LIKE bkpf-bukrs,&lt;/P&gt;&lt;P&gt;gjahr LIKE bkpf-gjahr,&lt;/P&gt;&lt;P&gt;belnr LIKE bkpf-belnr,&lt;/P&gt;&lt;P&gt;END OF wa_data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, the it_data-gjahr is saved as NUMC4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bye!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jun 2010 12:43:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/7081712#M1506079</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-06-28T12:43:28Z</dc:date>
    </item>
    <item>
      <title>Re: internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/7081713#M1506080</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well dont you get that from the structure reference of the internal table?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jun 2010 12:53:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/7081713#M1506080</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-06-28T12:53:19Z</dc:date>
    </item>
    <item>
      <title>Re: internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/7081714#M1506081</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;the format of your internal table depends on the definition of the table.&lt;/P&gt;&lt;P&gt;If you have mentioned the field/s for your internal table at the time of definition then it will be saved in that format.&lt;/P&gt;&lt;P&gt;or if you have referred to a structure then the format will be according to the structure definition.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: begin of itab occurs 0,&lt;/P&gt;&lt;P&gt;name(20),&lt;/P&gt;&lt;P&gt;id type i,&lt;/P&gt;&lt;P&gt;address (500.&lt;/P&gt;&lt;P&gt;end of itab.&lt;/P&gt;&lt;P&gt; or&lt;/P&gt;&lt;P&gt; data: itab type standard table of mara with header line.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Jun 2010 07:13:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/7081714#M1506081</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-06-29T07:13:32Z</dc:date>
    </item>
    <item>
      <title>Re: internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/7081715#M1506082</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;The Internal table can be directly downloaded using the  FM GUI_DOWNLOAD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The FM's REUSE_ALV_GRID_DISPLAY and any other FM's related to ALV are just to display the Internal table contents in report format.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The only thing you need to do while passing the Internal table to FM GUI_DOWNLOAD is pass the Filename, file type (ASC or BIN). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can also use the method from the Class CL_GUI_FRONTEND_SERVICES as below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    CALL METHOD cl_gui_frontend_services=&amp;gt;gui_download&lt;/P&gt;&lt;P&gt;      EXPORTING&lt;/P&gt;&lt;P&gt;        filename                = lv_filename1      -&lt;/P&gt;&lt;HR originaltext="-----------------" /&gt;&lt;P&gt;&amp;gt;Filename with complete path (Presentation server path)&lt;/P&gt;&lt;P&gt;        filetype                = c_file_type_asc -&lt;/P&gt;&lt;HR originaltext="----------------" /&gt;&lt;P&gt;&amp;gt; File type (ASCII or Binary)&lt;/P&gt;&lt;P&gt;      CHANGING&lt;/P&gt;&lt;P&gt;        data_tab                = fp_t_download&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;        not_supported_by_gui    = 22&lt;/P&gt;&lt;P&gt;        error_no_gui            = 23&lt;/P&gt;&lt;P&gt;        OTHERS                  = 24.&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;      gv_err = c_x.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Santosh Kumar Mukka.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Jun 2010 07:51:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/7081715#M1506082</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-06-29T07:51:59Z</dc:date>
    </item>
  </channel>
</rss>

