<?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: reports in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/reports/m-p/1768365#M331970</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I didnt get u&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 27 Dec 2006 18:48:12 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-12-27T18:48:12Z</dc:date>
    <item>
      <title>reports</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reports/m-p/1768360#M331965</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is the difference between Append and Insert.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Dec 2006 18:38:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reports/m-p/1768360#M331965</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-27T18:38:28Z</dc:date>
    </item>
    <item>
      <title>Re: reports</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reports/m-p/1768361#M331966</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;INSERT statement inserts a single record into the database table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Syntax&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tables: sflight.&lt;/P&gt;&lt;P&gt;Sflight-carrid = &amp;amp;#8216;LH&amp;amp;#8217;.&lt;/P&gt;&lt;P&gt;Sflight-connid = &amp;amp;#8216;234&amp;amp;#8217;.&lt;/P&gt;&lt;P&gt;Insert sflight.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table sflight is inserted with the record.  The SY_SUBRC is returned for this statement.  If the entry already exists then the SY_SUBRC is set to non-zero value and you can do processing for existing record by giving some error message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Both APPEND and INSERT add records..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As far as I know we generally use APPEND statement when we are adding lines to an Internal table... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Award points if found helpful&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Dec 2006 18:41:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reports/m-p/1768361#M331966</guid>
      <dc:creator>rahulkavuri</dc:creator>
      <dc:date>2006-12-27T18:41:22Z</dc:date>
    </item>
    <item>
      <title>Re: reports</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reports/m-p/1768362#M331967</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Append command is used to insert a new record in to an internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;insert is used to update Table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Dec 2006 18:43:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reports/m-p/1768362#M331967</guid>
      <dc:creator>SantoshKallem</dc:creator>
      <dc:date>2006-12-27T18:43:22Z</dc:date>
    </item>
    <item>
      <title>Re: reports</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reports/m-p/1768363#M331968</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;&amp;lt;b&amp;gt;Insert:&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;INSERT [{&amp;lt;wa&amp;gt;|INITIAL LINE} INTO] &amp;lt;itab&amp;gt; [INDEX &amp;lt;idx&amp;gt;]. &lt;/P&gt;&lt;P&gt;Inserts a new line into table. For tables with a header line the source area can be omitted. With INDEX option, the new line is inserted before the line which has the index &amp;lt;idx&amp;gt;. After the insertion, the new entry has the index &amp;lt;idx&amp;gt; and the index of the following lines is incremented by 1.&lt;/P&gt;&lt;P&gt;If the table consists of &amp;lt;idx&amp;gt; - 1 entries, the system appends the new entry after the last existing table line. If the table has less than &amp;lt;idx&amp;gt; - 1 entries, the system cannot insert the entry: SY-SUBRC = 4. If success, SY-SUBRC = 0.&lt;/P&gt;&lt;P&gt;Use INSERT without the INDEX option is allowed only within a LOOP - ENDLOOP loop by inserting the new entry before the current line (i.e. the line which has the index returned by SY-TABIX). &lt;/P&gt;&lt;P&gt;INSERT LINES OF &amp;lt;itab1&amp;gt; [FROM &amp;lt;idx1&amp;gt;] [TO &amp;lt;idx2&amp;gt;] INTO &amp;lt;itab2&amp;gt; [INDEX &amp;lt;idx&amp;gt;]. &lt;/P&gt;&lt;P&gt;Inserts lines from one table into another table. Default inserts entire table. Can be up to 20 times faster than inserting lines line by line in a loop.&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;&lt;/P&gt;&lt;P&gt;Appending Lines:&amp;lt;/b&amp;gt; &lt;/P&gt;&lt;P&gt;APPEND [{&amp;lt;wa&amp;gt;|INITIAL LINE} TO] &amp;lt;itab&amp;gt;. &lt;/P&gt;&lt;P&gt;Appends a new line to table. For tables with a header line the source area can be omitted. After statement, the SY-TABIX contains the index of the appended line. &lt;/P&gt;&lt;P&gt;APPEND LINES OF &amp;lt;itab1&amp;gt; [FROM &amp;lt;idx1&amp;gt;] [TO &amp;lt;idx2&amp;gt;] TO &amp;lt;itab2&amp;gt;. &lt;/P&gt;&lt;P&gt;Appends lines from one table to another table. Default appends entire table. After statement, the SY-TABIX contains the index of the last appended line. About 3 to 4 times faster than appending lines line by line in a loop. &lt;/P&gt;&lt;P&gt;APPEND [&amp;lt;wa&amp;gt; TO] &amp;lt;itab&amp;gt; SORTED BY &amp;lt;f&amp;gt;. &lt;/P&gt;&lt;P&gt;Inserts the new line so that the internal table &amp;lt;itab&amp;gt; is sorted in descending order by the field &amp;lt;f&amp;gt;. If you use the SORTED BY option, the table can contain only the number of lines specified in the OCCURS parameter. If you add more lines than specified, the last line is discarded. This is useful for creating ranked lists of limited length (e.g. "Top Ten"). For ranked lists containing more than 100 entries, use instead the SORT for performance reasons.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Dec 2006 18:44:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reports/m-p/1768363#M331968</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-27T18:44:26Z</dc:date>
    </item>
    <item>
      <title>Re: reports</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reports/m-p/1768364#M331969</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;Can I use insert statement to insert into internal table. or can i use insert instead of append&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Dec 2006 18:46:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reports/m-p/1768364#M331969</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-27T18:46:11Z</dc:date>
    </item>
    <item>
      <title>Re: reports</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reports/m-p/1768365#M331970</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I didnt get u&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Dec 2006 18:48:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reports/m-p/1768365#M331970</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-27T18:48:12Z</dc:date>
    </item>
    <item>
      <title>Re: reports</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reports/m-p/1768366#M331971</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, you can use the INSERT statement to insert into internal table.  Say that you want to insert a record into the second row of the table.  You could use INDEX here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;insert itab index 2.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Dec 2006 18:48:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reports/m-p/1768366#M331971</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2006-12-27T18:48:53Z</dc:date>
    </item>
    <item>
      <title>Re: reports</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reports/m-p/1768367#M331972</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;Thanks for the answer. I have some more doubt.&lt;/P&gt;&lt;P&gt;If I use append where will the value be stored in header or the body. and what about insert.If  I just use &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Insert itab.&lt;/P&gt;&lt;P&gt;will it be inserted in the first index. then if I use the same statement the second time what will happen to the first value&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Dec 2006 18:54:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reports/m-p/1768367#M331972</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-27T18:54:21Z</dc:date>
    </item>
    <item>
      <title>Re: reports</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reports/m-p/1768368#M331973</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Dec 2006 19:02:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reports/m-p/1768368#M331973</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-27T19:02:53Z</dc:date>
    </item>
    <item>
      <title>Re: reports</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reports/m-p/1768369#M331974</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the answer. I have some more doubt.&lt;/P&gt;&lt;P&gt;If I use append where will the value be stored in header or the body. and what about insert.If I just use&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Insert itab.&lt;/P&gt;&lt;P&gt;will it be inserted in the first index. then if I use the same statement the second time what will happen to the first value&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Dec 2006 19:03:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reports/m-p/1768369#M331974</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-27T19:03:29Z</dc:date>
    </item>
    <item>
      <title>Re: reports</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reports/m-p/1768370#M331975</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;it stores from header to body&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;insert itab.&lt;/P&gt;&lt;P&gt;will it be inserted in the first index. then if I use the same statement the second time what will happen to the first value &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here it increases the index.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;index is used to place the record in specific location.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Dec 2006 19:07:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reports/m-p/1768370#M331975</guid>
      <dc:creator>SantoshKallem</dc:creator>
      <dc:date>2006-12-27T19:07:21Z</dc:date>
    </item>
    <item>
      <title>Re: reports</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reports/m-p/1768371#M331976</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;select statement retrive the record and places in header.&lt;/P&gt;&lt;P&gt;append statement moves the record from header to body.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Dec 2006 19:09:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reports/m-p/1768371#M331976</guid>
      <dc:creator>SantoshKallem</dc:creator>
      <dc:date>2006-12-27T19:09:39Z</dc:date>
    </item>
    <item>
      <title>Re: reports</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reports/m-p/1768372#M331977</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanx dude.....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Dec 2006 19:30:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reports/m-p/1768372#M331977</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-27T19:30:57Z</dc:date>
    </item>
  </channel>
</rss>

