<?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: Joining internal table data for output in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/joining-internal-table-data-for-output/m-p/6731799#M1457115</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi!&lt;/P&gt;&lt;P&gt;Declare  Work area for the table t_proj and try.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;Read TABLE t_proj into wa_prog with  key where pspid = wa_out-pspid.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 08 Mar 2010 11:35:46 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-03-08T11:35:46Z</dc:date>
    <item>
      <title>Joining internal table data for output</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/joining-internal-table-data-for-output/m-p/6731792#M1457108</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a problem with 2 internal tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have an internal table with some 7 records with the project details with some fields..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;like proj num,proj year.....etc&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and &lt;/P&gt;&lt;P&gt;2nd internal table with only 3 records and structure is&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Proj Number (Only 1 field).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I  need to  display the 2nd internal table proj number details with 1 st internal table structure for only 3 records which are part of 7 records.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;which statement can i use ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please let me know.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;vishnu&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN __default_attr="red" __jive_macro_name="color"&gt;Moderator message: subject corrected (at least I tried), please use a more meaningful one next time!&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Thomas Zloch on Mar 8, 2010 12:42 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Mar 2010 10:03:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/joining-internal-table-data-for-output/m-p/6731792#M1457108</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-08T10:03:05Z</dc:date>
    </item>
    <item>
      <title>Re: Joining internal table data for output</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/joining-internal-table-data-for-output/m-p/6731793#M1457109</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How about reading the forum rules and using a meaningful subject line first?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Mar 2010 10:04:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/joining-internal-table-data-for-output/m-p/6731793#M1457109</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-08T10:04:40Z</dc:date>
    </item>
    <item>
      <title>Re: Joining internal table data for output</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/joining-internal-table-data-for-output/m-p/6731794#M1457110</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN __default_attr="blue" __jive_macro_name="color"&gt;Hi 
&amp;lt;li&amp;gt;Use meaningful subject 
&amp;lt;li&amp;gt;Try this way .
&lt;PRE&gt;&lt;CODE&gt;
LOOP AT 2nd_itab.
 LOOP AT 1st_itab where proj_no = 2nd_itab-proj_no.

 ENDLOOP.
ENDLOOP.
&lt;/CODE&gt;&lt;/PRE&gt;

Thanks
Venkat.O&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Mar 2010 10:07:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/joining-internal-table-data-for-output/m-p/6731794#M1457110</guid>
      <dc:creator>venkat_o</dc:creator>
      <dc:date>2010-03-08T10:07:46Z</dc:date>
    </item>
    <item>
      <title>Re: Joining internal table data for output</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/joining-internal-table-data-for-output/m-p/6731795#M1457111</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 this,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;LOOP AT 2nd Internal.&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;Read 1st Internal Table with key where projnumber = 2ndinternaltable-projnumber.&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;if sy-subrc eq 0.&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;Modify the records or append it to the new internal table ( of required Structure)&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;clear: itab2,itab1.&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;endif&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;Endloop.&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sathish.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Mar 2010 10:15:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/joining-internal-table-data-for-output/m-p/6731795#M1457111</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-08T10:15:53Z</dc:date>
    </item>
    <item>
      <title>Re: Joining internal table data for output</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/joining-internal-table-data-for-output/m-p/6731796#M1457112</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 this statement&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select proj.no ...... ....  from it_tab1into it_tab &lt;/P&gt;&lt;P&gt;for all entries in it_tab2 where proj.no = it_tab2-proj.no.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where it_tab1 and it_tab2 are your internal tables and it_tab have same structure like it_tab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Lokeswari.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Mar 2010 11:21:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/joining-internal-table-data-for-output/m-p/6731796#M1457112</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-08T11:21:35Z</dc:date>
    </item>
    <item>
      <title>Re: Joining internal table data for output</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/joining-internal-table-data-for-output/m-p/6731797#M1457113</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I used the same code but it is throwing an error saying that "PSPID is not expected" in where condition.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Loop at t_out into wa_out.&lt;/P&gt;&lt;P&gt;    Read TABLE t_proj  with table key where pspid = wa_out-pspid.&lt;/P&gt;&lt;P&gt;    modify t_proj index sy-tabix.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; if sy-subrc = '0'.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; Message&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;  endloop.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Mar 2010 11:28:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/joining-internal-table-data-for-output/m-p/6731797#M1457113</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-08T11:28:53Z</dc:date>
    </item>
    <item>
      <title>Re: Joining internal table data for output</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/joining-internal-table-data-for-output/m-p/6731798#M1457114</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Lokeshwari,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You have missed the names..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know what it refers to ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks for response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;vishnu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Mar 2010 11:32:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/joining-internal-table-data-for-output/m-p/6731798#M1457114</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-08T11:32:16Z</dc:date>
    </item>
    <item>
      <title>Re: Joining internal table data for output</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/joining-internal-table-data-for-output/m-p/6731799#M1457115</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi!&lt;/P&gt;&lt;P&gt;Declare  Work area for the table t_proj and try.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;Read TABLE t_proj into wa_prog with  key where pspid = wa_out-pspid.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Mar 2010 11:35:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/joining-internal-table-data-for-output/m-p/6731799#M1457115</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-08T11:35:46Z</dc:date>
    </item>
    <item>
      <title>Re: Joining internal table data for output</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/joining-internal-table-data-for-output/m-p/6731800#M1457116</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;Those are your first internal table fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Lokeswari.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Mar 2010 11:39:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/joining-internal-table-data-for-output/m-p/6731800#M1457116</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-08T11:39:54Z</dc:date>
    </item>
    <item>
      <title>Re: Joining internal table data for output</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/joining-internal-table-data-for-output/m-p/6731801#M1457117</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;Loop at the 2nd internal table into work area. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;read the 1st internal table into work area where proj &lt;U&gt;num = wa&lt;/U&gt;second &lt;U&gt;table-proj&lt;/U&gt;num( frm 2nd internal table)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; now this will read only those records wher project number from 2nd matches those in the first , This is how you can get only  records for the 3 project numbers which are in the 2nd internal table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Mar 2010 13:04:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/joining-internal-table-data-for-output/m-p/6731801#M1457117</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-08T13:04:38Z</dc:date>
    </item>
    <item>
      <title>Re: Joining internal table data for output</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/joining-internal-table-data-for-output/m-p/6731802#M1457118</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I got resolution.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Mar 2010 06:15:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/joining-internal-table-data-for-output/m-p/6731802#M1457118</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-10T06:15:43Z</dc:date>
    </item>
  </channel>
</rss>

