<?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: For all entries Problem in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/for-all-entries-problem/m-p/4059341#M970342</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check if U have all the key fields in where condition ..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 07 Jul 2008 14:09:25 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-07-07T14:09:25Z</dc:date>
    <item>
      <title>For all entries Problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/for-all-entries-problem/m-p/4059340#M970341</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 use for all entries and i have problem.&lt;/P&gt;&lt;P&gt;i do this select for 50 cost centers and &lt;/P&gt;&lt;P&gt;when i use for all entries commend i get in act 3 wrong fields(i check in se11 for all cost centers in let table )&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;But when i use Range table&lt;/STRONG&gt; for this 50 CC  i get it O.K. &lt;/P&gt;&lt;P&gt;what it can be ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CLEAR : act.REFRESH: act.
        SELECT (sel)
        FROM /bic/0cz 
        INTO  TABLE act
        FOR ALL ENTRIES IN let
         WHERE dim0costcenter =  let-dim0costcenter
        AND dim0calquarter = year_q.


             CLEAR : act.REFRESH: act.
        SELECT (sel)
        FROM /bic/0cz 
        INTO  TABLE act
        WHERE dim0costcenter IN ty_range
        AND dim0calquarter = year_q.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Jul 2008 14:06:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/for-all-entries-problem/m-p/4059340#M970341</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-07T14:06:02Z</dc:date>
    </item>
    <item>
      <title>Re: For all entries Problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/for-all-entries-problem/m-p/4059341#M970342</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check if U have all the key fields in where condition ..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Jul 2008 14:09:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/for-all-entries-problem/m-p/4059341#M970342</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-07T14:09:25Z</dc:date>
    </item>
    <item>
      <title>Re: For all entries Problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/for-all-entries-problem/m-p/4059342#M970343</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 don't understand    :key field of what?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    FOR ALL ENTRIES IN let&lt;/P&gt;&lt;P&gt;    WHERE dim0costcenter =  &lt;STRONG&gt;let-dim0costcenter&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Jul 2008 14:10:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/for-all-entries-problem/m-p/4059342#M970343</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-07T14:10:57Z</dc:date>
    </item>
    <item>
      <title>Re: For all entries Problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/for-all-entries-problem/m-p/4059343#M970344</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi friends ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any idea?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Jul 2008 14:27:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/for-all-entries-problem/m-p/4059343#M970344</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-07T14:27:12Z</dc:date>
    </item>
    <item>
      <title>Re: For all entries Problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/for-all-entries-problem/m-p/4059344#M970345</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Two reasons.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First thing r u checking below condition.&lt;/P&gt;&lt;P&gt;CHECK NOT let[] IS INITIAL.  "If not it will selet all the records if let[] is initial.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; SELECT (sel)&lt;/P&gt;&lt;P&gt;        FROM /bic/0cz &lt;/P&gt;&lt;P&gt;        INTO  TABLE act&lt;/P&gt;&lt;P&gt;        FOR ALL ENTRIES IN let&lt;/P&gt;&lt;P&gt;         WHERE dim0costcenter =  let-dim0costcenter&lt;/P&gt;&lt;P&gt;        AND dim0calquarter = year_q.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Second This select will automatically deletes duplicate records based on &lt;STRONG&gt;let-dim0costcenter&lt;/STRONG&gt;. This is property of FOR ALL ENTRIES and we can't change it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check these things and get back.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Vinod&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Vinod Reddy Vemuru on Jul 7, 2008 8:24 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Jul 2008 14:51:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/for-all-entries-problem/m-p/4059344#M970345</guid>
      <dc:creator>vinod_vemuru2</dc:creator>
      <dc:date>2008-07-07T14:51:40Z</dc:date>
    </item>
    <item>
      <title>Re: For all entries Problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/for-all-entries-problem/m-p/4059345#M970346</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vinod,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i do that, the table let is with 50 CC and i remove duplicates .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i do it in BI7 system maybe this is the problem ,i use for all entries many times but i never face this problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Jul 2008 15:01:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/for-all-entries-problem/m-p/4059345#M970346</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-07T15:01:48Z</dc:date>
    </item>
    <item>
      <title>Re: For all entries Problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/for-all-entries-problem/m-p/4059346#M970347</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ricardo,&lt;/P&gt;&lt;P&gt;I was talking about Duplicates deletion in driven table(i.e the table from where u r selecting data).When we use For all entries this select will automatically deletes duplicates based on the driver table keys in where clause(One field in ur case).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;eg: for the key mentioned in where clause(Consider only driver table fields in where clause) if u have 2 entries u will get only one entry in to internal table. that is what i am trying to say.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Driver table duplicates deletion is just to gain performance. Nothing else.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it is clear.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Vinod.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jul 2008 04:37:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/for-all-entries-problem/m-p/4059346#M970347</guid>
      <dc:creator>vinod_vemuru2</dc:creator>
      <dc:date>2008-07-08T04:37:20Z</dc:date>
    </item>
    <item>
      <title>Re: For all entries Problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/for-all-entries-problem/m-p/4059347#M970348</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;whenever if ur using fro all entries in your program u have to use key fields in where condition. and&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if not 1sttable[] is intial.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jul 2008 04:47:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/for-all-entries-problem/m-p/4059347#M970348</guid>
      <dc:creator>venkatasriram_mygapula</dc:creator>
      <dc:date>2008-07-08T04:47:27Z</dc:date>
    </item>
  </channel>
</rss>

