<?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: Selection screen with Parameters in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-with-parameters/m-p/3269279#M781448</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;no intervals no-extension&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Pavan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 08 Jan 2008 10:41:13 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-01-08T10:41:13Z</dc:date>
    <item>
      <title>Selection screen with Parameters</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-with-parameters/m-p/3269274#M781443</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;&lt;/P&gt;&lt;P&gt;I have few three parameters in the selction screen. &lt;/P&gt;&lt;P&gt;Now, i need to get the data based on the these 3 parameters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the parameters are blank, the program should retrieve all possible data from database.&lt;/P&gt;&lt;P&gt;If the parameter is having a value, then program should retrieve the data based on the entered value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;selection screen:&lt;/P&gt;&lt;P&gt;mvke-mvgr1:&lt;/P&gt;&lt;P&gt;mvke-mvgr2:&lt;/P&gt;&lt;P&gt;mvke-mvgr3:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The matnr details has to be fetched based on the above mentioned material Groups from mvke table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to code the select statement in such cases?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Pavan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jan 2008 10:04:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-with-parameters/m-p/3269274#M781443</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-08T10:04:43Z</dc:date>
    </item>
    <item>
      <title>Re: Selection screen with Parameters</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-with-parameters/m-p/3269275#M781444</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt; In that case you can go for select-options instead of parameters. paramters will take the exact value(i,e if nothing is given, it will take SPACE'.&lt;/P&gt;&lt;P&gt; In  Select-Options if nothing is mentioned it will get tha whole data from data base&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;selection-screen begin of block b1.&lt;/P&gt;&lt;P&gt; select-options: s_mvgr1 for mvke-mvgr1 no intervals,&lt;/P&gt;&lt;P&gt;                       s_mvgr2 for mvke-mvgr2 no intervals,&lt;/P&gt;&lt;P&gt;                       s_mvgr3 for mvke-mvgr3 no intervals.&lt;/P&gt;&lt;P&gt;selection-screen end of block b1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;theja&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jan 2008 10:11:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-with-parameters/m-p/3269275#M781444</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-08T10:11:31Z</dc:date>
    </item>
    <item>
      <title>Re: Selection screen with Parameters</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-with-parameters/m-p/3269276#M781445</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Pava,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT required columns from mvke&lt;/P&gt;&lt;P&gt;INTO TABLE internal table&lt;/P&gt;&lt;P&gt;WHERE mvgr1 eq p_mvgr1 and&lt;/P&gt;&lt;P&gt;             mvgr2 eq p_mvgr2 and&lt;/P&gt;&lt;P&gt;             mvgr3 eq p_mvgr3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now if you have not given any values in parameters all the values will retrive and if parameters are filled &lt;/P&gt;&lt;P&gt;respective data will come.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pls. reward if useful....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jan 2008 10:13:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-with-parameters/m-p/3269276#M781445</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-08T10:13:10Z</dc:date>
    </item>
    <item>
      <title>Re: Selection screen with Parameters</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-with-parameters/m-p/3269277#M781446</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;we cannot use parameters ...becoz if we use parameters then we have to give some value to it,if we don't give any value,it won't get u the data.so use select-options ,now for select-options if u give value it will retrieve the data accordingly,else it will give complete output...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Nagaraj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jan 2008 10:15:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-with-parameters/m-p/3269277#M781446</guid>
      <dc:creator>former_member404244</dc:creator>
      <dc:date>2008-01-08T10:15:20Z</dc:date>
    </item>
    <item>
      <title>Re: Selection screen with Parameters</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-with-parameters/m-p/3269278#M781447</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Tejaswi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One more doubt... How to remove Range option from the select-option stated by you?&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;Pavan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jan 2008 10:34:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-with-parameters/m-p/3269278#M781447</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-08T10:34:23Z</dc:date>
    </item>
    <item>
      <title>Re: Selection screen with Parameters</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-with-parameters/m-p/3269279#M781448</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;no intervals no-extension&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Pavan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jan 2008 10:41:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-with-parameters/m-p/3269279#M781448</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-08T10:41:13Z</dc:date>
    </item>
    <item>
      <title>Re: Selection screen with Parameters</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-with-parameters/m-p/3269280#M781449</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;this is ur solution.have a look.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TABLES MVKE.&lt;/P&gt;&lt;P&gt;DATA: BEGIN OF ITAB OCCURS 0,&lt;/P&gt;&lt;P&gt;      MATNR LIKE MVKE-MATNR,&lt;/P&gt;&lt;P&gt;      VKORG LIKE MVKE-VKORG,&lt;/P&gt;&lt;P&gt;      END OF ITAB.&lt;/P&gt;&lt;P&gt;      &lt;/P&gt;&lt;P&gt;SELECT-OPTIONS: S_MVGR1 FOR MVKE-MVGR1 NO INTERVALS,&lt;/P&gt;&lt;P&gt;                S_MVGR2 FOR MVKE-MVGR2 NO INTERVALS,&lt;/P&gt;&lt;P&gt;                S_MVGR3 FOR MVKE-MVGR3 NO INTERVALS.&lt;/P&gt;&lt;P&gt;                &lt;/P&gt;&lt;P&gt;SELECT MATNR VKORG FROM MVKE &lt;/P&gt;&lt;P&gt;INTO ITAB&lt;/P&gt;&lt;P&gt;WHERE MVGR1 EQ S_MVGR1&lt;/P&gt;&lt;P&gt;AND MVGR2 EQ S_MVGR2&lt;/P&gt;&lt;P&gt;AND MVGR3 EQ S_MVGR3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WRITE:/ ITAB-MATNR,ITAB-VKORG.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDSELECT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward points if it is useful.&lt;/P&gt;&lt;P&gt;thank you&lt;/P&gt;&lt;P&gt;chandu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jan 2008 10:51:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-with-parameters/m-p/3269280#M781449</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-08T10:51:07Z</dc:date>
    </item>
  </channel>
</rss>

