<?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: problem regarding tables in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-regarding-tables/m-p/2144786#M452246</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;Why you want to insert record without index. With index, it is one line statement. Otherwise you have to loop at internal table and insert record when sy-tabix = 5.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With index.&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="---------------" /&gt;&lt;PRE&gt;&lt;CODE&gt;INSERT itab2 INTO itab1 INDEX 5.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Without index&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="-------------------" /&gt;&lt;PRE&gt;&lt;CODE&gt;LOOP AT itab1.
  IF sy-tabix = 5.
    INSERT itab2 INTO itab1.
  ENDIF.
ENDLOOP.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please mention clearly what you want to do.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;RS&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 04 Apr 2007 16:07:19 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-04-04T16:07:19Z</dc:date>
    <item>
      <title>problem regarding tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-regarding-tables/m-p/2144784#M452244</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In a sorted table how to add a record without using indexes&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if there are 10 records insert a record at 5th position. how?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Apr 2007 15:59:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-regarding-tables/m-p/2144784#M452244</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-04T15:59:36Z</dc:date>
    </item>
    <item>
      <title>Re: problem regarding tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-regarding-tables/m-p/2144785#M452245</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;[/deleted]&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Apr 2007 16:01:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-regarding-tables/m-p/2144785#M452245</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-04T16:01:28Z</dc:date>
    </item>
    <item>
      <title>Re: problem regarding tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-regarding-tables/m-p/2144786#M452246</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;Why you want to insert record without index. With index, it is one line statement. Otherwise you have to loop at internal table and insert record when sy-tabix = 5.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With index.&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="---------------" /&gt;&lt;PRE&gt;&lt;CODE&gt;INSERT itab2 INTO itab1 INDEX 5.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Without index&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="-------------------" /&gt;&lt;PRE&gt;&lt;CODE&gt;LOOP AT itab1.
  IF sy-tabix = 5.
    INSERT itab2 INTO itab1.
  ENDIF.
ENDLOOP.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please mention clearly what you want to do.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;RS&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Apr 2007 16:07:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-regarding-tables/m-p/2144786#M452246</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-04T16:07:19Z</dc:date>
    </item>
    <item>
      <title>Re: problem regarding tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-regarding-tables/m-p/2144787#M452247</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This link has given an example:&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw2004s/helpdata/en/fc/eb361f358411d1829f0000e829fbfe/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw2004s/helpdata/en/fc/eb361f358411d1829f0000e829fbfe/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Apr 2007 16:16:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-regarding-tables/m-p/2144787#M452247</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-04T16:16:28Z</dc:date>
    </item>
  </channel>
</rss>

