<?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 to check this code ! in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-me-to-check-this-code/m-p/3353223#M804407</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;  If you are using internal table columns in where class of a select stmt then we should use FOR ALL ENTRIES IN i_tab addition for that select stmt. or we can use the select in the loop itself, but which is not suggested by sap.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds,&lt;/P&gt;&lt;P&gt;Bujji&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 23 Jan 2008 15:07:40 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-01-23T15:07:40Z</dc:date>
    <item>
      <title>help me to check this code !</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-me-to-check-this-code/m-p/3353221#M804405</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am fetching data from table tvkggt and putting in internal table&lt;/P&gt;&lt;P&gt;t_tvkggt.&lt;/P&gt;&lt;P&gt;itab is my internal table which contains  the field kdkg1 with whic i am comparing kdkgr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; my code is given below&lt;/P&gt;&lt;P&gt;....&lt;/P&gt;&lt;P&gt;....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;READ TABLE t_vbkd&lt;/P&gt;&lt;P&gt;WITH KEY vbeln = t_vbak-vbeln&lt;/P&gt;&lt;P&gt;                 posnr = t_vbak-posnr&lt;/P&gt;&lt;P&gt; BINARY SEARCH.&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;P&gt;SELECT VTEXT FROM TVKGGT&lt;/P&gt;&lt;P&gt;    INTO CORRESPONDING FIELDS OF TABLE t_tvkggt&lt;/P&gt;&lt;P&gt;    WHERE KDKGR =  I_TAB-kdkg1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    read table ttvkggt with key kdkgr = ttvkggt-kdkgr binary search.&lt;/P&gt;&lt;P&gt;    I_TAB-vtext2 =  ttvkggt-vtext.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and finally  i am printing the  value of  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;write  &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt; i_tab-vtext2&lt;/P&gt;&lt;P&gt;           i_tab-kdkg1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but in the output  if there is any value for kdkg1 then i am getting corresponding value of vtext2  and also for which doesnt have value in the i_tab-kakg1....means  if i_tab-kdkg1 is blank  then also i_tab-vtext2   value is comming&lt;/P&gt;&lt;P&gt;why so?&lt;/P&gt;&lt;P&gt;what is the way out?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jan 2008 14:50:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-me-to-check-this-code/m-p/3353221#M804405</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-23T14:50:19Z</dc:date>
    </item>
    <item>
      <title>Re: help me to check this code !</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-me-to-check-this-code/m-p/3353222#M804406</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;clear ttvkggt&lt;/P&gt;&lt;P&gt;read table ttvkggt with key kdkgr = ttvkggt-kdkgr binary search.&lt;/P&gt;&lt;P&gt;I_TAB-vtext2 = ttvkggt-vtext.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;write &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt; i_tab-vtext2&lt;/P&gt;&lt;P&gt;i_tab-kdkg1.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jan 2008 15:03:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-me-to-check-this-code/m-p/3353222#M804406</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-23T15:03:57Z</dc:date>
    </item>
    <item>
      <title>Re: help me to check this code !</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-me-to-check-this-code/m-p/3353223#M804407</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;  If you are using internal table columns in where class of a select stmt then we should use FOR ALL ENTRIES IN i_tab addition for that select stmt. or we can use the select in the loop itself, but which is not suggested by sap.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds,&lt;/P&gt;&lt;P&gt;Bujji&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jan 2008 15:07:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-me-to-check-this-code/m-p/3353223#M804407</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-23T15:07:40Z</dc:date>
    </item>
  </channel>
</rss>

