<?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: Regarding ECC 6.0 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-ecc-6-0/m-p/2427540#M542412</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;well even in SAP documentation it says that joins over more than 3 tables are tending to be NOT performant.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so why dop you wonder that a JOIN like that with 5 tables runs into a timeout.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 02 Jul 2007 14:01:48 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-07-02T14:01:48Z</dc:date>
    <item>
      <title>Regarding ECC 6.0</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-ecc-6-0/m-p/2427539#M542411</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt; Program is exeuting syntatically fine, but, when executing its show, time exceed error in ECC 6.0 , initially it is developed in 4.6c. Please, can any one suggest this same code to incorporate in Forall entries.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  SELECT a&lt;SUB&gt;bukrs a&lt;/SUB&gt;ebeln b&lt;SUB&gt;ebelp a&lt;/SUB&gt;aedat a&lt;SUB&gt;lifnr a&lt;/SUB&gt;ernam&lt;/P&gt;&lt;P&gt;         b&lt;SUB&gt;knttp b&lt;/SUB&gt;bednr b~banfn&lt;/P&gt;&lt;P&gt;         c&lt;SUB&gt;belnr c&lt;/SUB&gt;wrbtr c&lt;SUB&gt;gjahr c&lt;/SUB&gt;shkzg c&lt;SUB&gt;lfbnr c&lt;/SUB&gt;lfgja&lt;/P&gt;&lt;P&gt;         d&lt;SUB&gt;bldat d&lt;/SUB&gt;budat d~kursf&lt;/P&gt;&lt;P&gt;         e~dir_indir&lt;/P&gt;&lt;P&gt;  INTO CORRESPONDING FIELDS OF TABLE it_output&lt;/P&gt;&lt;P&gt;  FROM ekko AS a&lt;/P&gt;&lt;P&gt;  JOIN ekpo AS b ON b&lt;SUB&gt;ebeln = a&lt;/SUB&gt;ebeln&lt;/P&gt;&lt;P&gt;  JOIN rseg AS c ON c&lt;SUB&gt;ebeln = b&lt;/SUB&gt;ebeln&lt;/P&gt;&lt;P&gt;                AND c&lt;SUB&gt;ebelp = b&lt;/SUB&gt;ebelp&lt;/P&gt;&lt;P&gt;                AND c&lt;SUB&gt;bukrs = a&lt;/SUB&gt;bukrs&lt;/P&gt;&lt;P&gt;  JOIN rbkp AS d ON d&lt;SUB&gt;belnr = c&lt;/SUB&gt;belnr&lt;/P&gt;&lt;P&gt;                AND d&lt;SUB&gt;gjahr = c&lt;/SUB&gt;gjahr&lt;/P&gt;&lt;P&gt;  LEFT JOIN zpo_dirindir AS e ON e&lt;SUB&gt;knttp = b&lt;/SUB&gt;knttp&lt;/P&gt;&lt;P&gt;  WHERE a~bukrs = p_bukrs&lt;/P&gt;&lt;P&gt;    AND a~lifnr IN s_vendor&lt;/P&gt;&lt;P&gt;    AND a~ebeln IN s_purcdo&lt;/P&gt;&lt;P&gt;    AND a~bsart IN s_doctyp&lt;/P&gt;&lt;P&gt;    AND a~ekorg IN s_purorg&lt;/P&gt;&lt;P&gt;    AND a~aedat IN s_credat&lt;/P&gt;&lt;P&gt;    AND b~knttp IN s_knttp&lt;/P&gt;&lt;P&gt;    AND b~werks IN s_plant&lt;/P&gt;&lt;P&gt;    AND b~bednr IN s_trcnum.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jul 2007 13:52:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-ecc-6-0/m-p/2427539#M542411</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-02T13:52:45Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding ECC 6.0</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-ecc-6-0/m-p/2427540#M542412</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;well even in SAP documentation it says that joins over more than 3 tables are tending to be NOT performant.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so why dop you wonder that a JOIN like that with 5 tables runs into a timeout.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jul 2007 14:01:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-ecc-6-0/m-p/2427540#M542412</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-02T14:01:48Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding ECC 6.0</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-ecc-6-0/m-p/2427541#M542413</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I can suggest you to create one or two views. This would enhace the performance.&lt;/P&gt;&lt;P&gt;This is what I did also.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Kiran&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jul 2007 14:03:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-ecc-6-0/m-p/2427541#M542413</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-02T14:03:21Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding ECC 6.0</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-ecc-6-0/m-p/2427542#M542414</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi kiran, could u incorporate this code in forall entries.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jul 2007 14:12:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-ecc-6-0/m-p/2427542#M542414</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-02T14:12:52Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding ECC 6.0</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-ecc-6-0/m-p/2427543#M542415</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Venu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let us have different internal tables,&lt;/P&gt;&lt;P&gt;1) T_PURC (with fields BUKRS, EBELN, AEDAT, LIFNR, ERNAM, EBELP, BELNR, BEDNR, BANFN in the same order).&lt;/P&gt;&lt;P&gt;2) T_RSEG (with fields EBELN, EBELP, BUKRS, BELNR, WRBTR, GJAHR, SHKZG, LFBNR, LFGJA).&lt;/P&gt;&lt;P&gt;3) T_RBKP (with fields BELNR, GJAHR, BLDAT, BUDAT, KURSF)&lt;/P&gt;&lt;P&gt;3) T_ZPO_DIRINDIR (with fields KNTTP, DIR_INDIR)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT a&lt;SUB&gt;bukrs a&lt;/SUB&gt;ebeln b&lt;SUB&gt;ebelp a&lt;/SUB&gt;aedat a&lt;SUB&gt;lifnr a&lt;/SUB&gt;ernam&lt;/P&gt;&lt;P&gt;b&lt;SUB&gt;knttp b&lt;/SUB&gt;bednr b~banfn&lt;/P&gt;&lt;P&gt;INTO TABLE T_PURC&lt;/P&gt;&lt;P&gt;FROM ekko AS a&lt;/P&gt;&lt;P&gt;JOIN ekpo AS b ON b&lt;SUB&gt;ebeln = a&lt;/SUB&gt;ebeln&lt;/P&gt;&lt;P&gt;WHERE a~bukrs = p_bukrs&lt;/P&gt;&lt;P&gt;AND a~lifnr IN s_vendor&lt;/P&gt;&lt;P&gt;AND a~ebeln IN s_purcdo&lt;/P&gt;&lt;P&gt;AND a~bsart IN s_doctyp&lt;/P&gt;&lt;P&gt;AND a~ekorg IN s_purorg&lt;/P&gt;&lt;P&gt;AND a~aedat IN s_credat&lt;/P&gt;&lt;P&gt;AND b~knttp IN s_knttp&lt;/P&gt;&lt;P&gt;AND b~werks IN s_plant&lt;/P&gt;&lt;P&gt;AND b~bednr IN s_trcnum. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF NOT T_PURC IS INITIAL.&lt;/P&gt;&lt;P&gt;  SELECT ebeln ebelp bukrs belnr wrbtr gjahr shkzg lfbnr lfgja&lt;/P&gt;&lt;P&gt;      INTO TABLE T_RSEG&lt;/P&gt;&lt;P&gt;      FROM RSEG&lt;/P&gt;&lt;P&gt;      FOR ALL ENTRIES OF T_PURC&lt;/P&gt;&lt;P&gt;      WHERE ebeln in T_PURC-ebeln&lt;/P&gt;&lt;P&gt;           AND ebelp in T_PURC-ebelp&lt;/P&gt;&lt;P&gt;           AND bukrs in T_PURC-bukrs.&lt;/P&gt;&lt;P&gt;   &lt;/P&gt;&lt;P&gt;      IF NOT T_RSEG IS INITIAL.&lt;/P&gt;&lt;P&gt;          SELECT belnr gjahr bldat budat kursf&lt;/P&gt;&lt;P&gt;               INTO TABLE T_RBKP&lt;/P&gt;&lt;P&gt;               FROM RBKP&lt;/P&gt;&lt;P&gt;               FOR ALL ENTRIES OF T_RSEG&lt;/P&gt;&lt;P&gt;               WHERE belnr in T_RSEG-belnr&lt;/P&gt;&lt;P&gt;                    AND gjahr in T_RSEG-gjahr.&lt;/P&gt;&lt;P&gt;       ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    SELECT knttp dir_indir&lt;/P&gt;&lt;P&gt;         INTO TABLE T_ZPO_DIRINDIR &lt;/P&gt;&lt;P&gt;         FROM ZPO_DIRINDIR&lt;/P&gt;&lt;P&gt;         FOR ALL ENTRIES OF T_PURC&lt;/P&gt;&lt;P&gt;         WHERE knttp in T_PURC-knttp.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now if you require you can move all the fields of all these tables by reading them into a single internal table or else you can use them seperately.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Saying thanks in SDN is by awarding points.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;Kiran&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jul 2007 14:45:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-ecc-6-0/m-p/2427543#M542415</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-02T14:45:43Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding ECC 6.0</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-ecc-6-0/m-p/2427544#M542416</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Venu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; there is a small correction needed to be made,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have wrongly typed FOR ALL ENTRIES &amp;lt;b&amp;gt;OF&amp;lt;/b&amp;gt;,&lt;/P&gt;&lt;P&gt;Plz change that to FOR ALL ENTRIES &amp;lt;b&amp;gt;IN&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Plz do not forget to reward with points.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kiran&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jul 2007 14:50:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-ecc-6-0/m-p/2427544#M542416</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-02T14:50:33Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding ECC 6.0</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-ecc-6-0/m-p/2427545#M542417</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi kiran,&lt;/P&gt;&lt;P&gt; i will try to use this logic in my code and will let u know for any clarifications required&lt;/P&gt;&lt;P&gt; regards &lt;/P&gt;&lt;P&gt;venu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jul 2007 14:53:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-ecc-6-0/m-p/2427545#M542417</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-02T14:53:39Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding ECC 6.0</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-ecc-6-0/m-p/2427546#M542418</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi kiran, could u give me ur personal mail id , so that i can approach u clearly about my issue&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Jul 2007 13:29:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-ecc-6-0/m-p/2427546#M542418</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-03T13:29:06Z</dc:date>
    </item>
  </channel>
</rss>

