<?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: Problem with select statement in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-select-statement/m-p/5515188#M1260913</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check if you have provided values in the parameters P_MONTH, P_CUGRP, P_SADCH, P_SADIV, P_CUPAR, P_MAGRP, P_PRHIE, P_PLANT. If any of these selection parameters do not contain a value, it takes up initial value which is compared while fetching data from the table and may result into zero entries being fetched.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 22 Apr 2009 11:27:34 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-04-22T11:27:34Z</dc:date>
    <item>
      <title>Problem with select statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-select-statement/m-p/5515181#M1260906</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;&lt;/P&gt;&lt;P&gt;I have a problem with a select statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to retrieve data from S889 table. I have written a select statement as follows. But it is not working.&lt;/P&gt;&lt;P&gt;Please let me know my mistake.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  SELECT SSOUR&lt;/P&gt;&lt;P&gt;         VRSIO&lt;/P&gt;&lt;P&gt;         SPMON&lt;/P&gt;&lt;P&gt;         SPTAG&lt;/P&gt;&lt;P&gt;         SPWOC&lt;/P&gt;&lt;P&gt;         SPBUP&lt;/P&gt;&lt;P&gt;         BZIRK&lt;/P&gt;&lt;P&gt;         KDGRP&lt;/P&gt;&lt;P&gt;         VTWEG&lt;/P&gt;&lt;P&gt;         SPART&lt;/P&gt;&lt;P&gt;         HIEZU04&lt;/P&gt;&lt;P&gt;         MVGR1&lt;/P&gt;&lt;P&gt;         ZZPRODH1&lt;/P&gt;&lt;P&gt;         MATNR&lt;/P&gt;&lt;P&gt;         WERKS&lt;/P&gt;&lt;P&gt;         ABSAT&lt;/P&gt;&lt;P&gt;         LFIMG&lt;/P&gt;&lt;P&gt;         OAUME&lt;/P&gt;&lt;P&gt;         ZZSALES_12&lt;/P&gt;&lt;P&gt;         ZZSALES_24&lt;/P&gt;&lt;P&gt;         FROM S889&lt;/P&gt;&lt;P&gt;         INTO TABLE T_S889&lt;/P&gt;&lt;P&gt;         WHERE VRSIO = '000'&lt;/P&gt;&lt;P&gt;         AND   SPMON = P_MONTH&lt;/P&gt;&lt;P&gt;         AND   BZIRK = P_SADIS&lt;/P&gt;&lt;P&gt;         AND   KDGRP = P_CUGRP&lt;/P&gt;&lt;P&gt;         AND   VTWEG = P_SADCH&lt;/P&gt;&lt;P&gt;         AND   SPART = P_SADIV&lt;/P&gt;&lt;P&gt;         AND   HIEZU04 = P_CUPAR&lt;/P&gt;&lt;P&gt;         AND   MVGR1 = P_MAGRP&lt;/P&gt;&lt;P&gt;         AND   ZZPRODH1 = P_PRHIE&lt;/P&gt;&lt;P&gt;         AND   MATNR IN S_MATNR&lt;/P&gt;&lt;P&gt;         AND   WERKS = P_PLANT.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Apr 2009 10:39:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-select-statement/m-p/5515181#M1260906</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-22T10:39:16Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with select statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-select-statement/m-p/5515182#M1260907</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please tell us in brief what error u r getting exactly, there are many possibilities.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Open the table with se16 and see if any entry exist in this table&lt;/P&gt;&lt;P&gt;2) See if this table is activated&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank You,&lt;/P&gt;&lt;P&gt;Ganesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Apr 2009 10:43:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-select-statement/m-p/5515182#M1260907</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-22T10:43:59Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with select statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-select-statement/m-p/5515183#M1260908</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rajani,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please check whether the internal table T_S889 is having all the fileds which you have mentioned in the select query. And also all the fields are of type that are in the table S889.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;vachana&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Apr 2009 10:45:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-select-statement/m-p/5515183#M1260908</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-22T10:45:58Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with select statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-select-statement/m-p/5515184#M1260909</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;&lt;/P&gt;&lt;P&gt;code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;first try with the following code and see whether the data is getting populated in the internal table.&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;use 'OR' instead of 'AND' in the WHERE condition.&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;mention only the Key fields in WHERE condition.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;data:
   t_ S889 type standard table of S889,
  fs_s889 like line of t_S889.


select &amp;lt;fields&amp;gt;
    from s889
