<?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 get values from selection screen in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-values-from-selection-screen/m-p/5969211#M1338955</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;&lt;/P&gt;&lt;P&gt;For one parameter, I have added 'F4' help. Means when u will press F4 on selection screen for that parameter it will show&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;values in drop down box. I wrote logic till this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But my question is, how to store these values in itab for processing. As I want to compare all values in drop down box.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Appreciate your help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 04 Aug 2009 19:48:12 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-08-04T19:48:12Z</dc:date>
    <item>
      <title>get values from selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-values-from-selection-screen/m-p/5969211#M1338955</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;&lt;/P&gt;&lt;P&gt;For one parameter, I have added 'F4' help. Means when u will press F4 on selection screen for that parameter it will show&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;values in drop down box. I wrote logic till this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But my question is, how to store these values in itab for processing. As I want to compare all values in drop down box.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Appreciate your help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Aug 2009 19:48:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-values-from-selection-screen/m-p/5969211#M1338955</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-04T19:48:12Z</dc:date>
    </item>
    <item>
      <title>Re: get values from selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-values-from-selection-screen/m-p/5969212#M1338956</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Find out the table behind the search help , then select values from that table into an internal table say itab&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
read table itab with key matnr = &amp;lt; your screen field&amp;gt;
if sy-subrc ne 0.
   message e002.  
endif.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;a®&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Aug 2009 19:51:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-values-from-selection-screen/m-p/5969212#M1338956</guid>
      <dc:creator>former_member194669</dc:creator>
      <dc:date>2009-08-04T19:51:47Z</dc:date>
    </item>
    <item>
      <title>Re: get values from selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-values-from-selection-screen/m-p/5969213#M1338957</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;Say you have a field &lt;STRONG&gt;matnr&lt;/STRONG&gt; for which you have a F4 help.&lt;/P&gt;&lt;P&gt;When you select one value it will be stored into the parameter say &lt;STRONG&gt;p_matnr&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So use:-&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
  SORT it_matnr BY matnr.
  READ TABLE it_matnr WITH KEY matnr = p_matnr BINARY SEARCH.
  IF sy-subrc NE 0.
    "error message (invalid material, select a naterial using F4 help)
  ENDIF.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Tarun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Aug 2009 19:55:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-values-from-selection-screen/m-p/5969213#M1338957</guid>
      <dc:creator>I355602</dc:creator>
      <dc:date>2009-08-04T19:55:50Z</dc:date>
    </item>
    <item>
      <title>Re: get values from selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-values-from-selection-screen/m-p/5969214#M1338958</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please explain how to do &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;' Find out the table behind the search help , then select values from that table into an internal table say itab'&lt;/P&gt;&lt;P&gt;&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, 04 Aug 2009 20:50:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-values-from-selection-screen/m-p/5969214#M1338958</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-04T20:50:28Z</dc:date>
    </item>
    <item>
      <title>Re: get values from selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-values-from-selection-screen/m-p/5969215#M1338959</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;u goto find out the composite or elementary search help and open the search help in se11 and look for the selection method.... it would be either a view or a database table or a search help exit.... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so get data from that tables u might have to write ur own code... or use the same logic as in search help exit in ur code to get the values to ur Itab.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Aug 2009 20:55:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-values-from-selection-screen/m-p/5969215#M1338959</guid>
      <dc:creator>former_member156446</dc:creator>
      <dc:date>2009-08-04T20:55:35Z</dc:date>
    </item>
    <item>
      <title>Re: get values from selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/get-values-from-selection-screen/m-p/5969216#M1338960</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can find this thru SE11 &lt;DEL&gt;&amp;gt; select search help and type your search help name&lt;/DEL&gt;&amp;gt; display --&amp;gt; in the defintion tab you can find the table or view behind search help&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a®&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Aug 2009 21:08:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/get-values-from-selection-screen/m-p/5969216#M1338960</guid>
      <dc:creator>former_member194669</dc:creator>
      <dc:date>2009-08-04T21:08:26Z</dc:date>
    </item>
  </channel>
</rss>

