<?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: help me in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-me/m-p/2528916#M573225</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try to avoid INTO Corresponding fields. It will still improve the performance.&lt;/P&gt;&lt;P&gt;In this process make sure you follow the order of fields in the select query according to the order of fields in the table only.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Gopi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 18 Jul 2007 07:14:50 GMT</pubDate>
    <dc:creator>gopi_narendra</dc:creator>
    <dc:date>2007-07-18T07:14:50Z</dc:date>
    <item>
      <title>help me</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-me/m-p/2528911#M573220</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi.&lt;/P&gt;&lt;P&gt;am joining 2 tables to get the data its working good only thing is that its taking long time to execute , please tell me how  reduce execution time .Please give me a code.&lt;/P&gt;&lt;P&gt;SELECT F&lt;SUB&gt;SLNO F&lt;/SUB&gt;CUST F&lt;SUB&gt;WERKS F&lt;/SUB&gt;MATNR F&lt;SUB&gt;PURNO F&lt;/SUB&gt;PODATE F&lt;SUB&gt;BILL F&lt;/SUB&gt;PRICE&lt;/P&gt;&lt;P&gt;F&lt;SUB&gt;MEINS F&lt;/SUB&gt;QTY1 F&lt;SUB&gt;QTY2 F&lt;/SUB&gt;QTY3   P&lt;SUB&gt;NAME1 P&lt;/SUB&gt;ORT01 INTO (it_zporder-SLNO,&lt;/P&gt;&lt;P&gt;it_zporder-CUST, it_zporder-WERKS, it_zporder-MATNR, it_zporder-PURNO,&lt;/P&gt;&lt;P&gt;it_zporder-PODATE, it_zporder-BILL, it_zporder-PRICE, it_zporder-MEINS,&lt;/P&gt;&lt;P&gt;it_zporder-QTY1, it_zporder-QTY2, it_zporder-QTY3, it_zporder-NAME1,&lt;/P&gt;&lt;P&gt;it_zporder-ORT01) from zporder as f inner join kna1 as p on f~cust =&lt;/P&gt;&lt;P&gt;p&lt;SUB&gt;kunnr WHERE f&lt;/SUB&gt;matnr IN s_matnr AND  f~werks IN s_plant AND&lt;/P&gt;&lt;P&gt;                                                   f~cust IN s_cust AND&lt;/P&gt;&lt;P&gt;                                                  f~slno IN s_slno AND&lt;/P&gt;&lt;P&gt;                                                   f~price IN s_date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; append it_zporder.&lt;/P&gt;&lt;P&gt;ENDSELECT.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jul 2007 05:57:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-me/m-p/2528911#M573220</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-18T05:57:00Z</dc:date>
    </item>
    <item>
      <title>Re: help me</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-me/m-p/2528912#M573221</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Prajwal,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You shud use two select stmt on both the table. when you can the data in two internal table. you can join them on the basis of kunnr and cust.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it will definately be fast then your join condition.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ne query ping me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Azad.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jul 2007 06:01:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-me/m-p/2528912#M573221</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-18T06:01:14Z</dc:date>
    </item>
    <item>
      <title>Re: help me</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-me/m-p/2528913#M573222</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Its always not suggested to use select and endselect.&lt;/P&gt;&lt;P&gt;To avoid this use the select &amp;lt;&amp;gt; into table it_tab format&lt;/P&gt;&lt;P&gt;for getting the records into table it_zporder in your case&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;SELECT F~SLNO F~CUST F~WERKS F~MATNR F~PURNO 
                       F~PODATE F~BILL F~PRICE F~MEINS F~QTY1 
                       F~QTY2 F~QTY3 P~NAME1 P~ORT01 
