<?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: about internal tables in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/about-internal-tables/m-p/2491973#M562476</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;lt;i&amp;gt;&amp;lt;b&amp;gt;1. Please tell me How to retrieve data into INPUT/OUTPUT field.&lt;/P&gt;&lt;P&gt;For example.When u display a particular row from emp table.I want to display the row number ie SY-TFILL in the INPUT/OUTPUT field.i need it very urgently.?&amp;lt;/b&amp;gt;&amp;lt;/i&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use SY-TABIX for this purpose.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 06 Jul 2007 10:54:39 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-07-06T10:54:39Z</dc:date>
    <item>
      <title>about internal tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/about-internal-tables/m-p/2491969#M562472</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can anybody please tell me&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Please tell me How to retrieve data into INPUT/OUTPUT field.&lt;/P&gt;&lt;P&gt;For example.When u display a particular row from emp table.I want to display the row number ie SY-TFILL in the INPUT/OUTPUT field.i need it very urgently.?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. 1. i have two internal tables. both tables which is having 5 records. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;itab1 itab2&lt;/P&gt;&lt;P&gt;1 1&lt;/P&gt;&lt;P&gt;3 3 &lt;/P&gt;&lt;P&gt;5 7&lt;/P&gt;&lt;P&gt;6 9&lt;/P&gt;&lt;P&gt;8 10.&lt;/P&gt;&lt;P&gt;i want to develop an report which is used to print the same data (1,3) in both tables.&lt;/P&gt;&lt;P&gt;in this only one time we are supposed to compare both internal tables?&lt;/P&gt;&lt;P&gt;tell me logic how we will do that?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. in selection screen only one parameter field is there. in that i entered data and press enter?at that time what are all the events are supposed to trigger?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3.can we delete data in one internal table with help of another internal table data?&lt;/P&gt;&lt;P&gt;like let us consider this scenerio&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;itab1 itab2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;material no description material no material type&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;100 some 100 10&lt;/P&gt;&lt;P&gt;101 thing 101 10&lt;/P&gt;&lt;P&gt;103 line 103 13&lt;/P&gt;&lt;P&gt;104 row type 104 15&lt;/P&gt;&lt;P&gt;106 linetype 106 16&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can i delete material no (100,101)in itab1 with the help of record material type (10) of itab2&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jul 2007 10:29:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/about-internal-tables/m-p/2491969#M562472</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-06T10:29:02Z</dc:date>
    </item>
    <item>
      <title>Re: about internal tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/about-internal-tables/m-p/2491970#M562473</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When u enter some value in parameter and press enter.. &amp;lt;b&amp;gt;AT SELECTION-SCREEN&amp;lt;/b&amp;gt; event occurs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rewards if useful&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jul 2007 10:34:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/about-internal-tables/m-p/2491970#M562473</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-06T10:34:12Z</dc:date>
    </item>
    <item>
      <title>Re: about internal tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/about-internal-tables/m-p/2491971#M562474</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To delete records with the help of other itab..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;have a look at following code...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT  zprax_try2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data:  begin of itab1 occurs 0,&lt;/P&gt;&lt;P&gt;        fld1(3),&lt;/P&gt;&lt;P&gt;       end of itab1,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;       begin of itab2 occurs 0,&lt;/P&gt;&lt;P&gt;        fld1(3),&lt;/P&gt;&lt;P&gt;        fld2(2),&lt;/P&gt;&lt;P&gt;       end of itab2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;initialization.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;append '100' to itab1.&lt;/P&gt;&lt;P&gt;append '101' to itab1.&lt;/P&gt;&lt;P&gt;append '102' to itab1.&lt;/P&gt;&lt;P&gt;append '103' to itab1.&lt;/P&gt;&lt;P&gt;append '104' to itab1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;append '10010' to itab2.&lt;/P&gt;&lt;P&gt;append '10110' to itab2.&lt;/P&gt;&lt;P&gt;append '10011' to itab2.&lt;/P&gt;&lt;P&gt;append '10111' to itab2.&lt;/P&gt;&lt;P&gt;append '10210' to itab2.&lt;/P&gt;&lt;P&gt;&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;loop at itab1.&lt;/P&gt;&lt;P&gt;write:/ itab1-fld1.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;skip.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at itab2.&lt;/P&gt;&lt;P&gt;write:/ itab2-fld1, itab2-fld2.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at itab2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check itab2-fld2 eq '10'.&lt;/P&gt;&lt;P&gt;delete itab1 where fld1 = itab2-fld1.&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;skip.&lt;/P&gt;&lt;P&gt;loop at itab1.&lt;/P&gt;&lt;P&gt;write:/ itab1-fld1.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;skip.&lt;/P&gt;&lt;P&gt;loop at itab2.&lt;/P&gt;&lt;P&gt;write:/ itab2-fld1, itab2-fld2.&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 if useful&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>Fri, 06 Jul 2007 10:44:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/about-internal-tables/m-p/2491971#M562474</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-06T10:44:16Z</dc:date>
    </item>
    <item>
      <title>Re: about internal tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/about-internal-tables/m-p/2491972#M562475</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;lt;b&amp;gt;&amp;lt;i&amp;gt;2. 1. i have two internal tables. both tables which is having 5 records.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;itab1 itab2&lt;/P&gt;&lt;P&gt;1 1&lt;/P&gt;&lt;P&gt;3 3&lt;/P&gt;&lt;P&gt;5 7&lt;/P&gt;&lt;P&gt;6 9&lt;/P&gt;&lt;P&gt;8 10.&lt;/P&gt;&lt;P&gt;i want to develop an report which is used to print the same data (1,3) in both tables.&lt;/P&gt;&lt;P&gt;in this only one time we are supposed to compare both internal tables?&lt;/P&gt;&lt;P&gt;tell me logic how we will do that?&amp;lt;/i&amp;gt;&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at itab1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;read table itab2 with key fld1 = itab1-fld1.&lt;/P&gt;&lt;P&gt;check sy-subrc eq 0.&lt;/P&gt;&lt;P&gt;write:/ itab2-fld1.&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;Reward if useful..&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>Fri, 06 Jul 2007 10:52:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/about-internal-tables/m-p/2491972#M562475</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-06T10:52:34Z</dc:date>
    </item>
    <item>
      <title>Re: about internal tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/about-internal-tables/m-p/2491973#M562476</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;lt;i&amp;gt;&amp;lt;b&amp;gt;1. Please tell me How to retrieve data into INPUT/OUTPUT field.&lt;/P&gt;&lt;P&gt;For example.When u display a particular row from emp table.I want to display the row number ie SY-TFILL in the INPUT/OUTPUT field.i need it very urgently.?&amp;lt;/b&amp;gt;&amp;lt;/i&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use SY-TABIX for this purpose.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jul 2007 10:54:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/about-internal-tables/m-p/2491973#M562476</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-06T10:54:39Z</dc:date>
    </item>
    <item>
      <title>Re: about internal tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/about-internal-tables/m-p/2491974#M562477</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can reward me some points if ur problem has been resolved so that I can open my account.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jul 2007 11:02:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/about-internal-tables/m-p/2491974#M562477</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-06T11:02:10Z</dc:date>
    </item>
    <item>
      <title>Re: about internal tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/about-internal-tables/m-p/2491975#M562478</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;chech the below code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To delete records with the help of other itab..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;have a look at following code...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT zprax_try2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: begin of itab1 occurs 0,&lt;/P&gt;&lt;P&gt;fld1(3),&lt;/P&gt;&lt;P&gt;end of itab1,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;begin of itab2 occurs 0,&lt;/P&gt;&lt;P&gt;fld1(3),&lt;/P&gt;&lt;P&gt;fld2(2),&lt;/P&gt;&lt;P&gt;end of itab2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;initialization.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;append '100' to itab1.&lt;/P&gt;&lt;P&gt;append '101' to itab1.&lt;/P&gt;&lt;P&gt;append '102' to itab1.&lt;/P&gt;&lt;P&gt;append '103' to itab1.&lt;/P&gt;&lt;P&gt;append '104' to itab1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;append '10010' to itab2.&lt;/P&gt;&lt;P&gt;append '10110' to itab2.&lt;/P&gt;&lt;P&gt;append '10011' to itab2.&lt;/P&gt;&lt;P&gt;append '10111' to itab2.&lt;/P&gt;&lt;P&gt;append '10210' to itab2.&lt;/P&gt;&lt;P&gt;&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;loop at itab1.&lt;/P&gt;&lt;P&gt;write:/ itab1-fld1.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;skip.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at itab2.&lt;/P&gt;&lt;P&gt;write:/ itab2-fld1, itab2-fld2.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at itab2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check itab2-fld2 eq '10'.&lt;/P&gt;&lt;P&gt;delete itab1 where fld1 = itab2-fld1.&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;skip.&lt;/P&gt;&lt;P&gt;loop at itab1.&lt;/P&gt;&lt;P&gt;write:/ itab1-fld1.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;skip.&lt;/P&gt;&lt;P&gt;loop at itab2.&lt;/P&gt;&lt;P&gt;write:/ itab2-fld1, itab2-fld2.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jul 2007 11:20:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/about-internal-tables/m-p/2491975#M562478</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-06T11:20:08Z</dc:date>
    </item>
    <item>
      <title>Re: about internal tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/about-internal-tables/m-p/2491976#M562479</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;why did u copy my code !!! &lt;SPAN __jive_emoticon_name="grin"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 07 Jul 2007 23:06:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/about-internal-tables/m-p/2491976#M562479</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-07T23:06:13Z</dc:date>
    </item>
    <item>
      <title>Re: about internal tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/about-internal-tables/m-p/2491977#M562480</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi pradeep, this ismohan&lt;/P&gt;&lt;P&gt;many many thanks for u'r help.if u dont mind send u'r mobile no . my mobile no is 9916291202&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Jul 2007 09:50:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/about-internal-tables/m-p/2491977#M562480</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-09T09:50:22Z</dc:date>
    </item>
  </channel>
</rss>

