<?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: data selection into same itab in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/data-selection-into-same-itab/m-p/3587315#M863740</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;itab having txz01 and bukrs field , bukrs having data.&lt;/P&gt;&lt;P&gt;can i do like this to fetch data for txz01 for all bukrs having in same itab.&lt;/P&gt;&lt;P&gt;is this correct to fetch data?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data  itab1  like   itab  occurs 0 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;itab1  =  itab .&lt;/P&gt;&lt;P&gt;append  itab1 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select txz01 from ekpo into corresponding fields of table itab1 for all entries in gt_item where bukrs = gt_item-bukrs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at  itab .&lt;/P&gt;&lt;P&gt;read  table  itab1 where    bukrs =  itab-bukrs.&lt;/P&gt;&lt;P&gt;itab-txz01  = itab1-txz01  .&lt;/P&gt;&lt;P&gt;Modify itab .&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 points if it is usefull ...&lt;/P&gt;&lt;P&gt;Girish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 25 Mar 2008 06:20:21 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-03-25T06:20:21Z</dc:date>
    <item>
      <title>data selection into same itab</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/data-selection-into-same-itab/m-p/3587314#M863739</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;itab having txz01 and bukrs field , bukrs having data.&lt;/P&gt;&lt;P&gt;can i do like this to fetch data for txz01 for all bukrs having in same itab.&lt;/P&gt;&lt;P&gt;is this correct to fetch data?&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;select txz01 from ekpo into corresponding fields of table gt_item for all entries in gt_item where bukrs = gt_item-bukrs.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Mar 2008 06:13:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/data-selection-into-same-itab/m-p/3587314#M863739</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-25T06:13:38Z</dc:date>
    </item>
    <item>
      <title>Re: data selection into same itab</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/data-selection-into-same-itab/m-p/3587315#M863740</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;itab having txz01 and bukrs field , bukrs having data.&lt;/P&gt;&lt;P&gt;can i do like this to fetch data for txz01 for all bukrs having in same itab.&lt;/P&gt;&lt;P&gt;is this correct to fetch data?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data  itab1  like   itab  occurs 0 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;itab1  =  itab .&lt;/P&gt;&lt;P&gt;append  itab1 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select txz01 from ekpo into corresponding fields of table itab1 for all entries in gt_item where bukrs = gt_item-bukrs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at  itab .&lt;/P&gt;&lt;P&gt;read  table  itab1 where    bukrs =  itab-bukrs.&lt;/P&gt;&lt;P&gt;itab-txz01  = itab1-txz01  .&lt;/P&gt;&lt;P&gt;Modify itab .&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 points if it is usefull ...&lt;/P&gt;&lt;P&gt;Girish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Mar 2008 06:20:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/data-selection-into-same-itab/m-p/3587315#M863740</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-25T06:20:21Z</dc:date>
    </item>
    <item>
      <title>Re: data selection into same itab</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/data-selection-into-same-itab/m-p/3587316#M863741</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;you can. Just check it out the following code. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tables : mara.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : BEGIN OF ITAB OCCURS 0,&lt;/P&gt;&lt;P&gt;       MATNR LIKE MARA-MATNR,&lt;/P&gt;&lt;P&gt;       MAKTX LIKE MAKT-MAKTX,&lt;/P&gt;&lt;P&gt;       END OF ITAB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select-options : matnr for mara-matnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select * from mara into corresponding fields of table itab where matnr in matnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  select * from makt into corresponding fields of table itab&lt;/P&gt;&lt;P&gt;    for all entries in itab where matnr = itab-matnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if the above is useful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sankar.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Mar 2008 06:26:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/data-selection-into-same-itab/m-p/3587316#M863741</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-25T06:26:23Z</dc:date>
    </item>
    <item>
      <title>Re: data selection into same itab</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/data-selection-into-same-itab/m-p/3587317#M863742</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Santoshini,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your question is that for the data bukrs exits in internal table you want to fetch txz01 into same internal table?? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;first fetch the data into another internal table and then modify the first internal table in this way you can do it. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;reward if useful&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;sunil kairam.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Mar 2008 06:34:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/data-selection-into-same-itab/m-p/3587317#M863742</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-25T06:34:46Z</dc:date>
    </item>
  </channel>
</rss>

