<?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 regarding ALV selection screen in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-alv-selection-screen/m-p/2451432#M549355</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;my issue:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have an alv report which has almost 10 paramters based on which the internal table will be populated. the two parameters are mandatory .. 4 are select options and 4 are radiobuttons. i think this will lead to a lot of select queries.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i was wondering if there is any way we can minimize the no. of select query.&lt;/P&gt;&lt;P&gt;also would like to know if ranges table can work in such a scenario.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;9 fields are from table pLAF and two are from MARA and MKAL respectively&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please advice.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks in advance&lt;/P&gt;&lt;P&gt;Srinivas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 20 Jun 2007 14:25:34 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-06-20T14:25:34Z</dc:date>
    <item>
      <title>regarding ALV selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-alv-selection-screen/m-p/2451432#M549355</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;my issue:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have an alv report which has almost 10 paramters based on which the internal table will be populated. the two parameters are mandatory .. 4 are select options and 4 are radiobuttons. i think this will lead to a lot of select queries.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i was wondering if there is any way we can minimize the no. of select query.&lt;/P&gt;&lt;P&gt;also would like to know if ranges table can work in such a scenario.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;9 fields are from table pLAF and two are from MARA and MKAL respectively&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please advice.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks in advance&lt;/P&gt;&lt;P&gt;Srinivas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jun 2007 14:25:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-alv-selection-screen/m-p/2451432#M549355</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-20T14:25:34Z</dc:date>
    </item>
    <item>
      <title>Re: regarding ALV selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-alv-selection-screen/m-p/2451433#M549356</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Keep the all the selection-screen ,do the join condition PLAF,MARA,MKAL and keep the where condition here (here you can keep all where condition with selection-screen fields ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;first try to logic and automatically you get idea how to proceed with reusability.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jun 2007 14:34:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-alv-selection-screen/m-p/2451433#M549356</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-20T14:34:33Z</dc:date>
    </item>
    <item>
      <title>Re: regarding ALV selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-alv-selection-screen/m-p/2451434#M549357</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;For select-options,You dont have to check whether that field is initial or not.So For 4 select-options, u can use one select query.2 parameter field is also mandatory so you dont have to check those 2 field is intial or not.U got to put 4 if condition for 4 radio buttons.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Eg: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If rd_1 = 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select field1 field1 from &amp;lt;table1&amp;gt; into table where field1 = p_param1&lt;/P&gt;&lt;P&gt;        and field2 = p_param2&lt;/P&gt;&lt;P&gt;and field3 in s_selop1&lt;/P&gt;&lt;P&gt;and field4 in s_selop2&lt;/P&gt;&lt;P&gt;and field5 in s_selop3&lt;/P&gt;&lt;P&gt;and field6 in s_selop4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;elseif rd_2 = 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select field1 field1 from &amp;lt;table2&amp;gt; into table where field1 = p_param1&lt;/P&gt;&lt;P&gt;        and field2 = p_param2&lt;/P&gt;&lt;P&gt;and field3 in s_selop1&lt;/P&gt;&lt;P&gt;and field4 in s_selop2&lt;/P&gt;&lt;P&gt;and field5 in s_selop3&lt;/P&gt;&lt;P&gt;and field6 in s_selop4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;elseif rd_3 = 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select field1 field1 from &amp;lt;table3&amp;gt; into table where field1 = p_param1&lt;/P&gt;&lt;P&gt;        and field2 = p_param2&lt;/P&gt;&lt;P&gt;and field3 in s_selop1&lt;/P&gt;&lt;P&gt;and field4 in s_selop2&lt;/P&gt;&lt;P&gt;and field5 in s_selop3&lt;/P&gt;&lt;P&gt;and field6 in s_selop4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;elseif rd_4 = 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select field1 field1 from &amp;lt;table4&amp;gt; into table where field1 = p_param1&lt;/P&gt;&lt;P&gt;        and field2 = p_param2&lt;/P&gt;&lt;P&gt;and field3 in s_selop1&lt;/P&gt;&lt;P&gt;and field4 in s_selop2&lt;/P&gt;&lt;P&gt;and field5 in s_selop3&lt;/P&gt;&lt;P&gt;and field6 in s_selop4.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jun 2007 14:34:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-alv-selection-screen/m-p/2451434#M549357</guid>
      <dc:creator>former_member491305</dc:creator>
      <dc:date>2007-06-20T14:34:43Z</dc:date>
    </item>
  </channel>
</rss>

