<?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: Automatic filter on Selection Screen in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/automatic-filter-on-selection-screen/m-p/1547955#M248966</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Check this out..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;s_werks FOR t001l-werks MODIF ID bbb,(Plant)&lt;/P&gt;&lt;P&gt;s_lgort FOR t001l-lgort MODIF ID bbb,(Storage Locations)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN OUTPUT.&lt;/P&gt;&lt;P&gt;  LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;    IF screen-group1 = 'BBB'.&lt;/P&gt;&lt;P&gt;      screen-active      = '1'.&lt;/P&gt;&lt;P&gt;      screen-input       = '1'.&lt;/P&gt;&lt;P&gt;      screen-output      = '1'.&lt;/P&gt;&lt;P&gt;      MODIFY SCREEN.&lt;/P&gt;&lt;P&gt;    ENDIF.&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;Regards&lt;/P&gt;&lt;P&gt;Vara&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 21 Aug 2006 21:39:44 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-08-21T21:39:44Z</dc:date>
    <item>
      <title>Automatic filter on Selection Screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/automatic-filter-on-selection-screen/m-p/1547954#M248965</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello SAPients.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a selection screen with these two fields:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;parameters:&lt;/P&gt;&lt;P&gt;  pa_vkorg like tvko-vkorg.     " Sales Organization&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select-options:&lt;/P&gt;&lt;P&gt;  so_werks for t001w-werks.   " Plant&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My question is: How can I code an automatic validation to ensure that in the Plant field the user only see plants that are related to the Sales Organization previously selected?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have an idea of using Memory ID but I'm not sure that's the best way of doing it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Ricardo Fernández Vázquez&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Aug 2006 21:19:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/automatic-filter-on-selection-screen/m-p/1547954#M248965</guid>
      <dc:creator>ricardo_fernndezvzquez3</dc:creator>
      <dc:date>2006-08-21T21:19:10Z</dc:date>
    </item>
    <item>
      <title>Re: Automatic filter on Selection Screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/automatic-filter-on-selection-screen/m-p/1547955#M248966</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Check this out..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;s_werks FOR t001l-werks MODIF ID bbb,(Plant)&lt;/P&gt;&lt;P&gt;s_lgort FOR t001l-lgort MODIF ID bbb,(Storage Locations)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN OUTPUT.&lt;/P&gt;&lt;P&gt;  LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;    IF screen-group1 = 'BBB'.&lt;/P&gt;&lt;P&gt;      screen-active      = '1'.&lt;/P&gt;&lt;P&gt;      screen-input       = '1'.&lt;/P&gt;&lt;P&gt;      screen-output      = '1'.&lt;/P&gt;&lt;P&gt;      MODIFY SCREEN.&lt;/P&gt;&lt;P&gt;    ENDIF.&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;Regards&lt;/P&gt;&lt;P&gt;Vara&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Aug 2006 21:39:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/automatic-filter-on-selection-screen/m-p/1547955#M248966</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-21T21:39:44Z</dc:date>
    </item>
    <item>
      <title>Re: Automatic filter on Selection Screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/automatic-filter-on-selection-screen/m-p/1547956#M248967</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 search help in this case.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Abdul Hakim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Aug 2006 23:01:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/automatic-filter-on-selection-screen/m-p/1547956#M248967</guid>
      <dc:creator>abdul_hakim</dc:creator>
      <dc:date>2006-08-21T23:01:44Z</dc:date>
    </item>
    <item>
      <title>Re: Automatic filter on Selection Screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/automatic-filter-on-selection-screen/m-p/1547957#M248968</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Abdul, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help, that's exactly what I found and that's what I'm using.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem that I have now is that my search help doesn't receive the value of the Sales Organization unless a hit enter after populating the value of the SalOrg field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That's because I'm receiving it in the parameter id VKO.&lt;/P&gt;&lt;P&gt;My new question is: Do you know other way to send this value to the search help? I also tried with set parameter id 'VKO'... in the "at selection-screen on value-request for so_werks-low" event. But I receive the error message 'The addition "ON VALUE-REQUEST FOR" is not allowed with PARAMETERS or SELECT- OPTIONS if MATCHCODE OBJECT is present'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By the way I'm working with SAP 4.6C.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Aug 2006 23:12:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/automatic-filter-on-selection-screen/m-p/1547957#M248968</guid>
      <dc:creator>ricardo_fernndezvzquez3</dc:creator>
      <dc:date>2006-08-21T23:12:15Z</dc:date>
    </item>
    <item>
      <title>Re: Automatic filter on Selection Screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/automatic-filter-on-selection-screen/m-p/1547958#M248969</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi ricardo,&lt;/P&gt;&lt;P&gt;i think using search help is the best way and you need to do give the sales.org value for determining the plant details.this is how the standard SAP system function also been implemented.&lt;/P&gt;&lt;P&gt;if you wanna diplay the plant as soon as the user enters the sales org then you need to achieve the same in the PAI event AT SELECTION-SCREEN by using SELECT clause to fetch the valid plants and you can display the valid plants to the user.Keep in mind that you are triggering PAI here also. The best approach is using Search Help..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Abdul Hakim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Aug 2006 23:17:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/automatic-filter-on-selection-screen/m-p/1547958#M248969</guid>
      <dc:creator>abdul_hakim</dc:creator>
      <dc:date>2006-08-21T23:17:59Z</dc:date>
    </item>
  </channel>
</rss>

