<?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 problem with SELECT SINGLE * in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-select-single/m-p/2892666#M679808</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi experts,&lt;/P&gt;&lt;P&gt;      SELECT SINGLE * FROM cosp WHERE objnr = g_objnr AND&lt;/P&gt;&lt;P&gt;                                      gjahr = p_gjahr AND&lt;/P&gt;&lt;P&gt;                                      wrttp = '01' AND&lt;/P&gt;&lt;P&gt;                                      versn = p_ver AND&lt;/P&gt;&lt;P&gt;                                      vrgng = 'RKP1'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;                    IF sy-subrc = 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if the values of &lt;/P&gt;&lt;P&gt; gjahr = KS500081A650&lt;/P&gt;&lt;P&gt; wrttp = '01' &lt;/P&gt;&lt;P&gt;  versn = 'N0'    &lt;/P&gt;&lt;P&gt; vrgng = 'RKP1'.&lt;/P&gt;&lt;P&gt;there are 18 recors exist in table 'cosp' then sysbrc= 0. its wrking fine&lt;/P&gt;&lt;P&gt;but if change verision  versn = '01'  then check in table 'cosp' there are 31 records exits but my select query not selecting any record and sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please tell me what is the reason?&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;niru&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 23 Oct 2007 19:57:04 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-10-23T19:57:04Z</dc:date>
    <item>
      <title>problem with SELECT SINGLE *</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-select-single/m-p/2892666#M679808</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi experts,&lt;/P&gt;&lt;P&gt;      SELECT SINGLE * FROM cosp WHERE objnr = g_objnr AND&lt;/P&gt;&lt;P&gt;                                      gjahr = p_gjahr AND&lt;/P&gt;&lt;P&gt;                                      wrttp = '01' AND&lt;/P&gt;&lt;P&gt;                                      versn = p_ver AND&lt;/P&gt;&lt;P&gt;                                      vrgng = 'RKP1'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;                    IF sy-subrc = 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if the values of &lt;/P&gt;&lt;P&gt; gjahr = KS500081A650&lt;/P&gt;&lt;P&gt; wrttp = '01' &lt;/P&gt;&lt;P&gt;  versn = 'N0'    &lt;/P&gt;&lt;P&gt; vrgng = 'RKP1'.&lt;/P&gt;&lt;P&gt;there are 18 recors exist in table 'cosp' then sysbrc= 0. its wrking fine&lt;/P&gt;&lt;P&gt;but if change verision  versn = '01'  then check in table 'cosp' there are 31 records exits but my select query not selecting any record and sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please tell me what is the reason?&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;niru&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Oct 2007 19:57:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-select-single/m-p/2892666#M679808</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-23T19:57:04Z</dc:date>
    </item>
    <item>
      <title>Re: problem with SELECT SINGLE *</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-select-single/m-p/2892667#M679809</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;versn = '001' &lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Oct 2007 20:00:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-select-single/m-p/2892667#M679809</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-23T20:00:12Z</dc:date>
    </item>
    <item>
      <title>Re: problem with SELECT SINGLE *</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-select-single/m-p/2892668#M679810</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Niru,&lt;/P&gt;&lt;P&gt;There must be something wrong in your analysis.Onc again check entries in table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Atish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Oct 2007 20:01:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-select-single/m-p/2892668#M679810</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-23T20:01:33Z</dc:date>
    </item>
    <item>
      <title>Re: problem with SELECT SINGLE *</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-select-single/m-p/2892669#M679811</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Neeru,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The data element VERSN is of length. So as Rob suggested try&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
SELECT SINGLE * FROM cosp WHERE objnr = g_objnr AND
gjahr = p_gjahr AND
wrttp = '01' AND
versn = '001' AND
vrgng = 'RKP1'.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Aneesh.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Oct 2007 20:03:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-select-single/m-p/2892669#M679811</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-23T20:03:20Z</dc:date>
    </item>
  </channel>
</rss>

