<?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 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/inner-join/m-p/6577450#M1433829</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 found out that matnr stored in vbrp is 72341 whereas matnr in mbew is with leading zero 000000000000072341.&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This seems unlikely as both field are defined using same data element MATNR. &lt;/P&gt;&lt;P&gt;Is your select statement not working?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 04 Feb 2010 14:56:56 GMT</pubDate>
    <dc:creator>Pawan_Kesari</dc:creator>
    <dc:date>2010-02-04T14:56:56Z</dc:date>
    <item>
      <title>inner join</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/inner-join/m-p/6577449#M1433828</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;i have select statement like this. now i found out that matnr stored in vbrp is 72341 whereas matnr in mbew is with leading zero 000000000000072341. may i know how can i use FM 'CONVERSION_EXIT_ALPHA_INPUT' below as no way i can insert this FM within inner join.&lt;/P&gt;&lt;P&gt;any advice?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;          &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;SELECT vbrp~matnr vbrp~werks vbrp~fkimg vbrp~vrkme
                 mbew~vprsv mbew~verpr mbew~stprs mbew~peinh
                 marm~umrez marm~umren 
            INTO TABLE itab
                  FROM vbrp
            INNER JOIN mbew
                    ON vbrp~matnr EQ mbew~matnr
                   AND vbrp~werks EQ mbew~bwkey
            INNER JOIN marm
                    ON mbew~matnr EQ marm~matnr
                   AND vbrp~vrkme EQ marm~meinh.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;rgds&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN __default_attr="red" __jive_macro_name="color"&gt;Moderator message - Please use code tags to format your code&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Rob Burbank on Feb 4, 2010 10:03 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Feb 2010 14:40:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/inner-join/m-p/6577449#M1433828</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-04T14:40:11Z</dc:date>
    </item>
    <item>
      <title>Re: inner join</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/inner-join/m-p/6577450#M1433829</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 found out that matnr stored in vbrp is 72341 whereas matnr in mbew is with leading zero 000000000000072341.&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This seems unlikely as both field are defined using same data element MATNR. &lt;/P&gt;&lt;P&gt;Is your select statement not working?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Feb 2010 14:56:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/inner-join/m-p/6577450#M1433829</guid>
      <dc:creator>Pawan_Kesari</dc:creator>
      <dc:date>2010-02-04T14:56:56Z</dc:date>
    </item>
    <item>
      <title>Re: inner join</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/inner-join/m-p/6577451#M1433830</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;i think matnr stored with leading zero after further check. guess matnr not causing the problem.&lt;/P&gt;&lt;P&gt;the select statement is not fetching any data to my internal table. but i check all relevant table, data is in the table and it should be able to map.&lt;/P&gt;&lt;P&gt;any wrong with the select statement?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Feb 2010 15:00:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/inner-join/m-p/6577451#M1433830</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-04T15:00:22Z</dc:date>
    </item>
    <item>
      <title>Re: inner join</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/inner-join/m-p/6577452#M1433831</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Start with query&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;SELECT ....
            INTO TABLE itab
                  FROM vbrp
            INNER JOIN mbew
                   AND vbrp~werks EQ mbew~bwkey&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if above works add more condition&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;SELECT ...
            INTO TABLE itab
                  FROM vbrp
            INNER JOIN mbew
                    ON vbrp~matnr EQ mbew~matnr
                   AND vbrp~werks EQ mbew~bwkey&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and more..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;SELECT ..
            INTO TABLE itab
                  FROM vbrp
            INNER JOIN mbew
                    ON vbrp~matnr EQ mbew~matnr
                   AND vbrp~werks EQ mbew~bwkey
            INNER JOIN marm
                    ON mbew~matnr EQ marm~matnr
                   AND vbrp~vrkme EQ marm~meinh.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;result will help you understand the problem&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Feb 2010 15:25:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/inner-join/m-p/6577452#M1433831</guid>
      <dc:creator>Pawan_Kesari</dc:creator>
      <dc:date>2010-02-04T15:25:01Z</dc:date>
    </item>
  </channel>
</rss>

