<?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 option and parameter. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-option-and-parameter/m-p/3242280#M773856</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;  See this example code it works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tables spfli.&lt;/P&gt;&lt;P&gt;parameters p_carrid type spfli-carrid obligatory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select-options s_connid for spfli-connid.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data itab type table of spfli with header line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select *&lt;/P&gt;&lt;P&gt;   from spfli into table itab&lt;/P&gt;&lt;P&gt; where carrid eq p_carrid&lt;/P&gt;&lt;P&gt;   and connid in s_connid.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at itab.&lt;/P&gt;&lt;P&gt;  write: / itab-carrid,&lt;/P&gt;&lt;P&gt;           itab-connid.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Note&lt;/STRONG&gt; : Dont leave blank for parameters because it take as space and when you select from table it is unsuccessful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Plzz Reward if it is useful,&lt;/P&gt;&lt;P&gt;Mahi.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 31 Dec 2007 08:13:43 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-12-31T08:13:43Z</dc:date>
    <item>
      <title>select option and parameter.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-option-and-parameter/m-p/3242277#M773853</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have select options and parameters in my selection screen. While extracting the data I am using both the select option and a parameter in where condition.  But that select statement is not returning any data. Could any body tell me what might be the reason.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;bsv.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Dec 2007 07:57:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-option-and-parameter/m-p/3242277#M773853</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-31T07:57:27Z</dc:date>
    </item>
    <item>
      <title>Re: select option and parameter.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-option-and-parameter/m-p/3242278#M773854</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can u provide me with code please&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Dec 2007 07:59:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-option-and-parameter/m-p/3242278#M773854</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-31T07:59:41Z</dc:date>
    </item>
    <item>
      <title>Re: select option and parameter.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-option-and-parameter/m-p/3242279#M773855</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Bbsv,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if the parameter is left empty in selection screen it takes null as value of that parameter.So the query will run with &lt;/P&gt;&lt;P&gt;where &amp;lt;field&amp;gt; = ' '.So the query fails.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if the select option is left empty in selection screen,the query neglects that where clause and fetches all records.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Will.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Dec 2007 08:07:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-option-and-parameter/m-p/3242279#M773855</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-31T08:07:57Z</dc:date>
    </item>
    <item>
      <title>Re: select option and parameter.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-option-and-parameter/m-p/3242280#M773856</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;  See this example code it works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tables spfli.&lt;/P&gt;&lt;P&gt;parameters p_carrid type spfli-carrid obligatory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select-options s_connid for spfli-connid.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data itab type table of spfli with header line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select *&lt;/P&gt;&lt;P&gt;   from spfli into table itab&lt;/P&gt;&lt;P&gt; where carrid eq p_carrid&lt;/P&gt;&lt;P&gt;   and connid in s_connid.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at itab.&lt;/P&gt;&lt;P&gt;  write: / itab-carrid,&lt;/P&gt;&lt;P&gt;           itab-connid.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Note&lt;/STRONG&gt; : Dont leave blank for parameters because it take as space and when you select from table it is unsuccessful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Plzz Reward if it is useful,&lt;/P&gt;&lt;P&gt;Mahi.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Dec 2007 08:13:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-option-and-parameter/m-p/3242280#M773856</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-31T08:13:43Z</dc:date>
    </item>
  </channel>
</rss>

