<?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 problem in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-problem/m-p/954725#M66036</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can anyone helps in further better way.&lt;/P&gt;&lt;P&gt;output list should be the list(second field contents)those depends on the first field.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 08 Jul 2005 12:16:42 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2005-07-08T12:16:42Z</dc:date>
    <item>
      <title>selection screen problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-problem/m-p/954721#M66032</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HAI,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I HAVE INPUT 2 FIELDS IN THE SELECTION SCREEN.&lt;/P&gt;&lt;P&gt;SECOND FIELD ALWAYS DEPENDS ON THE FIRST FIELD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF I DOESN'T SELECT FIRST FIELD(BLANK), THE OUTPUT SHOULD DISPLAY ALL THE ENTRIES .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF I SELECT PARTICULAR VALUE IN THE FIRST FIELD(NOT BLANK), THE OUTPUT SHOULD BE THE SECONDFIELDS THOSE DEPEND ON THE FIRST FIELD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PLZ...&lt;/P&gt;&lt;P&gt;IMMEDIATE...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jul 2005 11:06:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-problem/m-p/954721#M66032</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-07-08T11:06:09Z</dc:date>
    </item>
    <item>
      <title>Re: selection screen problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-problem/m-p/954722#M66033</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;let us say if we two parameters:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;parameters : p1 like mara-matnr,&lt;/P&gt;&lt;P&gt;             p2 like to23-matkl.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if p1 is initial.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select * from mara into table i_mara.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select spart&lt;/P&gt;&lt;P&gt;       wwdga&lt;/P&gt;&lt;P&gt;from to23&lt;/P&gt;&lt;P&gt;into table i_final for all entries in i_mara&lt;/P&gt;&lt;P&gt;where matkl = i_mara-matkl.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;else.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select * from mara into table i_mara where matnr = p1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select spart&lt;/P&gt;&lt;P&gt;       wwdga&lt;/P&gt;&lt;P&gt;from to23&lt;/P&gt;&lt;P&gt;into table i_final for all entries in i_mara&lt;/P&gt;&lt;P&gt;where matkl = i_mara-matkl.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jagath&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Jagathguru Chandrasekharan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jul 2005 11:17:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-problem/m-p/954722#M66033</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-07-08T11:17:15Z</dc:date>
    </item>
    <item>
      <title>Re: selection screen problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-problem/m-p/954723#M66034</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hai..&lt;/P&gt;&lt;P&gt;It's good idea but can anyone help in better way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank u&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jul 2005 12:06:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-problem/m-p/954723#M66034</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-07-08T12:06:52Z</dc:date>
    </item>
    <item>
      <title>Re: selection screen problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-problem/m-p/954724#M66035</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 the second case where in if you are having values for the first parameter then you can select the data from the table for entries which are related to P2 for all values of P1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this can be acheived by using a join for the two tables in the above case and thus reducing the compile time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select val1 &lt;/P&gt;&lt;P&gt;       val2&lt;/P&gt;&lt;P&gt;       from table table1&lt;/P&gt;&lt;P&gt;       inner join table2 on table1&lt;SUB&gt;val3 = table2&lt;/SUB&gt;val3&lt;/P&gt;&lt;P&gt;       into itab&lt;/P&gt;&lt;P&gt;       where table2~val1 = p1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at itab into wa.&lt;/P&gt;&lt;P&gt;write : / wa.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Jagathguru Chandrasekharan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jul 2005 12:14:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-problem/m-p/954724#M66035</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-07-08T12:14:43Z</dc:date>
    </item>
    <item>
      <title>Re: selection screen problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-problem/m-p/954725#M66036</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can anyone helps in further better way.&lt;/P&gt;&lt;P&gt;output list should be the list(second field contents)those depends on the first field.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jul 2005 12:16:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-problem/m-p/954725#M66036</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-07-08T12:16:42Z</dc:date>
    </item>
    <item>
      <title>Re: selection screen problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-problem/m-p/954726#M66037</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;Try this.&lt;/P&gt;&lt;P&gt;parameters : p_1 type makt-matnr,&lt;/P&gt;&lt;P&gt;             p_2 type makt-maktx.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : itab type standard table of makt,&lt;/P&gt;&lt;P&gt;       wa type makt.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if  p_1 is initial.&lt;/P&gt;&lt;P&gt;select * from makt into table itab.&lt;/P&gt;&lt;P&gt;else.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Here I assumed that p_2 is mandatory&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;select * from makt into table itab where maktx = p_2.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at itab into wa.&lt;/P&gt;&lt;P&gt;write : / wa.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Jayanthi Jayaraman&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jul 2005 12:24:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-problem/m-p/954726#M66037</guid>
      <dc:creator>jayanthi_jayaraman</dc:creator>
      <dc:date>2005-07-08T12:24:47Z</dc:date>
    </item>
    <item>
      <title>Re: selection screen problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-problem/m-p/954727#M66038</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;define the first one (or both) as select-option. If you want to allow only one value for select-options you can use 'NO INTERVAL' 'NO RANGES' options of select-options. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Sanjeev&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jul 2005 13:21:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-problem/m-p/954727#M66038</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-07-08T13:21:18Z</dc:date>
    </item>
  </channel>
</rss>

