<?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/1591525#M266120</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use Event AT SELECTION SCREEN.&lt;/P&gt;&lt;P&gt;Here you can check the radio button and validate if Kunnr is blank,  give the appropriate message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if not c1 is initial.&lt;/P&gt;&lt;P&gt; IF Kunnr is initial.&lt;/P&gt;&lt;P&gt;   MESSAGE E000 - 'KUNNR is Mandetory'.&lt;/P&gt;&lt;P&gt; endif.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Vishal&lt;/P&gt;&lt;P&gt;**Hope it will help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 19 Sep 2006 04:17:34 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-09-19T04:17:34Z</dc:date>
    <item>
      <title>selection screen problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-problem/m-p/1591524#M266119</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;I have one query regarding selection screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Suppose I have two radiobuttons r1 &amp;amp; r2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If i select r1 then the field kunnr should be mandatory &amp;amp; if r2 is selected then the kunnr should become optional field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;as per my logic i wrote the code for this but i m getting error here.&lt;/P&gt;&lt;P&gt;parameters: c1 radiobutton group g1 default 'X'.&lt;/P&gt;&lt;P&gt;            c2 radiobutton group g1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if not c1 is initial.&lt;/P&gt;&lt;P&gt;  parameters: kunnr like kna1-kunnr obligatory.&lt;/P&gt;&lt;P&gt;else.&lt;/P&gt;&lt;P&gt;  parameters: kunnr like kna1-kunnr.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Will u let me know how to write the logic for this??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Sep 2006 04:13:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-problem/m-p/1591524#M266119</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-19T04:13:44Z</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/1591525#M266120</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use Event AT SELECTION SCREEN.&lt;/P&gt;&lt;P&gt;Here you can check the radio button and validate if Kunnr is blank,  give the appropriate message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if not c1 is initial.&lt;/P&gt;&lt;P&gt; IF Kunnr is initial.&lt;/P&gt;&lt;P&gt;   MESSAGE E000 - 'KUNNR is Mandetory'.&lt;/P&gt;&lt;P&gt; endif.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Vishal&lt;/P&gt;&lt;P&gt;**Hope it will help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Sep 2006 04:17:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-problem/m-p/1591525#M266120</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-19T04:17:34Z</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/1591526#M266121</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you can do something like this :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;parameters : r1 radiobutton grorp r1 user-command ucom,&lt;/P&gt;&lt;P&gt;             r2 radiobutton group r1,&lt;/P&gt;&lt;P&gt;             kunnr like kna1-kunnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at selection-screen output.&lt;/P&gt;&lt;P&gt;if r1 = 'X'.&lt;/P&gt;&lt;P&gt;loop at screen.&lt;/P&gt;&lt;P&gt;if screen-name = 'KUNNR'.&lt;/P&gt;&lt;P&gt;screen-required = '0'.&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;else.&lt;/P&gt;&lt;P&gt;loop at screen.&lt;/P&gt;&lt;P&gt;if screen-name = 'KUNNR'.&lt;/P&gt;&lt;P&gt;screen-required = '0'.&lt;/P&gt;&lt;P&gt;modify screen.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Sep 2006 04:17:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-problem/m-p/1591526#M266121</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-19T04:17: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/1591527#M266122</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you can do something like this :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;parameters : r1 radiobutton grorp r1 user-command ucom,&lt;/P&gt;&lt;P&gt;r2 radiobutton group r1,&lt;/P&gt;&lt;P&gt;kunnr like kna1-kunnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at selection-screen output.&lt;/P&gt;&lt;P&gt;if r1 = 'X'.&lt;/P&gt;&lt;P&gt;loop at screen.&lt;/P&gt;&lt;P&gt;if screen-name = 'KUNNR'.&lt;/P&gt;&lt;P&gt;*required&lt;/P&gt;&lt;P&gt;screen-required = '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;else.&lt;/P&gt;&lt;P&gt;loop at screen.&lt;/P&gt;&lt;P&gt;if screen-name = 'KUNNR'.&lt;/P&gt;&lt;P&gt;*not required&lt;/P&gt;&lt;P&gt;screen-required = '0'.&lt;/P&gt;&lt;P&gt;modify screen.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Sep 2006 04:18:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-problem/m-p/1591527#M266122</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-19T04:18:50Z</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/1591528#M266123</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi SS , &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;u have to put like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if not c1 is initial.&lt;/P&gt;&lt;P&gt;loop at screen.&lt;/P&gt;&lt;P&gt;screen-name   = KUNNR.&lt;/P&gt;&lt;P&gt;screen-required = '1'.&lt;/P&gt;&lt;P&gt;modify screen.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Prabhu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Sep 2006 04:19:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-problem/m-p/1591528#M266123</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-19T04:19:28Z</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/1591529#M266124</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;before evrything try to understand the sequence ofa reprot programming.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thn next time u can solve ur issue by urself.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;chk this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First event -&lt;/P&gt;&lt;P&gt;Initialization : triggered when the report is loaded in memory. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At selection-screen output : triggered when the selection screen is loaded in memory before being displayed. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At selection-screen : before leaving the selection screen. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so where do u want to do the validaion.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ya in&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At selection-screen&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if c1 is not initial and KUNNR is initial.&lt;/P&gt;&lt;P&gt;give ur message.&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;hope u undrstud.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rgds&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;anver&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if helepd mark points&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Sep 2006 04:51:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-problem/m-p/1591529#M266124</guid>
      <dc:creator>anversha_s</dc:creator>
      <dc:date>2006-09-19T04:51:25Z</dc:date>
    </item>
  </channel>
</rss>

