<?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 prb in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/inner-join-prb/m-p/2217256#M475561</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your SELECT is working fine for me, the only thing I changed was your WRITE statement.  Works good.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;loop at itab.
  write:/ itab-lifnr, itab-name1, itab-land1, itab-ebeln.
endloop.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 27 Apr 2007 16:50:44 GMT</pubDate>
    <dc:creator>RichHeilman</dc:creator>
    <dc:date>2007-04-27T16:50:44Z</dc:date>
    <item>
      <title>inner join prb</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/inner-join-prb/m-p/2217254#M475559</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;plz rectify the error,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;there is some prob with my inner join select stmt which i am unable to identify&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here is the code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tables: lfa1, ekko,&lt;/P&gt;&lt;P&gt;select-options: vend for lfa1-lifnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: begin of itab occurs 0,&lt;/P&gt;&lt;P&gt;lifnr like lfa1-lifnr,&lt;/P&gt;&lt;P&gt;name1 like lfa1-name1,&lt;/P&gt;&lt;P&gt;land1 like lfa1-land1,&lt;/P&gt;&lt;P&gt;ebeln like ekko-ebeln,&lt;/P&gt;&lt;P&gt;end of itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select lfa1&lt;SUB&gt;lifnr lfa1&lt;/SUB&gt;name1 lfa1&lt;SUB&gt;land1 ekko&lt;/SUB&gt;ebeln into table itab from lfa1 inner join ekko on lfa1&lt;SUB&gt;lifnr = ekko&lt;/SUB&gt;lifnr where lfa1~lifnr in vend.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at itab.&lt;/P&gt;&lt;P&gt;write: itab.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i am not getting the required output.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Apr 2007 16:42:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/inner-join-prb/m-p/2217254#M475559</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-27T16:42:56Z</dc:date>
    </item>
    <item>
      <title>Re: inner join prb</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/inner-join-prb/m-p/2217255#M475560</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;What is exactly the output, your program provides?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You might try out the "INTO CORRESPONDING FIELDS OF TABLE itab" statement also...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Tamá&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Apr 2007 16:48:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/inner-join-prb/m-p/2217255#M475560</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-27T16:48:45Z</dc:date>
    </item>
    <item>
      <title>Re: inner join prb</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/inner-join-prb/m-p/2217256#M475561</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your SELECT is working fine for me, the only thing I changed was your WRITE statement.  Works good.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;loop at itab.
  write:/ itab-lifnr, itab-name1, itab-land1, itab-ebeln.
endloop.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Apr 2007 16:50:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/inner-join-prb/m-p/2217256#M475561</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2007-04-27T16:50:44Z</dc:date>
    </item>
    <item>
      <title>Re: inner join prb</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/inner-join-prb/m-p/2217257#M475562</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;I check your code..It is bringing the Pos for the corresponding input..If it is a display you should WRITE: / instead of WRITE: ..Marked in bold..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TABLES: lfa1, ekko.&lt;/P&gt;&lt;P&gt;SELECT-OPTIONS: vend FOR lfa1-lifnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: BEGIN OF itab OCCURS 0,&lt;/P&gt;&lt;P&gt;lifnr LIKE lfa1-lifnr,&lt;/P&gt;&lt;P&gt;name1 LIKE lfa1-name1,&lt;/P&gt;&lt;P&gt;land1 LIKE lfa1-land1,&lt;/P&gt;&lt;P&gt;ebeln LIKE ekko-ebeln,&lt;/P&gt;&lt;P&gt;END OF itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT lfa1&lt;SUB&gt;lifnr lfa1&lt;/SUB&gt;name1&lt;/P&gt;&lt;P&gt;       lfa1&lt;SUB&gt;land1 ekko&lt;/SUB&gt;ebeln&lt;/P&gt;&lt;P&gt;       INTO TABLE itab&lt;/P&gt;&lt;P&gt;       FROM lfa1 INNER JOIN ekko ON lfa1&lt;SUB&gt;lifnr = ekko&lt;/SUB&gt;lifnr&lt;/P&gt;&lt;P&gt;       WHERE lfa1~lifnr IN vend.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT itab.&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;  WRITE:/ itab.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Naren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Apr 2007 16:52:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/inner-join-prb/m-p/2217257#M475562</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-27T16:52:02Z</dc:date>
    </item>
    <item>
      <title>Re: inner join prb</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/inner-join-prb/m-p/2217258#M475563</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;   thank you,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;         but still it is not working , when i pass the values in selection screen  and execute.&lt;/P&gt;&lt;P&gt;          it is just stoping there it self.&lt;/P&gt;&lt;P&gt;    ( mine is IDES SYSTEM , can that be the reason)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Apr 2007 16:57:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/inner-join-prb/m-p/2217258#M475563</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-27T16:57:17Z</dc:date>
    </item>
    <item>
      <title>Re: inner join prb</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/inner-join-prb/m-p/2217259#M475564</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, then I would say that you do not have any POs in that system for the particular vendor numbers that you may be entering into the selection-screen.  You can create some POs via ME21N(of course the master data must all be there as well)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Apr 2007 16:59:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/inner-join-prb/m-p/2217259#M475564</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2007-04-27T16:59:22Z</dc:date>
    </item>
    <item>
      <title>Re: inner join prb</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/inner-join-prb/m-p/2217260#M475565</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;Are there any entries in the LFA1 or EKKO tables? Check it out in SE16 transaction.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Tamá&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Apr 2007 17:01:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/inner-join-prb/m-p/2217260#M475565</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-27T17:01:48Z</dc:date>
    </item>
  </channel>
</rss>

