<?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: regarding inner join in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-inner-join/m-p/2147996#M453300</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;select mard&lt;SUB&gt;matnr mard&lt;/SUB&gt;werks mard&lt;SUB&gt;lgort mard&lt;/SUB&gt;labst mard&lt;SUB&gt;insme mard&lt;/SUB&gt;speme&lt;/P&gt;&lt;P&gt;mseg~lifnr into corresponding&lt;/P&gt;&lt;P&gt;fields of table itab_final from mard inner join mseg on mard~matnr =&lt;/P&gt;&lt;P&gt;mseg~matnr where matnr in matnr and werks = s_werks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"where matnr " you need to specify which matnr..i mean..from which table..whether MSEG or MARD..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Rammohan Nagam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 30 Mar 2007 05:51:09 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-03-30T05:51:09Z</dc:date>
    <item>
      <title>regarding inner join</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-inner-join/m-p/2147993#M453297</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;**this statement is showing the error:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;error::the column name 'MATNR' has two meaning.abap/4open sql statement.:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*selection screen&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME title text-001.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PARAMETERS: s_werks like mseg-werks obligatory,&lt;/P&gt;&lt;P&gt;            date like mkpf-budat.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select-options:matnr for mard-matnr no intervals.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN END OF BLOCK B1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select mard&lt;SUB&gt;matnr mard&lt;/SUB&gt;werks mard&lt;SUB&gt;lgort mard&lt;/SUB&gt;labst mard&lt;SUB&gt;insme mard&lt;/SUB&gt;speme&lt;/P&gt;&lt;P&gt; mseg~lifnr into corresponding&lt;/P&gt;&lt;P&gt;fields of table itab_final from mard inner join mseg on mard~matnr =&lt;/P&gt;&lt;P&gt;mseg~matnr where  matnr in matnr and werks = s_werks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PLZ help me to rectifie the error.&lt;/P&gt;&lt;P&gt;thnx in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        ravi gupta&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Mar 2007 05:48:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-inner-join/m-p/2147993#M453297</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-30T05:48:35Z</dc:date>
    </item>
    <item>
      <title>Re: regarding inner join</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-inner-join/m-p/2147994#M453298</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Change in where condition. see below changes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select mard&lt;SUB&gt;matnr mard&lt;/SUB&gt;werks mard&lt;SUB&gt;lgort mard&lt;/SUB&gt;labst mard&lt;SUB&gt;insme mard&lt;/SUB&gt;speme&lt;/P&gt;&lt;P&gt;mseg~lifnr into corresponding&lt;/P&gt;&lt;P&gt;fields of table itab_final from mard inner join mseg on mard~matnr =&lt;/P&gt;&lt;P&gt;mseg~matnr&lt;/P&gt;&lt;P&gt; where mard&lt;SUB&gt;matnr in matnr and mard&lt;/SUB&gt;werks = s_werks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Mar 2007 05:50:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-inner-join/m-p/2147994#M453298</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-30T05:50:29Z</dc:date>
    </item>
    <item>
      <title>Re: regarding inner join</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-inner-join/m-p/2147995#M453299</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;select mard&lt;SUB&gt;matnr mard&lt;/SUB&gt;werks mard&lt;SUB&gt;lgort mard&lt;/SUB&gt;labst mard&lt;SUB&gt;insme mard&lt;/SUB&gt;speme&lt;/P&gt;&lt;P&gt;mseg~lifnr into corresponding&lt;/P&gt;&lt;P&gt;fields of table itab_final from mard inner join mseg on mard~matnr =&lt;/P&gt;&lt;P&gt;mseg&lt;SUB&gt;matnr where mard&lt;/SUB&gt;matnr in matnr and mseg~werks = s_werks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;shiba dutta&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        SHIBA DUTTA&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Mar 2007 05:51:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-inner-join/m-p/2147995#M453299</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-30T05:51:05Z</dc:date>
    </item>
    <item>
      <title>Re: regarding inner join</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-inner-join/m-p/2147996#M453300</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;select mard&lt;SUB&gt;matnr mard&lt;/SUB&gt;werks mard&lt;SUB&gt;lgort mard&lt;/SUB&gt;labst mard&lt;SUB&gt;insme mard&lt;/SUB&gt;speme&lt;/P&gt;&lt;P&gt;mseg~lifnr into corresponding&lt;/P&gt;&lt;P&gt;fields of table itab_final from mard inner join mseg on mard~matnr =&lt;/P&gt;&lt;P&gt;mseg~matnr where matnr in matnr and werks = s_werks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"where matnr " you need to specify which matnr..i mean..from which table..whether MSEG or MARD..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Rammohan Nagam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Mar 2007 05:51:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-inner-join/m-p/2147996#M453300</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-30T05:51:09Z</dc:date>
    </item>
    <item>
      <title>Re: regarding inner join</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-inner-join/m-p/2147997#M453301</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;the error is bcoz the Matnr field is defined in both the tables mseg and mard.&lt;/P&gt;&lt;P&gt;In the statement 'where matnr in matnr and werks = s_werks' u need to specify&lt;/P&gt;&lt;P&gt;MARD&lt;SUB&gt;MATNR or MSEG&lt;/SUB&gt;MATNR as per the need.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will solve ur issue.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Himanshu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Mar 2007 05:51:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-inner-join/m-p/2147997#M453301</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-30T05:51:50Z</dc:date>
    </item>
    <item>
      <title>Re: regarding inner join</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-inner-join/m-p/2147998#M453302</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ravi ,&lt;/P&gt;&lt;P&gt;The Error was the column name 'MATNR' has two meaning.abap/4open sql statement.: because you have  &amp;lt;b&amp;gt;mseg&lt;SUB&gt;matnr mard&lt;/SUB&gt;matnr&amp;lt;/b&amp;gt; so you need to specify which matnr has to be kept in where condition &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------------------------------------------" /&gt;&lt;P&gt;select-options:matnr for mard-matnr no intervals.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN END OF BLOCK B1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select mard&lt;SUB&gt;matnr mard&lt;/SUB&gt;werks mard&lt;SUB&gt;lgort mard&lt;/SUB&gt;labst mard&lt;SUB&gt;insme mard&lt;/SUB&gt;speme&lt;/P&gt;&lt;P&gt;mseg~lifnr into corresponding&lt;/P&gt;&lt;P&gt;fields of table itab_final from mard inner join mseg on mard~matnr =&lt;/P&gt;&lt;P&gt;mseg&lt;SUB&gt;matnr where (&amp;lt;b&amp;gt;mard&lt;/SUB&gt;matnr or  mseg~matnr&amp;lt;/b&amp;gt;) (you have to select any one of them )in matnr and werks = s_werks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Mar 2007 05:54:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-inner-join/m-p/2147998#M453302</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-30T05:54:15Z</dc:date>
    </item>
    <item>
      <title>Re: regarding inner join</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-inner-join/m-p/2147999#M453303</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Write like this&lt;/P&gt;&lt;P&gt;select mard&lt;SUB&gt;matnr mard&lt;/SUB&gt;werks mard&lt;SUB&gt;lgort mard&lt;/SUB&gt;labst mard&lt;SUB&gt;insme mard&lt;/SUB&gt;speme&lt;/P&gt;&lt;P&gt;mseg~lifnr into corresponding&lt;/P&gt;&lt;P&gt;fields of table itab_final from mard  innerjoin mseg &lt;/P&gt;&lt;P&gt;on mard&lt;SUB&gt;matnr = mseg&lt;/SUB&gt;matnr &lt;/P&gt;&lt;P&gt;where mard~matnr in s_matnr and &lt;/P&gt;&lt;P&gt;mard~werks = s_werks and&lt;/P&gt;&lt;P&gt;mseg~budat =  s_date.&lt;/P&gt;&lt;P&gt;better take date as Select options and give  in S+date in where condnreward if useful&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Anji&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Mar 2007 05:55:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-inner-join/m-p/2147999#M453303</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-30T05:55:17Z</dc:date>
    </item>
    <item>
      <title>Re: regarding inner join</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-inner-join/m-p/2148000#M453304</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ravi,&lt;/P&gt;&lt;P&gt;            Your select statement is wrong.The correct statement is.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select mard~matnr&lt;/P&gt;&lt;P&gt;          mard~werks&lt;/P&gt;&lt;P&gt;          mard~lgort &lt;/P&gt;&lt;P&gt;          mard~labst &lt;/P&gt;&lt;P&gt;          mard~insme &lt;/P&gt;&lt;P&gt;          mard~speme&lt;/P&gt;&lt;P&gt;          mseg~lifnr &lt;/P&gt;&lt;P&gt;into corresponding fields of table itab_final &lt;/P&gt;&lt;P&gt;from mard inner join mseg &lt;/P&gt;&lt;P&gt;on mard&lt;SUB&gt;matnr = mseg&lt;/SUB&gt;matnr&lt;/P&gt;&lt;P&gt;where mard&lt;SUB&gt;matnr in matnr and mard&lt;/SUB&gt;werks = s_werks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Ramana&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Mar 2007 05:59:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-inner-join/m-p/2148000#M453304</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-30T05:59:16Z</dc:date>
    </item>
  </channel>
</rss>

