<?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: Internal table in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/4693578#M1103160</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Meena,&lt;/P&gt;&lt;P&gt;Have you tried with any CASE statements.&lt;/P&gt;&lt;P&gt;According to your values how you next internal table records has to be filled based on your first record write using CASE syntax.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers!!&lt;/P&gt;&lt;P&gt;VEnk@&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 01 Nov 2008 16:48:11 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-11-01T16:48:11Z</dc:date>
    <item>
      <title>Internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/4693577#M1103159</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;I  have an requirement like this, i have a internal table like the one  below, iam fetching  the values in a final internal  table from other internal tables used in my report .Now i want to fill the fields f2, f3 and  f4 in such way that based upon field f1 i want to fill other fields.Could you please let me know  how to acheive this.Like i want to do a compare on the field f1 and then if the condition is satisfied i want to fill  f2,f3&amp;amp; f4 correspondingly.For eg if f1 is 4, f2 should be poulated on the second row, if f1 is 1 f2 should be poulated on the first row similar to that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;f1 f2 f3 f4&lt;/P&gt;&lt;P&gt;1 0   0  0&lt;/P&gt;&lt;P&gt;4 0  0  0&lt;/P&gt;&lt;P&gt;3 0 0  0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;Meenakshi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 01 Nov 2008 16:28:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/4693577#M1103159</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-01T16:28:17Z</dc:date>
    </item>
    <item>
      <title>Re: Internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/4693578#M1103160</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Meena,&lt;/P&gt;&lt;P&gt;Have you tried with any CASE statements.&lt;/P&gt;&lt;P&gt;According to your values how you next internal table records has to be filled based on your first record write using CASE syntax.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers!!&lt;/P&gt;&lt;P&gt;VEnk@&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 01 Nov 2008 16:48:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/4693578#M1103160</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-01T16:48:11Z</dc:date>
    </item>
    <item>
      <title>Re: Internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/4693579#M1103161</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   Please try to use Condition statements&lt;/P&gt;&lt;P&gt;For eg: case&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at gt_finaltab in to wa_finaltab.&lt;/P&gt;&lt;P&gt;read table gt_yourtab into wa_yourtab     "&amp;lt;&amp;lt;&amp;lt; Internal Table you have mentioned&lt;/P&gt;&lt;P&gt;case wa_yourtab-f1&lt;/P&gt;&lt;P&gt;   when 1.&lt;/P&gt;&lt;P&gt;       wa_finaltab-field1 = wa_yourtab-f2.&lt;/P&gt;&lt;P&gt;   when 2.&lt;/P&gt;&lt;P&gt;       wa_finaltab-field2 = wa_yourtab-f3.&lt;/P&gt;&lt;P&gt;   when 3.&lt;/P&gt;&lt;P&gt;       wa_finaltab-field3 = wa_yourtab-f4&lt;/P&gt;&lt;P&gt;..................  &lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;endcase&lt;/P&gt;&lt;P&gt;endloop&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Lijo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 01 Nov 2008 17:09:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/4693579#M1103161</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-01T17:09:13Z</dc:date>
    </item>
    <item>
      <title>Re: Internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/4693580#M1103162</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi ,&lt;/P&gt;&lt;P&gt;  loop at ohter table .&lt;/P&gt;&lt;P&gt;  read table itab with key f1 = ohter table-f1 .&lt;/P&gt;&lt;P&gt;   move corresponding itab into othertable .&lt;/P&gt;&lt;P&gt;   transport othertable.&lt;/P&gt;&lt;P&gt;  endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and regards.&lt;/P&gt;&lt;P&gt;  Priyank dixit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 02 Nov 2008 06:08:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/4693580#M1103162</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-02T06:08:25Z</dc:date>
    </item>
    <item>
      <title>Re: Internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/4693581#M1103163</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;useful&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Feb 2010 13:52:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/4693581#M1103163</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-02T13:52:46Z</dc:date>
    </item>
  </channel>
</rss>

