<?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: Select statement in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement/m-p/2732428#M634510</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 this logic does not work then you should check with the data in KNVV.. i dont see any other reason apart from this for data not being selected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Debug the application and get some cust id's and open the table KNVV in se16 and see if you havve values or not..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;mahesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 07 Sep 2007 18:44:46 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-09-07T18:44:46Z</dc:date>
    <item>
      <title>Select statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement/m-p/2732424#M634506</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi gurus, &lt;/P&gt;&lt;P&gt;I have a condition where I need to select vkbur, vkgrp, kunnr abd bzirk from knvv for all entries in one of my internal table it_tab01. Now although I have an customer id that is there in both knvv and my internal table it_tab01 but then also nothing is getting copied into it_sales. can you just tell me whats going wrong.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select vkgrp vkbur bzirk kunnr into table it_sales&lt;/P&gt;&lt;P&gt;    from knvv&lt;/P&gt;&lt;P&gt;      for all entries in it_tab01&lt;/P&gt;&lt;P&gt;    where kunnr = it_tab01-custid.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Rajeev Gupta&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Sep 2007 18:29:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement/m-p/2732424#M634506</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-07T18:29:58Z</dc:date>
    </item>
    <item>
      <title>Re: Select statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement/m-p/2732425#M634507</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; The reason could be that the customer id in the it_tab01 is not of the same format as in KNVV...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  if that is the case just try using this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  loop aa it_tab01.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; call function 'CONVERSION_EXIT_ALPHA_INPUT'&lt;/P&gt;&lt;P&gt; EXPORTING&lt;/P&gt;&lt;P&gt;  INPUT = IT_TAB01-CUSTID&lt;/P&gt;&lt;P&gt; IMPORTING&lt;/P&gt;&lt;P&gt;  OUTPUT = IT_TAB01-CUSTID.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  select single vkgrp vkbur bzirk kunnr into  it_sales&lt;/P&gt;&lt;P&gt;from knvv&lt;/P&gt;&lt;P&gt;where kunnr = it_tab01-custid.&lt;/P&gt;&lt;P&gt;  IF SY-SUBRC EQ 0.&lt;/P&gt;&lt;P&gt;  APPEND IT_SALES.&lt;/P&gt;&lt;P&gt;  endloop.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Sep 2007 18:33:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement/m-p/2732425#M634507</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-07T18:33:34Z</dc:date>
    </item>
    <item>
      <title>Re: Select statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement/m-p/2732426#M634508</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I believe Mahesh is correct that the format of the data might not match.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I had the same problem in a program yesterday, and I resolved the problem in the manner he describes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good luck&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Brian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Sep 2007 18:42:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement/m-p/2732426#M634508</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-07T18:42:23Z</dc:date>
    </item>
    <item>
      <title>Re: Select statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement/m-p/2732427#M634509</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks for the reply Mahesh, but that is not the case, I tried doing what you told me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;rajeev Gupta&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Sep 2007 18:42:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement/m-p/2732427#M634509</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-07T18:42:28Z</dc:date>
    </item>
    <item>
      <title>Re: Select statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement/m-p/2732428#M634510</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 this logic does not work then you should check with the data in KNVV.. i dont see any other reason apart from this for data not being selected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Debug the application and get some cust id's and open the table KNVV in se16 and see if you havve values or not..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;mahesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Sep 2007 18:44:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement/m-p/2732428#M634510</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-07T18:44:46Z</dc:date>
    </item>
    <item>
      <title>Re: Select statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement/m-p/2732429#M634511</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How is it_tab01 declared?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Sep 2007 18:45:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement/m-p/2732429#M634511</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-07T18:45:09Z</dc:date>
    </item>
    <item>
      <title>Re: Select statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement/m-p/2732430#M634512</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you run the program in debug and verified the contents of the internal table?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Brian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Sep 2007 18:45:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement/m-p/2732430#M634512</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-07T18:45:15Z</dc:date>
    </item>
  </channel>
</rss>

