<?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: plz chk the code in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/plz-chk-the-code/m-p/1777392#M335260</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i m not able to understand what is  this..&lt;/P&gt;&lt;P&gt;can u just  clear ur requirment littlebit.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 03 Jan 2007 09:58:37 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-01-03T09:58:37Z</dc:date>
    <item>
      <title>plz chk the code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/plz-chk-the-code/m-p/1777390#M335258</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 help me..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT vbeln                                "order number&lt;/P&gt;&lt;P&gt;      FROM vbuk&lt;/P&gt;&lt;P&gt;      INTO TABLE lt_order&lt;/P&gt;&lt;P&gt;       FOR ALL ENTRIES IN lt_ztsd2marc&lt;/P&gt;&lt;P&gt;     WHERE vbeln NE lt_ztsd2marc-ordnr&lt;/P&gt;&lt;P&gt;       AND gbstk EQ  'A'.&lt;/P&gt;&lt;P&gt;    IF sy-subrc NE 0.&lt;/P&gt;&lt;P&gt;      MESSAGE i227(z2).&lt;/P&gt;&lt;P&gt;      LEAVE LIST-PROCESSING.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NE is not workin its takin the values from ztsd2marc table also.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Jan 2007 09:48:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/plz-chk-the-code/m-p/1777390#M335258</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-03T09:48:43Z</dc:date>
    </item>
    <item>
      <title>Re: plz chk the code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/plz-chk-the-code/m-p/1777391#M335259</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;see this code ,its working on my custom tables ..copy this and change ur table names accordingly -&lt;/P&gt;&lt;P&gt;reward if helpfull.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data begin of itab occurs 0.&lt;/P&gt;&lt;P&gt; include structure zgill_main.&lt;/P&gt;&lt;P&gt;data end of itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; data begin of itab1 occurs 0.&lt;/P&gt;&lt;P&gt; include structure zgill_details.&lt;/P&gt;&lt;P&gt;data end of itab1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select * from zgill_main into table itab where pernr = '11111111'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if not itab[] is initial.&lt;/P&gt;&lt;P&gt;select * from zgill_details into table itab1 for all entries in itab&lt;/P&gt;&lt;P&gt;       where pernr ne  itab-pernr.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;loop at itab1.&lt;/P&gt;&lt;P&gt;write:/ itab1-pernr.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Amit Tyagi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Amit Tyagi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Jan 2007 09:55:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/plz-chk-the-code/m-p/1777391#M335259</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-03T09:55:26Z</dc:date>
    </item>
    <item>
      <title>Re: plz chk the code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/plz-chk-the-code/m-p/1777392#M335260</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i m not able to understand what is  this..&lt;/P&gt;&lt;P&gt;can u just  clear ur requirment littlebit.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Jan 2007 09:58:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/plz-chk-the-code/m-p/1777392#M335260</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-03T09:58:37Z</dc:date>
    </item>
    <item>
      <title>Re: plz chk the code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/plz-chk-the-code/m-p/1777393#M335261</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;did u placed&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;if not it_ztsd2marc[] is initial&amp;lt;/b&amp;gt; before select statement. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward if helpful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Jan 2007 10:01:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/plz-chk-the-code/m-p/1777393#M335261</guid>
      <dc:creator>SantoshKallem</dc:creator>
      <dc:date>2007-01-03T10:01:45Z</dc:date>
    </item>
    <item>
      <title>Re: plz chk the code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/plz-chk-the-code/m-p/1777394#M335262</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Neha,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Whenever u r using for all entries then u need check the body of the itab using for all entries. &lt;/P&gt;&lt;P&gt;Use IF not lt_ztsd2marc[] is intiial.&lt;/P&gt;&lt;P&gt;SELECT vbeln "order number&lt;/P&gt;&lt;P&gt;FROM vbuk&lt;/P&gt;&lt;P&gt;INTO TABLE lt_order&lt;/P&gt;&lt;P&gt;FOR ALL ENTRIES IN lt_ztsd2marc&lt;/P&gt;&lt;P&gt;WHERE vbeln NE lt_ztsd2marc-ordnr&lt;/P&gt;&lt;P&gt;AND gbstk EQ 'A'.&lt;/P&gt;&lt;P&gt;IF sy-subrc NE 0.&lt;/P&gt;&lt;P&gt;MESSAGE i227(z2).&lt;/P&gt;&lt;P&gt;LEAVE LIST-PROCESSING.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If useful reward.&lt;/P&gt;&lt;P&gt;Vasanth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Jan 2007 10:05:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/plz-chk-the-code/m-p/1777394#M335262</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-03T10:05:43Z</dc:date>
    </item>
    <item>
      <title>Re: plz chk the code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/plz-chk-the-code/m-p/1777395#M335263</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Neha,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In connection with SELECT ... FOR ALL ENTRIES the following problems occur:&lt;/P&gt;&lt;P&gt;1)You cannot have an empty internal driver table. If the driver table is empty, selection is not limited. In particular, WHERE clause conditions are not evaluated if they do not refer to the internal driver table. &lt;/P&gt;&lt;P&gt;2)Duplicate table entries should be deleted from the internal table before executing the SELECT... FOR ALL ENTRIES. If they are not deleted, identical data is read unnecessarily from the database.&lt;/P&gt;&lt;P&gt;3)The parameter rsdb/max_blocking_factor must be implemented according to SAP's database-specific recommendations.&lt;/P&gt;&lt;P&gt;4)The SELECT ... SELECT FOR ALL ENTRIES addition ensures that SQL statements are divided into several SELECT statements by the database interface. The individual SELECT statements are processed on the database and the results are buffered in the database interface. The database interface eliminates duplicate data records from the results set and transfers the results set to the ABAP program. &lt;/P&gt;&lt;P&gt;5)Each SELECT statement processed on the database is executed as a concatenation of individual accesses (for example, index range scans or index unique scans). Concatenation is performed over the entries in the internal driver table. Since the SELECT ... FOR ALL ENTRIES may be very complex, it should not be combined with RANGES tables.&lt;/P&gt;&lt;P&gt;6)The implementation of the WHERE clause for individual SELECT statements depends on the database and is realized by the database interface. &lt;/P&gt;&lt;P&gt;7)The profile parameter rsdb/max_blocking_factor controls the maximum number of individual WHERE conditions that can be concatenated. SAP pre-configures this parameter according to the database. For Oracle the setting is 15.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Balaji Reddy G &lt;/P&gt;&lt;P&gt;**Rewards if answers are helpful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jan 2007 03:04:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/plz-chk-the-code/m-p/1777395#M335263</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-04T03:04:04Z</dc:date>
    </item>
  </channel>
</rss>