into table t_s889
WHERE VRSIO eq '000'.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Apr 2009 10:48:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-select-statement/m-p/5515184#M1260909</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-22T10:48:04Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with select statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-select-statement/m-p/5515185#M1260910</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;Ur select query is correct.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;explain if ur getting any error or dump.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you are not getting data it means ur condition has filtered the data &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so change the condition or maintain data as per the condition.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;close the thread if you found ur solution&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jayaram&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Apr 2009 10:51:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-select-statement/m-p/5515185#M1260910</guid>
      <dc:creator>Jay71</dc:creator>
      <dc:date>2009-04-22T10:51:14Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with select statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-select-statement/m-p/5515186#M1260911</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;Check the data exists in the table S889 for the consdition given as in the Where clause of select statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Make &lt;STRONG&gt;VRSIO = '000'&lt;/STRONG&gt; as &lt;STRONG&gt;VRSIO is initial&lt;/STRONG&gt; and Try.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Apr 2009 10:51:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-select-statement/m-p/5515186#M1260911</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-22T10:51:56Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with select statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-select-statement/m-p/5515187#M1260912</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rajani,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. I Was unable to find the table &lt;STRONG&gt;S889&lt;/STRONG&gt; in my system. Is the table name is correct ?&lt;/P&gt;&lt;P&gt;2. When you need data of 1/3 of the fields of a database table then you can write &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
