<?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: in reports in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/in-reports/m-p/4727440#M1109737</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;try like this...&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
loop at itab1.
read table itab2 with key ebeln = itab1-ebeln.
if sy-subrc eq 0.
   move the records to itab.
endif.
read tabel itab3 with key ebeln = itab1-ebeln..
if sy-subrc eq 0.
  move the records to itab.
endif.
endloop.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Arunima&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 14 Nov 2008 05:02:05 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-11-14T05:02:05Z</dc:date>
    <item>
      <title>in reports</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/in-reports/m-p/4727438#M1109735</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hai  abapers,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;iam taken three internal  tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;first internal table some fields with 2 records with common field value ebeln.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;second internal table different fields with 2 records with common field value ebeln.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;third internal table different fields with 2 records with common field value ebeln.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;all of  these  tables contains common field ebeln value is also same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my requirement is  all these  three tables club into single table with two records with common  ebeln value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this is possible?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please explain.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Nov 2008 04:53:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/in-reports/m-p/4727438#M1109735</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-14T04:53:47Z</dc:date>
    </item>
    <item>
      <title>Re: in reports</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/in-reports/m-p/4727439#M1109736</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;try like this..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;loop at itab1.
read table itab2 with key ebeln = itab1-ebeln.
move the records to itab.
read tabel itab3 with key ebeln = itab1-ebeln..
move the records to itab.
endloop.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;here itab is final internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Sathish Reddy on Nov 14, 2008 10:28 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Nov 2008 04:57:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/in-reports/m-p/4727439#M1109736</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-14T04:57:48Z</dc:date>
    </item>
    <item>
      <title>Re: in reports</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/in-reports/m-p/4727440#M1109737</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;try like this...&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
loop at itab1.
read table itab2 with key ebeln = itab1-ebeln.
if sy-subrc eq 0.
   move the records to itab.
endif.
read tabel itab3 with key ebeln = itab1-ebeln..
if sy-subrc eq 0.
  move the records to itab.
endif.
endloop.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Arunima&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Nov 2008 05:02:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/in-reports/m-p/4727440#M1109737</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-14T05:02:05Z</dc:date>
    </item>
    <item>
      <title>Re: in reports</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/in-reports/m-p/4727441#M1109738</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Select field1&lt;/P&gt;&lt;P&gt;           field2&lt;/P&gt;&lt;P&gt;           ebeln from table1&lt;/P&gt;&lt;P&gt;           INTO itab1&lt;/P&gt;&lt;P&gt;           where &amp;lt;condtion&amp;gt;.&lt;/P&gt;&lt;P&gt;IF SY-SUBRC EQ 0.&lt;/P&gt;&lt;P&gt;SORT ITAB1 BY EBELN.&lt;/P&gt;&lt;P&gt;select field3&lt;/P&gt;&lt;P&gt;          filed4&lt;/P&gt;&lt;P&gt;         ebeln from table2&lt;/P&gt;&lt;P&gt;         INTO itab2&lt;/P&gt;&lt;P&gt;         FOR ALL ENTRIES IN ITAB1&lt;/P&gt;&lt;P&gt;         WHERE EBELN = ITAB1-EBELN&lt;/P&gt;&lt;P&gt;IF SY-SUBRC EQ 0&lt;/P&gt;&lt;P&gt;SORT ITAB2 BY EBELN.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;select field5&lt;/P&gt;&lt;P&gt;          filed6&lt;/P&gt;&lt;P&gt;         ebeln from table3&lt;/P&gt;&lt;P&gt;         INTO itab2&lt;/P&gt;&lt;P&gt;         FOR ALL ENTRIES IN ITAB1&lt;/P&gt;&lt;P&gt;         WHERE EBELN = ITAB1-EBELN&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;Then declare a final internal table and move all the fields into the final internal table as said by sathish and arunima&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Rasheed salman on Nov 14, 2008 6:02 AM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Rasheed salman on Nov 14, 2008 6:05 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Nov 2008 05:02:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/in-reports/m-p/4727441#M1109738</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-14T05:02:41Z</dc:date>
    </item>
    <item>
      <title>Re: in reports</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/in-reports/m-p/4727442#M1109739</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi raj,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;first itab1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;loop at itab1 into wa_itab1.&lt;/P&gt;&lt;P&gt;read table itab2 into wa_temp1 where ebeln = wa-itab1-ebeln.&lt;/P&gt;&lt;P&gt;read table itab3 into wa_temp2 where ebeln = wa_temp1-ebeln.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;APPEND wa_temp2 INTO itab4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Nov 2008 05:06:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/in-reports/m-p/4727442#M1109739</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-14T05:06:54Z</dc:date>
    </item>
  </channel>
</rss>

