<?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: optional parameters on selection screen in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/optional-parameters-on-selection-screen/m-p/2674682#M617835</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;You need to use IN operator for the select query then if you left blank then it will pick all the records from the table, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you want check before the select whether the select-option is initial or not then use the IF NOT INITIAL&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; Sudheer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 28 Aug 2007 10:39:33 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-08-28T10:39:33Z</dc:date>
    <item>
      <title>optional parameters on selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/optional-parameters-on-selection-screen/m-p/2674677#M617830</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi all,&lt;/P&gt;&lt;P&gt;in my program i have used 4 optional select options on selection screen.&lt;/P&gt;&lt;P&gt;these 4 parameters are used to fetch records from 4 different tables using an inner join.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the problem is if any one of these 4 is left blank by the user,then query fetches no record.&lt;/P&gt;&lt;P&gt;so whats the solution,do i have to query databese multiple times using if not initial condition or what??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Aug 2007 10:32:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/optional-parameters-on-selection-screen/m-p/2674677#M617830</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-28T10:32:32Z</dc:date>
    </item>
    <item>
      <title>Re: optional parameters on selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/optional-parameters-on-selection-screen/m-p/2674678#M617831</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi kunal,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;do you join 4 tables into one select, using the 4 select-options from the selection screen in the where clause?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if the answer if yes, than make the select options mandatory on the selection screen, otherwise pls. clarify what exactly you are doing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;ec&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Aug 2007 10:36:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/optional-parameters-on-selection-screen/m-p/2674678#M617831</guid>
      <dc:creator>JozsefSzikszai</dc:creator>
      <dc:date>2007-08-28T10:36:04Z</dc:date>
    </item>
    <item>
      <title>Re: optional parameters on selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/optional-parameters-on-selection-screen/m-p/2674679#M617832</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If field values are blank make it as "*" in your at selection event&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Aug 2007 10:36:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/optional-parameters-on-selection-screen/m-p/2674679#M617832</guid>
      <dc:creator>former_member253923</dc:creator>
      <dc:date>2007-08-28T10:36:26Z</dc:date>
    </item>
    <item>
      <title>Re: optional parameters on selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/optional-parameters-on-selection-screen/m-p/2674680#M617833</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hii&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Incase of the SELECT-OPTIONS : when they are not filled all the records are fetched .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Incase of the PARAMETERS : when they are not filled it will compare with the INITIAL VALUE like SPACE or 0. So it may not return data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In ur Question you mentioned both.. &lt;/P&gt;&lt;P&gt;Post the code if u dont get a solution from the Above explaination.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Reward if Helpful..&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Aug 2007 10:36:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/optional-parameters-on-selection-screen/m-p/2674680#M617833</guid>
      <dc:creator>varma_narayana</dc:creator>
      <dc:date>2007-08-28T10:36:53Z</dc:date>
    </item>
    <item>
      <title>Re: optional parameters on selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/optional-parameters-on-selection-screen/m-p/2674681#M617834</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;oh well i know THAT problem &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you have a parameter optional, and leave it blank it´s of initial value then.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That means your select looks for the records which have initial state in THAT field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;most probably that is NOT what you want.&lt;/P&gt;&lt;P&gt;One way around this is not to use parameters, but Select options. &lt;/P&gt;&lt;P&gt;Look at the sap-help on select options, there is some addon statement, with which you can make Select options look like a parameter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Aug 2007 10:38:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/optional-parameters-on-selection-screen/m-p/2674681#M617834</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-28T10:38:55Z</dc:date>
    </item>
    <item>
      <title>Re: optional parameters on selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/optional-parameters-on-selection-screen/m-p/2674682#M617835</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;You need to use IN operator for the select query then if you left blank then it will pick all the records from the table, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you want check before the select whether the select-option is initial or not then use the IF NOT INITIAL&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; Sudheer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Aug 2007 10:39:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/optional-parameters-on-selection-screen/m-p/2674682#M617835</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-28T10:39:33Z</dc:date>
    </item>
  </channel>
</rss>