INTO corresponding fields of table it_zporder
from zporder as f inner join kna1 as p 
on f~cust = p~kunnr 
WHERE f~matnr IN s_matnr AND f~werks IN s_plant AND
             f~cust IN s_cust AND
             f~slno IN s_slno AND
             f~price IN s_date.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Gopi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jul 2007 06:02:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-me/m-p/2528913#M573222</guid>
      <dc:creator>gopi_narendra</dc:creator>
      <dc:date>2007-07-18T06:02:20Z</dc:date>
    </item>
    <item>
      <title>Re: help me</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-me/m-p/2528914#M573223</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;data:&lt;/P&gt;&lt;P&gt;begin of fs_zporder,&lt;/P&gt;&lt;P&gt;SLNO like zporder-SLNO,&lt;/P&gt;&lt;P&gt;CUST like zporder-CUST, &lt;/P&gt;&lt;P&gt;WERKS like zporder-WERKS, &lt;/P&gt;&lt;P&gt;MATNR like zporder-MATNR, &lt;/P&gt;&lt;P&gt;PURNO like zporder-PURNO,&lt;/P&gt;&lt;P&gt;PODATE like zporder-PODATE, &lt;/P&gt;&lt;P&gt;BILL like zporder-BILL, &lt;/P&gt;&lt;P&gt;PRICE like zporder-PRICE, &lt;/P&gt;&lt;P&gt;MEINS like zporder-MEINS,&lt;/P&gt;&lt;P&gt;QTY1 like zporder-QTY1, &lt;/P&gt;&lt;P&gt;QTY2 like zporder-QTY2, &lt;/P&gt;&lt;P&gt;QTY3 like zporder-QTY3, &lt;/P&gt;&lt;P&gt;NAME1 like zporder-NAME1,&lt;/P&gt;&lt;P&gt;ORT01 like zporder-ORT01,&lt;/P&gt;&lt;P&gt;end of fs_zporder.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: t_zporder like standard table of fs_zporder.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT F&lt;SUB&gt;SLNO F&lt;/SUB&gt;CUST F&lt;SUB&gt;WERKS F&lt;/SUB&gt;MATNR F&lt;SUB&gt;PURNO F&lt;/SUB&gt;PODATE F&lt;SUB&gt;BILL F&lt;/SUB&gt;PRICE&lt;/P&gt;&lt;P&gt;F&lt;SUB&gt;MEINS F&lt;/SUB&gt;QTY1 F&lt;SUB&gt;QTY2 F&lt;/SUB&gt;QTY3 P&lt;SUB&gt;NAME1 P&lt;/SUB&gt;ORT01 INTO table t_zporder from zporder as f inner join kna1 as p on f~cust =&lt;/P&gt;&lt;P&gt;p&lt;SUB&gt;kunnr WHERE f&lt;/SUB&gt;matnr IN s_matnr AND f~werks IN s_plant AND&lt;/P&gt;&lt;P&gt;f~cust IN s_cust AND&lt;/P&gt;&lt;P&gt;f~slno IN s_slno AND&lt;/P&gt;&lt;P&gt;f~price IN s_date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Change the necessary modifications.&lt;/P&gt;&lt;P&gt;Avoid using ENDSELECT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Pavan P.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jul 2007 06:08:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-me/m-p/2528914#M573223</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-18T06:08:25Z</dc:date>
    </item>
    <item>
      <title>Re: help me</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-me/m-p/2528915#M573224</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks a lot.&lt;/P&gt;&lt;P&gt;but still its taking nearly a mint&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jul 2007 06:14:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-me/m-p/2528915#M573224</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-18T06:14:15Z</dc:date>
    </item>
    <item>
      <title>Re: help me</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-me/m-p/2528916#M573225</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try to avoid INTO Corresponding fields. It will still improve the performance.&lt;/P&gt;&lt;P&gt;In this process make sure you follow the order of fields in the select query according to the order of fields in the table only.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Gopi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jul 2007 07:14:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-me/m-p/2528916#M573225</guid>
      <dc:creator>gopi_narendra</dc:creator>
      <dc:date>2007-07-18T07:14:50Z</dc:date>
    </item>
  </channel>
</rss>