select * from S889 into table t_s889
           where ......
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Kumar M&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Apr 2009 11:08:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-select-statement/m-p/5515187#M1260912</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-22T11:08:19Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with select statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-select-statement/m-p/5515188#M1260913</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check if you have provided values in the parameters P_MONTH, P_CUGRP, P_SADCH, P_SADIV, P_CUPAR, P_MAGRP, P_PRHIE, P_PLANT. If any of these selection parameters do not contain a value, it takes up initial value which is compared while fetching data from the table and may result into zero entries being fetched.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Apr 2009 11:27:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-select-statement/m-p/5515188#M1260913</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-22T11:27:34Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with select statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-select-statement/m-p/5515189#M1260914</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 find any problem in ur query.&lt;/P&gt;&lt;P&gt;could u tell me the error that you are getting.&lt;/P&gt;&lt;P&gt;chek ur data base table from se16 and pass all the data that u are passing in ur select query during the time of fillteration.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Arun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Apr 2009 11:39:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-select-statement/m-p/5515189#M1260914</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-22T11:39:12Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with select statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-select-statement/m-p/5515190#M1260915</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 table S889 is not there. There is a table with name s009. Check ur query once.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Apr 2009 11:45:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-select-statement/m-p/5515190#M1260915</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-22T11:45:01Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with select statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-select-statement/m-p/5515191#M1260916</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;I couldn't find this table either. Perhaps a customizing-generated table. Do you get any short dump when executing this statement?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyway, I recommend you to check the following on your statement:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(1) &lt;STRONG&gt;Check the name of the fields&lt;/STRONG&gt;. One wrong fieldname can result in short dump.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(2)  You are using &lt;STRONG&gt;INTO TABLE&lt;/STRONG&gt;. Using this clause in a SELECT statement, you have to be sure that the order  of the fields in your SELECT statement is &lt;U&gt;in the same order you declared your internal table&lt;/U&gt;. This is very important. In case you don't want to worry about this, use &lt;STRONG&gt;INTO CORRESPONDING FIELDS OF TABLE&lt;/STRONG&gt; instead of &lt;STRONG&gt;INTO TABLE&lt;/STRONG&gt; (this is not recommended when you're thinking about performance).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(3) Check the types as well as the values you expect to have on your parameters used on &lt;STRONG&gt;WHERE&lt;/STRONG&gt; clause. Wrong types/values can lead to unexpected results.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Eduardo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Apr 2009 12:08:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-select-statement/m-p/5515191#M1260916</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-22T12:08:09Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with select statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-select-statement/m-p/5515192#M1260917</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;well dudes Sxxx tables where xxx = numeric stand for Infostructure tables.&lt;/P&gt;&lt;P&gt;Sxxx tables with xxx &amp;gt;= 600 are own customer infoistructures, so dont be afaid he got this table and you not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now to your Select. I just had a short look at it, but as far as i can see it, you are missing the statement 'corresponding fields of* between INTO and TABLE.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Apr 2009 12:24:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-select-statement/m-p/5515192#M1260917</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-22T12:24:14Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with select statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-select-statement/m-p/5515193#M1260918</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rajani,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When u r using both select-options and parameters in where clause you should provide data for all the parameters in selection screen, otherwise it will take value blank for parameters and it will search the records in data base with value blank, where as if u do not give value in select-options it will fetch all the data.&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;&lt;/P&gt;&lt;P&gt;Hope it will work now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vinod&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Apr 2009 12:30:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-select-statement/m-p/5515193#M1260918</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-22T12:30:49Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with select statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-select-statement/m-p/5515194#M1260919</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Arun,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not getting the data at all with this selection statement.&lt;/P&gt;&lt;P&gt;But I do have proper in my system. only problem is with that select statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also put the OR condition. But the session is getting terminated. Because all the data is being retrieved.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Apr 2009 08:46:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-select-statement/m-p/5515194#M1260919</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-23T08:46:12Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with select statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-select-statement/m-p/5515195#M1260920</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;Your internal table should have all&lt;/P&gt;&lt;P&gt;the fields which you are fetching from&lt;/P&gt;&lt;P&gt;your select query and they should&lt;/P&gt;&lt;P&gt;be present in the internal table in the&lt;/P&gt;&lt;P&gt;same order in which they are being &lt;/P&gt;&lt;P&gt;fetched from the select query.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mansi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Apr 2009 08:51:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-select-statement/m-p/5515195#M1260920</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-23T08:51:05Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with select statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-select-statement/m-p/5515196#M1260921</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;Are you passing values to all the parameter fields  ...if any of these parameter are blank then check the DM table with the same combination.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WHERE VRSIO = '000'&lt;/P&gt;&lt;P&gt;AND SPMON = P_MONTH&lt;/P&gt;&lt;P&gt;AND BZIRK = P_SADIS&lt;/P&gt;&lt;P&gt;AND KDGRP = P_CUGRP&lt;/P&gt;&lt;P&gt;AND VTWEG = P_SADCH&lt;/P&gt;&lt;P&gt;AND SPART = P_SADIV&lt;/P&gt;&lt;P&gt;AND HIEZU04 = P_CUPAR&lt;/P&gt;&lt;P&gt;AND MVGR1 = P_MAGRP&lt;/P&gt;&lt;P&gt;AND ZZPRODH1 = P_PRHIE&lt;/P&gt;&lt;P&gt;AND MATNR IN S_MATNR&lt;/P&gt;&lt;P&gt;AND WERKS = P_PLANT.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Apr 2009 08:51:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-select-statement/m-p/5515196#M1260921</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-23T08:51:25Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with select statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-select-statement/m-p/5515197#M1260922</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Rajani,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;May be you have to check the values in the WHERE conditions parameters. Is there any data against these values in S889?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;May be you can have a look into "Conversion Exits" against the fields used in the WHERE clause. If so you have to use them, else the SELECt may fail.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Suhas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Apr 2009 08:52:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-select-statement/m-p/5515197#M1260922</guid>
      <dc:creator>SuhaSaha</dc:creator>
      <dc:date>2009-04-23T08:52:59Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with select statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-select-statement/m-p/5515198#M1260923</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;change &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WHERE VRSIO = '000' and&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;to &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WHERE ( VRSIO = '000' or &lt;/P&gt;&lt;P&gt;                VRSIO eq space ) and&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;Also input all the values that u are having in the where condition,(which u can check in debugging) to the table in SE16 . check if there is any entry. If its there..your select query should not fail.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Apr 2009 08:53:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-select-statement/m-p/5515198#M1260923</guid>
      <dc:creator>former_member195383</dc:creator>
      <dc:date>2009-04-23T08:53:23Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with select statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-select-statement/m-p/5515199#M1260924</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;    Kindly check the where clause of query weather  the table possess that entry that u have applied in where clause.&lt;/P&gt;&lt;P&gt;Check your query by using your where condition one by one. &lt;/P&gt;&lt;P&gt;Otherwise your query is correct . Apply the above and watch for sy-subrc = 0 , if it is 4 than that where clause creating problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Himanshu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Apr 2009 09:07:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-select-statement/m-p/5515199#M1260924</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-23T09:07:29Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with select statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-select-statement/m-p/5515200#M1260925</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Put MATNR IN S_MATNR in last.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Apr 2009 09:08:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-select-statement/m-p/5515200#M1260925</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-23T09:08:56Z</dc:date>
    </item>
  </channel>
</rss>

