<?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: Report without HEADER LINE in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/report-without-header-line/m-p/2540286#M577183</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As u have HEADER LINE concept there is much better concept of using WORK AREA..&lt;/P&gt;&lt;P&gt;It never gives such error as u r saying, if u r following correct convention..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;U always declare a work area corresponding to some specific internal table..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if u have internal table : itab and work area : wa&lt;/P&gt;&lt;P&gt;then u declare them as..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data:  itab type standard table of MARA initial size 0.&lt;/P&gt;&lt;P&gt;data: wa like line of MARA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when u use LOOP ... ENDLOOP..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;u always  use...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT itab INTO wa.&lt;/P&gt;&lt;P&gt;..&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;u never face any problem...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If u will use work area of different type or length then it gives such errors as u described here..&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;Prax&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 15 Jul 2007 19:16:42 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-07-15T19:16:42Z</dc:date>
    <item>
      <title>Report without HEADER LINE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/report-without-header-line/m-p/2540285#M577182</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;how to create a report with out the HEADER LINE concept....because I want the output as only some of the fields from the table.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And this type of programming consumes much processing than the normal one.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NOTE: In normal process I am facing memory problem. It's giving error like "the WORKAREA &amp;lt;internal table&amp;gt; is not enough"&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;Suresh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 15 Jul 2007 19:00:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/report-without-header-line/m-p/2540285#M577182</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-15T19:00:58Z</dc:date>
    </item>
    <item>
      <title>Re: Report without HEADER LINE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/report-without-header-line/m-p/2540286#M577183</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As u have HEADER LINE concept there is much better concept of using WORK AREA..&lt;/P&gt;&lt;P&gt;It never gives such error as u r saying, if u r following correct convention..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;U always declare a work area corresponding to some specific internal table..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if u have internal table : itab and work area : wa&lt;/P&gt;&lt;P&gt;then u declare them as..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data:  itab type standard table of MARA initial size 0.&lt;/P&gt;&lt;P&gt;data: wa like line of MARA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when u use LOOP ... ENDLOOP..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;u always  use...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT itab INTO wa.&lt;/P&gt;&lt;P&gt;..&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;u never face any problem...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If u will use work area of different type or length then it gives such errors as u described here..&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;Prax&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 15 Jul 2007 19:16:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/report-without-header-line/m-p/2540286#M577183</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-15T19:16:42Z</dc:date>
    </item>
    <item>
      <title>Re: Report without HEADER LINE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/report-without-header-line/m-p/2540287#M577184</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check the below example ,it has both header line and withou header line:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Internal table with header line &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here i am using get time field command ,so use both program and see comparision time&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;report zxyz.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; Internal table with header line.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA:BEGIN OF itab OCCURS 0,&lt;/P&gt;&lt;P&gt;lifnr LIKE lfa1-lifnr,&lt;/P&gt;&lt;P&gt;name1 LIKE lfa1-name1,&lt;/P&gt;&lt;P&gt;END OF itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : f1 type i,&lt;/P&gt;&lt;P&gt;       f2 type i,&lt;/P&gt;&lt;P&gt;       f3 type i.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;start-of-selection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;get run time field f1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT lifnr name1 FROM lfa1 INTO TABLE itab up to 200 rows.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&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;get run time field f2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;f3 = f2 - f1 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;write &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt; 'Time taken by query in Micro seconds', f3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Internal table without header line&lt;/P&gt;&lt;P&gt;report zxyz1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; Internal table without header line.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;types : begin of ty_itab ,&lt;/P&gt;&lt;P&gt;        lifnr LIKE lfa1-lifnr,&lt;/P&gt;&lt;P&gt;        name1 LIKE lfa1-name1,&lt;/P&gt;&lt;P&gt;        end of ty_itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data itab type standard table of ty_itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data wa_itab like line of itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : f1 type i,&lt;/P&gt;&lt;P&gt;       f2 type i,&lt;/P&gt;&lt;P&gt;       f3 type i.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;start-of-selection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  get run time field f1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  SELECT lifnr name1 FROM lfa1 INTO TABLE itab up to 200 rows.&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;&lt;/P&gt;&lt;P&gt;&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;  get run time field f2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  f3 = f2 - f1 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  write &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt; 'Time taken by query in Micro seconds', f3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would suggest use always internal table without header line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Seshu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 15 Jul 2007 19:32:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/report-without-header-line/m-p/2540287#M577184</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-15T19:32:32Z</dc:date>
    </item>
    <item>
      <title>Re: Report without HEADER LINE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/report-without-header-line/m-p/2540288#M577185</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The reason why you get that error is when you are selecting more fields from a table than your internal table can accommodate. For your select to work properly, you have to have your internal table at least of same length as that of the fields that you are selecting from the table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 15 Jul 2007 22:40:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/report-without-header-line/m-p/2540288#M577185</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-15T22:40:18Z</dc:date>
    </item>
  </channel>
</rss>

