<?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 query not selecting values into table in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-query-not-selecting-values-into-table/m-p/8757067#M1675976</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi , &lt;/P&gt;&lt;P&gt; The query looks correct, so please check the following &lt;/P&gt;&lt;P&gt;1. Does the value that exists in internal table git_qmnum exist in the db table .&lt;/P&gt;&lt;P&gt;2. Data type of the field qmnum in the internal table and the value in the field must have preceding '0' where ever needed . Please see some entry in table QMEL for example.&lt;/P&gt;&lt;P&gt;I think in your scenario case 2 must be more relevant. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Arun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 11 Apr 2012 08:27:27 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2012-04-11T08:27:27Z</dc:date>
    <item>
      <title>select query not selecting values into table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-query-not-selecting-values-into-table/m-p/8757064#M1675973</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;i want the AUFNR to be extracted from QMEL for a QMNUM, i used the below statement, but it is showing sy-subrc = 4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF git_qmnum[] IS NOT INITIAL.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; SELECT qmnum&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; aufnr&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FROM qmel&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; INTO TABLE git_qmel&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FOR ALL ENTRIES IN git_qmnum&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; WHERE qmnum EQ git_qmnum-qmnum.&lt;/P&gt;&lt;P&gt;&amp;nbsp; ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please help&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;sama&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG style="font-family: 'book antiqua', palatino;"&gt;Moderator message : Not enough re-search before posting, discussion&amp;nbsp; locked.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Vinod Kumar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Apr 2012 08:20:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-query-not-selecting-values-into-table/m-p/8757064#M1675973</guid>
      <dc:creator>dayakar_sama</dc:creator>
      <dc:date>2012-04-11T08:20:06Z</dc:date>
    </item>
    <item>
      <title>Re: select query not selecting values into table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-query-not-selecting-values-into-table/m-p/8757065#M1675974</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hope your table &lt;SPAN style="color: #333333; font-size: 12px; background-color: #ffffff;"&gt;git_qmel&lt;/SPAN&gt; declaration is correct with qmnum and aufnr fields. &lt;/P&gt;&lt;P&gt;Then, check in debug mode what values are coming into for all entries table and copy one of then from debugging screen and check in SE11 if we have data for it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Naveen.I&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Apr 2012 08:23:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-query-not-selecting-values-into-table/m-p/8757065#M1675974</guid>
      <dc:creator>naveen_inuganti2</dc:creator>
      <dc:date>2012-04-11T08:23:30Z</dc:date>
    </item>
    <item>
      <title>Re: select query not selecting values into table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-query-not-selecting-values-into-table/m-p/8757066#M1675975</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Share your SQL Statement to fill git_qmnum&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Apr 2012 08:25:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-query-not-selecting-values-into-table/m-p/8757066#M1675975</guid>
      <dc:creator>Kanagaraja_L</dc:creator>
      <dc:date>2012-04-11T08:25:49Z</dc:date>
    </item>
    <item>
      <title>Re: select query not selecting values into table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-query-not-selecting-values-into-table/m-p/8757067#M1675976</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi , &lt;/P&gt;&lt;P&gt; The query looks correct, so please check the following &lt;/P&gt;&lt;P&gt;1. Does the value that exists in internal table git_qmnum exist in the db table .&lt;/P&gt;&lt;P&gt;2. Data type of the field qmnum in the internal table and the value in the field must have preceding '0' where ever needed . Please see some entry in table QMEL for example.&lt;/P&gt;&lt;P&gt;I think in your scenario case 2 must be more relevant. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Arun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Apr 2012 08:27:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-query-not-selecting-values-into-table/m-p/8757067#M1675976</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-04-11T08:27:27Z</dc:date>
    </item>
    <item>
      <title>Re: select query not selecting values into table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-query-not-selecting-values-into-table/m-p/8757068#M1675977</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Check if the data is there or not in the table... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Nagaraj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Apr 2012 08:28:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-query-not-selecting-values-into-table/m-p/8757068#M1675977</guid>
      <dc:creator>former_member404244</dc:creator>
      <dc:date>2012-04-11T08:28:46Z</dc:date>
    </item>
    <item>
      <title>Re: select query not selecting values into table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-query-not-selecting-values-into-table/m-p/8757069#M1675978</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;git_qmnum is having the value of qmnum. i checked it, and i also used the conversion_exit_alpha_input for aufnr to get the preceeding 0's.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Apr 2012 08:37:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-query-not-selecting-values-into-table/m-p/8757069#M1675978</guid>
      <dc:creator>dayakar_sama</dc:creator>
      <dc:date>2012-04-11T08:37:38Z</dc:date>
    </item>
    <item>
      <title>Re: select query not selecting values into table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-query-not-selecting-values-into-table/m-p/8757070#M1675979</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;qit_qmnum is not intiail&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Apr 2012 08:38:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-query-not-selecting-values-into-table/m-p/8757070#M1675979</guid>
      <dc:creator>dayakar_sama</dc:creator>
      <dc:date>2012-04-11T08:38:51Z</dc:date>
    </item>
    <item>
      <title>Re: select query not selecting values into table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-query-not-selecting-values-into-table/m-p/8757071#M1675980</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt; is it conversion exit for aufnr or for QMNUM. I would expect the conversion exit to be used for QMNUM.&lt;/P&gt;&lt;P&gt;If you are doing this then really don't understand why the statement does not work ,&amp;nbsp; if possible you can post some sample data or attach screen shots.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Arun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Apr 2012 09:18:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-query-not-selecting-values-into-table/m-p/8757071#M1675980</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-04-11T09:18:22Z</dc:date>
    </item>
    <item>
      <title>Re: select query not selecting values into table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-query-not-selecting-values-into-table/m-p/8757072#M1675981</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check the way fields declared in internal table or types declaration are in the same order as you are selecting in select query.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;Himayat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Apr 2012 09:25:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-query-not-selecting-values-into-table/m-p/8757072#M1675981</guid>
      <dc:creator>Himayatullah</dc:creator>
      <dc:date>2012-04-11T09:25:31Z</dc:date>
    </item>
  </channel>
</rss>

