<?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: classical report in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/classical-report/m-p/2207220#M472342</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;use the inner join statemnet only.its better to use join statement compared to nested selection statements.this is the efficient way in performance wise.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select lfa1&lt;SUB&gt;lifnr ekko&lt;/SUB&gt;ebeln ekpo&lt;SUB&gt;ebelp mara&lt;/SUB&gt;matnr &lt;/P&gt;&lt;P&gt;into corresponding fields of 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;inner join ekpo on ekko&lt;SUB&gt;ebeln = ekpo&lt;/SUB&gt;ebeln&lt;/P&gt;&lt;P&gt;inner join mara on ekpo&lt;SUB&gt;matnr = mara&lt;/SUB&gt;matnr. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rgds,&lt;/P&gt;&lt;P&gt;bharat.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 01 May 2007 06:38:56 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-05-01T06:38:56Z</dc:date>
    <item>
      <title>classical report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/classical-report/m-p/2207218#M472340</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guru's,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here iam trying to write some code for the following requirement,but at select statement i want to use innerjoin how can i? and wat will happen if i'll use this corresponding .is there any chance to write a select statement as nested select if possible how pls help me . full points.urgent &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if usefull full points.to all&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanx regards&lt;/P&gt;&lt;P&gt;lokanadhan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Req: by using classical report&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------" /&gt;&lt;P&gt;vendor from -&lt;/P&gt;&lt;HR originaltext="-------" /&gt;&lt;P&gt; to -&lt;/P&gt;&lt;HR originaltext="--------" /&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;output:-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="--------------------------------" /&gt;&lt;P&gt;vno p.o itemno material&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="--------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="--------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tables : lfa1,ekko,ekpo,mara.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;parameters : vendor like 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;ebeln like ekko-ebeln,&lt;/P&gt;&lt;P&gt;ebelp like ekpo-ebelp,&lt;/P&gt;&lt;P&gt;matnr like mara-matnr,&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 ekko&lt;/SUB&gt;ebeln ekpo&lt;SUB&gt;ebelp mara&lt;/SUB&gt;matnr &lt;/P&gt;&lt;P&gt;into corresponding fields of table itab &lt;/P&gt;&lt;P&gt;from lfa1 join ekko on lfa1&lt;SUB&gt;lifnr = ekko&lt;/SUB&gt;lifnr &lt;/P&gt;&lt;P&gt;join ekpo on ekko&lt;SUB&gt;ebeln = ekpo&lt;/SUB&gt;ebeln&lt;/P&gt;&lt;P&gt;join matnr on ekpo&lt;SUB&gt;matnr = mara&lt;/SUB&gt;matnr. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at itab.&lt;/P&gt;&lt;P&gt;write : / itab-lifnr ,itab-ebeln,itab-ebelp,itab-matnr.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 May 2007 06:33:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/classical-report/m-p/2207218#M472340</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-01T06:33:40Z</dc:date>
    </item>
    <item>
      <title>Re: classical report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/classical-report/m-p/2207219#M472341</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;No need to use the CORRESPONDING FIELDS OF here..&lt;/P&gt;&lt;P&gt;Nested SELECTS and INTO CORRESPONDING FIELDS degrades the performance..&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;just check this..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tables : lfa1,ekko,ekpo,mara.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;parameters : vendor like 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;ebeln like ekko-ebeln,&lt;/P&gt;&lt;P&gt;ebelp like ekpo-ebelp,&lt;/P&gt;&lt;P&gt;matnr like mara-matnr,&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 ekko&lt;/SUB&gt;ebeln ekpo&lt;SUB&gt;ebelp mara&lt;/SUB&gt;matnr&lt;/P&gt;&lt;P&gt;into table itab&lt;/P&gt;&lt;P&gt;from lfa1 &lt;/P&gt;&lt;P&gt;inner join ekko on lfa1&lt;SUB&gt;lifnr = ekko&lt;/SUB&gt;lifnr&lt;/P&gt;&lt;P&gt;inner join ekpo on ekko&lt;SUB&gt;ebeln = ekpo&lt;/SUB&gt;ebeln&lt;/P&gt;&lt;P&gt;inner join mara on ekpo&lt;SUB&gt;matnr = mara&lt;/SUB&gt;matnr&lt;/P&gt;&lt;P&gt;where lfa1~lifnr eq vendor.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at itab.&lt;/P&gt;&lt;P&gt;write : / itab-lifnr ,itab-ebeln,itab-ebelp,itab-matnr.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;sai ramesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 May 2007 06:37:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/classical-report/m-p/2207219#M472341</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-01T06:37:51Z</dc:date>
    </item>
    <item>
      <title>Re: classical report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/classical-report/m-p/2207220#M472342</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;use the inner join statemnet only.its better to use join statement compared to nested selection statements.this is the efficient way in performance wise.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select lfa1&lt;SUB&gt;lifnr ekko&lt;/SUB&gt;ebeln ekpo&lt;SUB&gt;ebelp mara&lt;/SUB&gt;matnr &lt;/P&gt;&lt;P&gt;into corresponding fields of 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;inner join ekpo on ekko&lt;SUB&gt;ebeln = ekpo&lt;/SUB&gt;ebeln&lt;/P&gt;&lt;P&gt;inner join mara on ekpo&lt;SUB&gt;matnr = mara&lt;/SUB&gt;matnr. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rgds,&lt;/P&gt;&lt;P&gt;bharat.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 May 2007 06:38:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/classical-report/m-p/2207220#M472342</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-01T06:38:56Z</dc:date>
    </item>
    <item>
      <title>Re: classical report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/classical-report/m-p/2207221#M472343</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;Just paste this code...&amp;lt;b&amp;gt;which is modified..&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select-options:&lt;/P&gt;&lt;P&gt;  vendor 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;ebeln like ekko-ebeln,&lt;/P&gt;&lt;P&gt;ebelp like ekpo-ebelp,&lt;/P&gt;&lt;P&gt;matnr like mara-matnr,&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 ekko&lt;/SUB&gt;ebeln ekpo&lt;SUB&gt;ebelp mara&lt;/SUB&gt;matnr&lt;/P&gt;&lt;P&gt;into corresponding fields of table itab&lt;/P&gt;&lt;P&gt;from lfa1 join ekko&lt;/P&gt;&lt;P&gt;  on lfa1&lt;SUB&gt;lifnr = ekko&lt;/SUB&gt;lifnr&lt;/P&gt;&lt;P&gt;join ekpo&lt;/P&gt;&lt;P&gt;  on ekko&lt;SUB&gt;ebeln = ekpo&lt;/SUB&gt;ebeln&lt;/P&gt;&lt;P&gt;join mara&lt;/P&gt;&lt;P&gt;  on ekpo&lt;SUB&gt;matnr = mara&lt;/SUB&gt;matnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at itab.&lt;/P&gt;&lt;P&gt;write : / itab-lifnr ,itab-ebeln,itab-ebelp,itab-matnr.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 May 2007 06:40:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/classical-report/m-p/2207221#M472343</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-01T06:40:48Z</dc:date>
    </item>
    <item>
      <title>Re: classical report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/classical-report/m-p/2207222#M472344</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;join mara &amp;lt;i&amp;gt;(mistake  matnr&amp;lt;/i&amp;gt;) on ekpo&lt;SUB&gt;matnr = mara&lt;/SUB&gt;matnr.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 May 2007 06:41:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/classical-report/m-p/2207222#M472344</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-01T06:41:18Z</dc:date>
    </item>
    <item>
      <title>Re: classical report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/classical-report/m-p/2207223#M472345</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi ramesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; for the same code i need an nested select statement.how can i write tht...,is there any chance to go with for all entries.if possible how?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanx&lt;/P&gt;&lt;P&gt;yogi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 May 2007 06:42:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/classical-report/m-p/2207223#M472345</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-01T06:42:29Z</dc:date>
    </item>
    <item>
      <title>Re: classical report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/classical-report/m-p/2207224#M472346</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi ramesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  is there any difference b/w inner join and join.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanx&lt;/P&gt;&lt;P&gt;yogi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 May 2007 06:45:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/classical-report/m-p/2207224#M472346</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-01T06:45:01Z</dc:date>
    </item>
  </channel>
</rss>

