<?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/4364090#M1038599</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't suggest that you post the whole code, but if we could see the variables used being declared and assigned to values, perhaps we'll understand why it's failing.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 19 Aug 2008 23:36:40 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-08-19T23:36:40Z</dc:date>
    <item>
      <title>Select statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement/m-p/4364089#M1038598</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;select single lifnr from lfa1 into ZZINFO-LIFNR&lt;/P&gt;&lt;P&gt; where sortl EQ ZINFO_COND_RECORD-LIFNR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not able to get the value .&lt;/P&gt;&lt;P&gt;sortl value is CJ-PO issu&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But If I physically looking at the DB LFA1 then I am able to get the value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas why I am not able to find out?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Aug 2008 22:48:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement/m-p/4364089#M1038598</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-19T22:48:18Z</dc:date>
    </item>
    <item>
      <title>Re: Select statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement/m-p/4364090#M1038599</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't suggest that you post the whole code, but if we could see the variables used being declared and assigned to values, perhaps we'll understand why it's failing.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Aug 2008 23:36:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement/m-p/4364090#M1038599</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-19T23:36:40Z</dc:date>
    </item>
    <item>
      <title>Re: Select statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement/m-p/4364091#M1038600</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check the field ZINFO_COND_RECORD-LIFNR may not be having value before passing to LFA1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I wonder LIFNR in ZINFO_COND_RECORD is correct?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Aug 2008 23:39:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement/m-p/4364091#M1038600</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-19T23:39:16Z</dc:date>
    </item>
    <item>
      <title>Re: Select statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement/m-p/4364092#M1038601</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am checking in the debugger and there is value for it though.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: mark_yellow mark on Aug 20, 2008 1:43 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Aug 2008 23:43:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement/m-p/4364092#M1038601</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-19T23:43: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/4364093#M1038602</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;U mean the value of ZINFO_COND_RECORD-LIFNR = 'CJ-PO'.&lt;/P&gt;&lt;P&gt;If it is so, then check..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. whether &lt;STRONG&gt;sy-subrc = 0&lt;/STRONG&gt;. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. If sy-subrc = 0, then &lt;STRONG&gt;check how many records&lt;/STRONG&gt; are there in LFA1 table for that condition.. Because while using Select single statement, If u have more than 1 record for that condition, it will take the first record. So there might be the difference.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Prem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Aug 2008 06:50:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement/m-p/4364093#M1038602</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-20T06:50:01Z</dc:date>
    </item>
    <item>
      <title>Re: Select statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement/m-p/4364094#M1038603</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mark,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also cross check the value getting stored in the variable &lt;/P&gt;&lt;P&gt;sortl. If you are assigning the value as a constant, see to it&lt;/P&gt;&lt;P&gt;that the value is enclosed in quotes say, 'CJ-PO'.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Aug 2008 06:56:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-statement/m-p/4364094#M1038603</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-20T06:56:38Z</dc:date>
    </item>
  </channel>
</rss>

