<?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 AT SELECTION-SCREEN  problem in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen-problem/m-p/1742116#M322359</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have been given a program .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN ON s_prctr.&lt;/P&gt;&lt;P&gt;  IF sscrfields-ucomm EQ 'ONLI' OR&lt;/P&gt;&lt;P&gt;     sscrfields-ucomm EQ 'PRIN' OR&lt;/P&gt;&lt;P&gt;     sscrfields-ucomm EQ 'SJOB'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;some logic was already developed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But what ever user entered the values in selection screen parameters are not coming in the above logic to get desired results.&lt;/P&gt;&lt;P&gt;How can I get those values entered by user on selection screen.&lt;/P&gt;&lt;P&gt;Or I need to change the logic ?&lt;/P&gt;&lt;P&gt;&amp;amp;&lt;/P&gt;&lt;P&gt;what benefit is the "on s_prctr" option&lt;/P&gt;&lt;P&gt;what are sscrfields-ucomm&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please explain me . &lt;/P&gt;&lt;P&gt;YOUR HELP WILL BE APPRECIATED.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 05 Dec 2006 16:44:43 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-12-05T16:44:43Z</dc:date>
    <item>
      <title>AT SELECTION-SCREEN  problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen-problem/m-p/1742116#M322359</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have been given a program .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN ON s_prctr.&lt;/P&gt;&lt;P&gt;  IF sscrfields-ucomm EQ 'ONLI' OR&lt;/P&gt;&lt;P&gt;     sscrfields-ucomm EQ 'PRIN' OR&lt;/P&gt;&lt;P&gt;     sscrfields-ucomm EQ 'SJOB'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;some logic was already developed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But what ever user entered the values in selection screen parameters are not coming in the above logic to get desired results.&lt;/P&gt;&lt;P&gt;How can I get those values entered by user on selection screen.&lt;/P&gt;&lt;P&gt;Or I need to change the logic ?&lt;/P&gt;&lt;P&gt;&amp;amp;&lt;/P&gt;&lt;P&gt;what benefit is the "on s_prctr" option&lt;/P&gt;&lt;P&gt;what are sscrfields-ucomm&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please explain me . &lt;/P&gt;&lt;P&gt;YOUR HELP WILL BE APPRECIATED.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Dec 2006 16:44:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen-problem/m-p/1742116#M322359</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-05T16:44:43Z</dc:date>
    </item>
    <item>
      <title>Re: AT SELECTION-SCREEN  problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen-problem/m-p/1742117#M322360</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;1)&lt;/P&gt;&lt;P&gt;If you use ON ..Then that particular field alone will be validated..And if there is any message then that particular field alone will be open for input...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TABLES MARA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PARAMETERS: P_MATNR TYPE MATNR,&lt;/P&gt;&lt;P&gt;            P_WERKS TYPE WERKS_D.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN ON P_MATNR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT SINGLE * FROM MARA WHERE MATNR = P_MATNR.&lt;/P&gt;&lt;P&gt;IF SY-SUBRC &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;  MESSAGE E208(00) WITH 'INVALID MATERIAL'.&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;2)&lt;/P&gt;&lt;P&gt;sscrfields-ucomm is used for getting the function codes ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sscrfield-ucomm = 'ONLI' when the user presses F8 button on the selection screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Naren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Dec 2006 16:50:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen-problem/m-p/1742117#M322360</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-05T16:50:05Z</dc:date>
    </item>
  </channel>
</rss>

