<?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 Data download in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/data-download/m-p/7072670#M1504846</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Folks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to download VBAK &amp;amp; VBAP data based on selection thorough program.&lt;/P&gt;&lt;P&gt;How to add column headers when downloading... Since all columns are getting downloaded, it is difficult to give each and every field name manually. And there are some currency and numeric fields which not allows text (for headers).&lt;/P&gt;&lt;P&gt;I need to do this for both presentation &amp;amp; application servers.. gui_download and open dataset...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Chandra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 22 Jul 2010 03:10:55 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-07-22T03:10:55Z</dc:date>
    <item>
      <title>Data download</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/data-download/m-p/7072670#M1504846</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Folks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to download VBAK &amp;amp; VBAP data based on selection thorough program.&lt;/P&gt;&lt;P&gt;How to add column headers when downloading... Since all columns are getting downloaded, it is difficult to give each and every field name manually. And there are some currency and numeric fields which not allows text (for headers).&lt;/P&gt;&lt;P&gt;I need to do this for both presentation &amp;amp; application servers.. gui_download and open dataset...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Chandra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Jul 2010 03:10:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/data-download/m-p/7072670#M1504846</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-07-22T03:10:55Z</dc:date>
    </item>
    <item>
      <title>Re: Data download</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/data-download/m-p/7072671#M1504847</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;For column heading u define one structure with all the fields whcihu want to show in output.&lt;/P&gt;&lt;P&gt;Thne use following FM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
CALL FUNCTION 'LVC_FIELDCATALOG_MERGE'
    EXPORTING
      i_structure_name       = lv_struct
    CHANGING
      ct_fieldcat            = it_fieldcat
    EXCEPTIONS
      inconsistent_interface = 1
      program_error          = 2
      OTHERS                 = 3.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the Header Heading use this method * CALL METHOD im_ob_dyndoc_id-&amp;gt;add_text*&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;Pravin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Jul 2010 04:22:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/data-download/m-p/7072671#M1504847</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-07-22T04:22:56Z</dc:date>
    </item>
    <item>
      <title>Re: Data download</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/data-download/m-p/7072672#M1504848</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Chandra,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can read the all the components in the table using the below code -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;lo_struc_descr ?= cl_abap_typedescr=&amp;gt;describe_by_data(  ).
 lt_components = lo_struc_descr-&amp;gt;get_components( ).&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the field "name" in lt_components will have the name of the table field, which you use for your header.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Refer to the article below which has a sample code snippet -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://divulgesap.com/blog.php?p=OTQ=" target="test_blank"&gt;http://divulgesap.com/blog.php?p=OTQ=&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Jul 2010 04:38:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/data-download/m-p/7072672#M1504848</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-07-22T04:38:20Z</dc:date>
    </item>
  </channel>
</rss>

