<?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: column heading in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/column-heading/m-p/3195896#M761551</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if it_output is ur final internal table..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it_output-lifnr = 'LIFNR' or ' VENDOR#'&lt;/P&gt;&lt;P&gt;it_output-name1 = 'NAME1' or 'NAME'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;after doing this u can append ur data into the internal table..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;else if you already had a internal table say it_had.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; append lines of it_had to it_output. will work.. u need to do it &amp;gt;manually u have not other way to do&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 27 Dec 2007 05:13:43 GMT</pubDate>
    <dc:creator>former_member156446</dc:creator>
    <dc:date>2007-12-27T05:13:43Z</dc:date>
    <item>
      <title>column heading</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/column-heading/m-p/3195890#M761545</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am downloading one file to application server,&lt;/P&gt;&lt;P&gt;I can find all the fields in the file which I downloaded,&lt;/P&gt;&lt;P&gt;My problem is I want to maintain the column heading for the &lt;/P&gt;&lt;P&gt;fields in the file downloaded.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I do this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Dec 2007 10:53:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/column-heading/m-p/3195890#M761545</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-26T10:53:57Z</dc:date>
    </item>
    <item>
      <title>Re: column heading</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/column-heading/m-p/3195891#M761546</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;    Use TCODE CG3Y to download the file to application server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Prashant&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Dec 2007 10:56:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/column-heading/m-p/3195891#M761546</guid>
      <dc:creator>former_member386202</dc:creator>
      <dc:date>2007-12-26T10:56:44Z</dc:date>
    </item>
    <item>
      <title>Re: column heading</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/column-heading/m-p/3195892#M761547</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;r u using one internal table for download into application server,in that internal table specify column heading.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it_app_server-heading1 = 'Sales Order No'.&lt;/P&gt;&lt;P&gt;it_app_server = itab-vbeln.&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;Billa&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Dec 2007 14:56:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/column-heading/m-p/3195892#M761547</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-26T14:56:18Z</dc:date>
    </item>
    <item>
      <title>Re: column heading</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/column-heading/m-p/3195893#M761548</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;first u need to append the internal table with header description and then data..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or u can use append lines of itab1 to itab2...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;append itab sy-index 1.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Dec 2007 15:12:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/column-heading/m-p/3195893#M761548</guid>
      <dc:creator>former_member156446</dc:creator>
      <dc:date>2007-12-26T15:12:01Z</dc:date>
    </item>
    <item>
      <title>Re: column heading</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/column-heading/m-p/3195894#M761549</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jack,&lt;/P&gt;&lt;P&gt;I have an internal table itab&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;types: begin of t_st,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;          &lt;STRONG&gt;lifnr      type lfa1-lifnr,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;          &lt;STRONG&gt;name1 type lfa1-name1,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;end of t_st.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;data: itab       type standard table of t_st,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;        &lt;STRONG&gt;wa_itab type t_st.&lt;/STRONG&gt;  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you sais append lines of &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;can use append lines of itab1 to itab2...&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;append itab sy-index 1.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can you write and show how is this possible.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Dec 2007 04:02:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/column-heading/m-p/3195894#M761549</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-27T04:02:20Z</dc:date>
    </item>
    <item>
      <title>Re: column heading</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/column-heading/m-p/3195895#M761550</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Shilpa,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You want to add the Column Heading also along with data to the file your are downloading to application server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check this code.It might help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TYPES : BEGIN OF tab,&lt;/P&gt;&lt;P&gt;          vbeln like vbak-vbeln,&lt;/P&gt;&lt;P&gt;          ernam like vbak-ernam,&lt;/P&gt;&lt;P&gt;          vbtyp like vbak-vbtyp,&lt;/P&gt;&lt;P&gt;      END OF tab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : itab TYPE STANDARD TABLE OF tab,&lt;/P&gt;&lt;P&gt;        wa_itab type tab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&lt;STRONG&gt;Here I am first moving the Column heading to the internal table.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;MOVE 'Sale Doc' to  wa_itab-vbeln.&lt;/P&gt;&lt;P&gt;MOVE 'Person'   to  wa_itab-ernam.&lt;/P&gt;&lt;P&gt;MOVE 'T'      to wa_itab-vbtyp.&lt;/P&gt;&lt;P&gt;APPEND wa_itab to itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&lt;STRONG&gt;After that I am passing data to the internal table so that the data will be started from the second row and the first row containing the&lt;/STRONG&gt; &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;header info.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MOVE '1000' TO wa_itab-vbeln.&lt;/P&gt;&lt;P&gt;MOVE 'sdfd' TO wa_itab-ernam.&lt;/P&gt;&lt;P&gt;MOVE 'h' TO wa_itab-vbtyp.&lt;/P&gt;&lt;P&gt;APPEND wa_itab to itab.&lt;/P&gt;&lt;P&gt;MOVE '1001' TO wa_itab-vbeln.&lt;/P&gt;&lt;P&gt;MOVE 'jsdj' TO wa_itab-ernam.&lt;/P&gt;&lt;P&gt;MOVE 'j' TO wa_itab-vbtyp.&lt;/P&gt;&lt;P&gt;APPEND wa_itab to itab.&lt;/P&gt;&lt;P&gt;MOVE '1002' TO wa_itab-vbeln.&lt;/P&gt;&lt;P&gt;MOVE 'qeqw' TO wa_itab-ernam.&lt;/P&gt;&lt;P&gt;MOVE 'K' TO wa_itab-vbtyp.&lt;/P&gt;&lt;P&gt;APPEND wa_itab to itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP at itab into wa_itab.&lt;/P&gt;&lt;P&gt;  write &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt; wa_itab-vbeln,&lt;/P&gt;&lt;P&gt;          wa_itab-ernam,&lt;/P&gt;&lt;P&gt;          wa_itab-vbtyp.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward Points, if useful.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Manoj Kumar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Dec 2007 04:53:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/column-heading/m-p/3195895#M761550</guid>
      <dc:creator>former_member402443</dc:creator>
      <dc:date>2007-12-27T04:53:32Z</dc:date>
    </item>
    <item>
      <title>Re: column heading</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/column-heading/m-p/3195896#M761551</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if it_output is ur final internal table..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it_output-lifnr = 'LIFNR' or ' VENDOR#'&lt;/P&gt;&lt;P&gt;it_output-name1 = 'NAME1' or 'NAME'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;after doing this u can append ur data into the internal table..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;else if you already had a internal table say it_had.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; append lines of it_had to it_output. will work.. u need to do it &amp;gt;manually u have not other way to do&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Dec 2007 05:13:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/column-heading/m-p/3195896#M761551</guid>
      <dc:creator>former_member156446</dc:creator>
      <dc:date>2007-12-27T05:13:43Z</dc:date>
    </item>
    <item>
      <title>Re: column heading</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/column-heading/m-p/3195897#M761552</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Shilpa&lt;/P&gt;&lt;P&gt;  If u done want to disturb the contents of the existing Internal table, then first create the file in App server and insert the Column headings (the first row is filled). Keep the file open and now transfer the contents of your ITAB to the App server file in Append mode. Now close the file. (CLOSE DATASET).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;P&gt;Sharath.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Dec 2007 05:23:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/column-heading/m-p/3195897#M761552</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-27T05:23:54Z</dc:date>
    </item>
    <item>
      <title>Re: column heading</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/column-heading/m-p/3195898#M761553</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have an internal table of 20 fields,&lt;/P&gt;&lt;P&gt;I have stored that internal table in file in the application server.&lt;/P&gt;&lt;P&gt;When I open that file which is in application server I am to see only 10 fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how can I over come this problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Dec 2007 06:53:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/column-heading/m-p/3195898#M761553</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-27T06:53:56Z</dc:date>
    </item>
  </channel>
</rss>

