<?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: Help with a very basic select in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-a-very-basic-select/m-p/2518108#M569830</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No it doesn't, I guess that is the problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob, thanks for the help.  I didn't even think about the leading zeros.  Now I feel even dumber than I did 10 minutes ago.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Davis&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Davis&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 13 Jul 2007 20:43:15 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-07-13T20:43:15Z</dc:date>
    <item>
      <title>Help with a very basic select</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-a-very-basic-select/m-p/2518103#M569825</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I am embarrassed to say this but I can't figure out why this select isn't working.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;SELECT single adrnr INTO w_adrnr FROM lfa1
  WHERE lifnr = w_lifnr.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know that I have a match in LFA1 where LIFNR = W_LIFNR but the select will not return anything.  Can you tell me what [obvious] mistake I have made?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Davis&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jul 2007 20:35:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-a-very-basic-select/m-p/2518103#M569825</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-13T20:35:36Z</dc:date>
    </item>
    <item>
      <title>Re: Help with a very basic select</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-a-very-basic-select/m-p/2518104#M569826</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Davis,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;did you see data at SE11 ? if so then use &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use Below FM -&amp;gt; pass CONVERSION_EXIT_ALPHA_INPUT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;give input w_lifnr and output is w_lifnr&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT single adrnr INTO w_adrnr FROM lfa1&lt;/P&gt;&lt;P&gt;  WHERE lifnr = w_lifnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now see the results&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Seshu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jul 2007 20:40:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-a-very-basic-select/m-p/2518104#M569826</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-13T20:40:11Z</dc:date>
    </item>
    <item>
      <title>Re: Help with a very basic select</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-a-very-basic-select/m-p/2518105#M569827</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just a guess - but does w_lifnr contain the leading zeroes?&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, 13 Jul 2007 20:40:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-a-very-basic-select/m-p/2518105#M569827</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-13T20:40:48Z</dc:date>
    </item>
    <item>
      <title>Re: Help with a very basic select</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-a-very-basic-select/m-p/2518106#M569828</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Seshu, thanks for the reply.  Can I call this function module inside a SmartForm?  I just tried it and it gives me a syntax error saying that CONVERSION_EXIT_ALPHA_INPUT is unknown.  I guess maybe I need to put it in the global definitions?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Davis&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jul 2007 20:42:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-a-very-basic-select/m-p/2518106#M569828</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-13T20:42:36Z</dc:date>
    </item>
    <item>
      <title>Re: Help with a very basic select</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-a-very-basic-select/m-p/2518107#M569829</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's working man...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: w_ADRNR like lfa1-ADRNR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;parameters: w_lifnr like lfa1-lifnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;start-of-selection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select single adrnr from lfa1 into w_adrnr where lifnr = w_lifnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check sy-subrc eq 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;write:/ w_adrnr.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jul 2007 20:42:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-a-very-basic-select/m-p/2518107#M569829</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-13T20:42:54Z</dc:date>
    </item>
    <item>
      <title>Re: Help with a very basic select</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-a-very-basic-select/m-p/2518108#M569830</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No it doesn't, I guess that is the problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob, thanks for the help.  I didn't even think about the leading zeros.  Now I feel even dumber than I did 10 minutes ago.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Davis&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Davis&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jul 2007 20:43:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-a-very-basic-select/m-p/2518108#M569830</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-13T20:43:15Z</dc:date>
    </item>
    <item>
      <title>Re: Help with a very basic select</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-a-very-basic-select/m-p/2518109#M569831</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 coding seems fine&lt;/P&gt;&lt;P&gt;How did you declare W_ADRNR and W_LIFNR?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please check table LFA1 (SE16)  and see whether you have record for the corresponding LIFNR.&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;Ferry Lianto&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jul 2007 20:44:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-a-very-basic-select/m-p/2518109#M569831</guid>
      <dc:creator>ferry_lianto</dc:creator>
      <dc:date>2007-07-13T20:44:47Z</dc:date>
    </item>
    <item>
      <title>Re: Help with a very basic select</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-a-very-basic-select/m-p/2518110#M569832</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
  EXPORTING
    input  = w_lifnr
  IMPORTING
    output = w_lifnr.

SELECT SINGLE adrnr INTO w_adrnr FROM lfa1
  WHERE lifnr = w_lifnr.
&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>Fri, 13 Jul 2007 20:45:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/help-with-a-very-basic-select/m-p/2518110#M569832</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-13T20:45:38Z</dc:date>
    </item>
  </channel>
</rss>

