<?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: problem in  Inner join in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-inner-join/m-p/1925564#M384114</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;   Change the naming convension of the Select Options as S_VKORG...etc.then change the select stmt as below and execute the same join. I hope you won't get &lt;/P&gt;&lt;P&gt;the error now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select a~bstnk&lt;/P&gt;&lt;P&gt;a~vbeln&lt;/P&gt;&lt;P&gt;b~kdmat&lt;/P&gt;&lt;P&gt;b~matnr&lt;/P&gt;&lt;P&gt;b~werks&lt;/P&gt;&lt;P&gt;b~posnr&lt;/P&gt;&lt;P&gt;b~kwmeng&lt;/P&gt;&lt;P&gt;into corresponding fields of table itab&lt;/P&gt;&lt;P&gt;    from vbap as b inner join vbak as a &lt;/P&gt;&lt;P&gt;      on b&lt;SUB&gt;vbeln = a&lt;/SUB&gt;vbeln&lt;/P&gt;&lt;P&gt; where vkorg in vkorg&lt;/P&gt;&lt;P&gt;    and auart in s_auart and &lt;/P&gt;&lt;P&gt;           knkli in s_knkli and &lt;/P&gt;&lt;P&gt;          erdat in s_erdat.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;  Jayaram...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;  Jayaram...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 01 Mar 2007 13:47:21 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-03-01T13:47:21Z</dc:date>
    <item>
      <title>problem in  Inner join</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-inner-join/m-p/1925560#M384110</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="3" type="ul"&gt;&lt;P&gt;selection screen&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;select-options:  vkorg for vbak-vkorg obligatory.  " Sales Org&lt;/P&gt;&lt;P&gt;select-options:  erdat for vbak-erdat. " Creation Date&lt;/P&gt;&lt;P&gt;select-options:  auart for vbak-auart. " Order type&lt;/P&gt;&lt;P&gt;select-options:  knkli for vbak-knkli. " Customer Account&lt;/P&gt;&lt;P&gt;*----&lt;/P&gt;&lt;HR originaltext="-------------------------------------------------------------" /&gt;&lt;P&gt;Start-of-selection.&lt;/P&gt;&lt;P&gt;  select a~bstnk&lt;/P&gt;&lt;P&gt;         a~vbeln&lt;/P&gt;&lt;P&gt;         b~kdmat&lt;/P&gt;&lt;P&gt;         b~matnr&lt;/P&gt;&lt;P&gt;         b~werks&lt;/P&gt;&lt;P&gt;         b~posnr&lt;/P&gt;&lt;P&gt;         b~kwmeng&lt;/P&gt;&lt;P&gt;         into corresponding fields of table itab&lt;/P&gt;&lt;P&gt;         from  vbap as b inner join vbak as a on a&lt;SUB&gt;vbeln = b&lt;/SUB&gt;vbeln&lt;/P&gt;&lt;P&gt;       where vkorg in vkorg&lt;/P&gt;&lt;P&gt;       and auart in auart and knkli in knkli and erdat in erdat.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Error (During Ctrl F2)&lt;/P&gt;&lt;P&gt;The column name "ERDAT" has two meanings. ABAP/4 Open SQL Statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly let me know what is this error msg.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;S&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Mar 2007 13:38:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-inner-join/m-p/1925560#M384110</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-01T13:38:54Z</dc:date>
    </item>
    <item>
      <title>Re: problem in  Inner join</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-inner-join/m-p/1925561#M384111</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;check the data declaration part you would have declared erdat in you internal table or in parameters .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;pankaj singh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Mar 2007 13:41:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-inner-join/m-p/1925561#M384111</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-01T13:41:58Z</dc:date>
    </item>
    <item>
      <title>Re: problem in  Inner join</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-inner-join/m-p/1925562#M384112</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;Please  give proper alias.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select a~bstnk&lt;/P&gt;&lt;P&gt;a~vbeln&lt;/P&gt;&lt;P&gt;b~kdmat&lt;/P&gt;&lt;P&gt;b~matnr&lt;/P&gt;&lt;P&gt;b~werks&lt;/P&gt;&lt;P&gt;b~posnr&lt;/P&gt;&lt;P&gt;b~kwmeng&lt;/P&gt;&lt;P&gt;into corresponding fields of table itab&lt;/P&gt;&lt;P&gt;from vbap as b inner join vbak as a on a&lt;SUB&gt;vbeln = b&lt;/SUB&gt;vbeln&lt;/P&gt;&lt;P&gt;where &amp;lt;b&amp;gt;a~&amp;lt;/b&amp;gt;vkorg in vkorg&lt;/P&gt;&lt;P&gt;and &amp;lt;b&amp;gt;a&lt;SUB&gt;&amp;lt;/b&amp;gt;auart in auart and &amp;lt;b&amp;gt;a&lt;/SUB&gt;&amp;lt;/b&amp;gt;knkli in knkli and &amp;lt;b&amp;gt;a~&amp;lt;/b&amp;gt;erdat in erdat. (not exactly plz check in table).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if helps plz reward points&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Bhupal Reddy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Mar 2007 13:43:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-inner-join/m-p/1925562#M384112</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-01T13:43:11Z</dc:date>
    </item>
    <item>
      <title>Re: problem in  Inner join</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-inner-join/m-p/1925563#M384113</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 giving like this...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select a~bstnk&lt;/P&gt;&lt;P&gt;a~vbeln&lt;/P&gt;&lt;P&gt;b~kdmat&lt;/P&gt;&lt;P&gt;b~matnr&lt;/P&gt;&lt;P&gt;b~werks&lt;/P&gt;&lt;P&gt;b~posnr&lt;/P&gt;&lt;P&gt;b~kwmeng&lt;/P&gt;&lt;P&gt;into corresponding fields of table itab&lt;/P&gt;&lt;P&gt;from vbap as b inner join vbak as a on a&lt;SUB&gt;vbeln = b&lt;/SUB&gt;vbeln&lt;/P&gt;&lt;P&gt;where vkorg in vkorg&lt;/P&gt;&lt;P&gt;and a&lt;SUB&gt;auart in auart and a&lt;/SUB&gt;knkli in knkli and a~erdat in erdat.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;priya.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Mar 2007 13:46:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-inner-join/m-p/1925563#M384113</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-01T13:46:04Z</dc:date>
    </item>
    <item>
      <title>Re: problem in  Inner join</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-inner-join/m-p/1925564#M384114</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;   Change the naming convension of the Select Options as S_VKORG...etc.then change the select stmt as below and execute the same join. I hope you won't get &lt;/P&gt;&lt;P&gt;the error now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select a~bstnk&lt;/P&gt;&lt;P&gt;a~vbeln&lt;/P&gt;&lt;P&gt;b~kdmat&lt;/P&gt;&lt;P&gt;b~matnr&lt;/P&gt;&lt;P&gt;b~werks&lt;/P&gt;&lt;P&gt;b~posnr&lt;/P&gt;&lt;P&gt;b~kwmeng&lt;/P&gt;&lt;P&gt;into corresponding fields of table itab&lt;/P&gt;&lt;P&gt;    from vbap as b inner join vbak as a &lt;/P&gt;&lt;P&gt;      on b&lt;SUB&gt;vbeln = a&lt;/SUB&gt;vbeln&lt;/P&gt;&lt;P&gt; where vkorg in vkorg&lt;/P&gt;&lt;P&gt;    and auart in s_auart and &lt;/P&gt;&lt;P&gt;           knkli in s_knkli and &lt;/P&gt;&lt;P&gt;          erdat in s_erdat.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;  Jayaram...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;  Jayaram...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Mar 2007 13:47:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-inner-join/m-p/1925564#M384114</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-01T13:47:21Z</dc:date>
    </item>
    <item>
      <title>Re: problem in  Inner join</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-inner-join/m-p/1925565#M384115</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;There are conflicting names for erdat.&lt;/P&gt;&lt;P&gt;You have given the select-option name aslo as erdat.&lt;/P&gt;&lt;P&gt;change it to some other name say s_erdat.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select-options: s_erdat for vbak-erdat. " Creation Date&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;change the same in select also&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Start-of-selection.&lt;/P&gt;&lt;P&gt;select a~bstnk&lt;/P&gt;&lt;P&gt;a~vbeln&lt;/P&gt;&lt;P&gt;b~kdmat&lt;/P&gt;&lt;P&gt;b~matnr&lt;/P&gt;&lt;P&gt;b~werks&lt;/P&gt;&lt;P&gt;b~posnr&lt;/P&gt;&lt;P&gt;b~kwmeng&lt;/P&gt;&lt;P&gt;into corresponding fields of table itab&lt;/P&gt;&lt;P&gt;from vbap as b inner join vbak as a on a&lt;SUB&gt;vbeln = b&lt;/SUB&gt;vbeln&lt;/P&gt;&lt;P&gt;where vkorg in vkorg&lt;/P&gt;&lt;P&gt;and auart in auart and knkli in knkli and erdat in s_erdat.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps.&lt;/P&gt;&lt;P&gt;Reward if useful&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Saumya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Mar 2007 13:54:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-inner-join/m-p/1925565#M384115</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-01T13:54:30Z</dc:date>
    </item>
  </channel>
</rss>

