<?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: inner join condition help in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/inner-join-condition-help/m-p/4806017#M1125134</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 using&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Select * from PROJ into table it_tab1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at it_tab1 into wa_tab1.&lt;/P&gt;&lt;P&gt;CONCATENATE wa_tab1-posid '999' into wa_tab1-posid.&lt;/P&gt;&lt;P&gt;modify it_tab1 from wa_tab1.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select * from PRPS into table it_tab2&lt;/P&gt;&lt;P&gt;for all entries in it_tab1&lt;/P&gt;&lt;P&gt;where posid = it_tab1-posid.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Harshada&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 05 Dec 2008 05:14:21 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-12-05T05:14:21Z</dc:date>
    <item>
      <title>inner join condition help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/inner-join-condition-help/m-p/4806013#M1125130</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i want to join two table where project number is equal to project no with concantate number 999.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for eg.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select * from proj as a&lt;/P&gt;&lt;P&gt;     inner join Prsp as b&lt;/P&gt;&lt;P&gt;    on b&lt;SUB&gt;posid = a&lt;/SUB&gt;posid+'999'&lt;/P&gt;&lt;P&gt;into table ittab where invl=inventoryno&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;any suggestion.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Dec 2008 02:44:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/inner-join-condition-help/m-p/4806013#M1125130</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-05T02:44:40Z</dc:date>
    </item>
    <item>
      <title>Re: inner join condition help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/inner-join-condition-help/m-p/4806014#M1125131</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;First select data from PROJ and collect in internal table(Itab) than do concatenate ITAB-POSID with 999 and store in internal table in different field(temp) than use 'for all entries' with itab-tamp while selecting data from PRSP with condition posid = itab-temp.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Dec 2008 02:50:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/inner-join-condition-help/m-p/4806014#M1125131</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-05T02:50:36Z</dc:date>
    </item>
    <item>
      <title>Re: inner join condition help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/inner-join-condition-help/m-p/4806015#M1125132</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, I'm not sure, Would you please provide an example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;two table only matching project from one table in another table with value concantate 999.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Dec 2008 03:44:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/inner-join-condition-help/m-p/4806015#M1125132</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-05T03:44:58Z</dc:date>
    </item>
    <item>
      <title>Re: inner join condition help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/inner-join-condition-help/m-p/4806016#M1125133</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;You can first select the data from proj into 1 internal table and then concatenate proj number with 999 into a variable and then select data from prps by using for all entries for first itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Dec 2008 03:50:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/inner-join-condition-help/m-p/4806016#M1125133</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-05T03:50:09Z</dc:date>
    </item>
    <item>
      <title>Re: inner join condition help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/inner-join-condition-help/m-p/4806017#M1125134</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 using&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Select * from PROJ into table it_tab1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at it_tab1 into wa_tab1.&lt;/P&gt;&lt;P&gt;CONCATENATE wa_tab1-posid '999' into wa_tab1-posid.&lt;/P&gt;&lt;P&gt;modify it_tab1 from wa_tab1.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select * from PRPS into table it_tab2&lt;/P&gt;&lt;P&gt;for all entries in it_tab1&lt;/P&gt;&lt;P&gt;where posid = it_tab1-posid.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Harshada&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Dec 2008 05:14:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/inner-join-condition-help/m-p/4806017#M1125134</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-05T05:14:21Z</dc:date>
    </item>
    <item>
      <title>Re: inner join condition help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/inner-join-condition-help/m-p/4806018#M1125135</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; i want to join two table where project number is equal to project no with concantate number 999.&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; for eg.&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; select * from proj as a&lt;/P&gt;&lt;P&gt;&amp;gt;      inner join Prsp as b&lt;/P&gt;&lt;P&gt;&amp;gt;     on b&lt;SUB&gt;posid = a&lt;/SUB&gt;posid+'999' &amp;lt;===&lt;/P&gt;&lt;P&gt;&amp;gt; into table ittab where invl=inventoryno&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; any suggestion.&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi Prabha,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me tell you one thing...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;PROJ&lt;/STRONG&gt; table is not having the field &lt;STRONG&gt;POSID&lt;/STRONG&gt; itself...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; select * from proj as a&lt;/P&gt;&lt;P&gt;&amp;gt;      inner join Prsp as b&lt;/P&gt;&lt;P&gt;&amp;gt;     on b&lt;SUB&gt;posid = a&lt;/SUB&gt;posid+'999' &amp;lt;=== Here what I can see is There is No POSID field in table PROJ&lt;/P&gt;&lt;P&gt;&amp;gt; into table ittab where invl=inventoryno&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to Join PROJ and PRPS u can link it through fields &lt;STRONG&gt;PROJ-PSPNR&lt;/STRONG&gt; and &lt;STRONG&gt;PRPS-PSPHI&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please have a look at the tables and fileds and the records(DATA) once more...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Hope it will solve your problem..&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt;ilesh 24x7&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Dec 2008 05:43:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/inner-join-condition-help/m-p/4806018#M1125135</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-05T05:43:09Z</dc:date>
    </item>
    <item>
      <title>Re: inner join condition help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/inner-join-condition-help/m-p/4806019#M1125136</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;see this folloiwng example herer two table KNA1 AND KNVP AND FETCH ALL RECORD WHERE BOTH KUNNR IS SAME&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select single name1 a~kunn2&lt;/P&gt;&lt;P&gt;              into (itab-agent  , itab-pcode)&lt;/P&gt;&lt;P&gt;              from knvp as a&lt;/P&gt;&lt;P&gt;              inner join kna1 as b&lt;/P&gt;&lt;P&gt;              on a&lt;SUB&gt;kunn2 = b&lt;/SUB&gt;kunnr&lt;/P&gt;&lt;P&gt;              where a~kunnr = itab-kunag and&lt;/P&gt;&lt;P&gt;                    a~vkorg = itab-vkorg and&lt;/P&gt;&lt;P&gt;                    a~vtweg = itab-vtweg and&lt;/P&gt;&lt;P&gt;                    a~spart = itab-spart and&lt;/P&gt;&lt;P&gt;                    a~parvw = 'PC'.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Dec 2008 05:50:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/inner-join-condition-help/m-p/4806019#M1125136</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-05T05:50:24Z</dc:date>
    </item>
  </channel>
</rss>

