<?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 validations in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-validations/m-p/1949001#M390964</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;AT SELECTION SCREEN. You have to handle this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Refer this code&lt;/P&gt;&lt;P&gt;Initiate the 'AT selection-screen' EVENT from radiobuttons.   &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In-order for the Radiobutton selection process to initiate the 'AT selection-screen' event you need to &lt;/P&gt;&lt;P&gt;add the 'USER_COMMAND' option to the parameter declaration. See code below. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*Code used to Initiate the 'AT selection-screen' EVENT from radiobuttons.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;selection-screen begin of block group with frame title text-s04.
parameters: p_sel1 type c radiobutton group sel user-command upd.
parameters: p_sel2 type c radiobutton group sel.
parameters: p_sel3 type c radiobutton group sel.
selection-screen end of block group.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapdevelopment.co.uk/reporting/selscr/selscr_sameline.htm" target="test_blank"&gt;http://www.sapdevelopment.co.uk/reporting/selscr/selscr_sameline.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapdevelopment.co.uk/reporting/selscr/selscr_loopscreen.htm" target="test_blank"&gt;http://www.sapdevelopment.co.uk/reporting/selscr/selscr_loopscreen.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Judith Jessie Selvi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 07 Feb 2007 07:06:20 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-02-07T07:06:20Z</dc:date>
    <item>
      <title>selection screen validations</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-validations/m-p/1949000#M390963</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In my selection screen i have 1. vbeln as select-options&lt;/P&gt;&lt;P&gt;                                           2. radiobutton1 &lt;/P&gt;&lt;P&gt;                                           3. radionbutton2&lt;/P&gt;&lt;P&gt;                                           4. radiobutton3     all these 3 in block.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now my requirement is when the users enters value in VBELN field and comes out of focus then Radiobuttons has to be disabled.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my problem is i am not getting in which event i have to write the logic&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i.e Either he can enter value in VBELN field or select an radiobutton.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Feb 2007 07:03:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-validations/m-p/1949000#M390963</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-07T07:03:10Z</dc:date>
    </item>
    <item>
      <title>Re: selection screen validations</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-validations/m-p/1949001#M390964</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;AT SELECTION SCREEN. You have to handle this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Refer this code&lt;/P&gt;&lt;P&gt;Initiate the 'AT selection-screen' EVENT from radiobuttons.   &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In-order for the Radiobutton selection process to initiate the 'AT selection-screen' event you need to &lt;/P&gt;&lt;P&gt;add the 'USER_COMMAND' option to the parameter declaration. See code below. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*Code used to Initiate the 'AT selection-screen' EVENT from radiobuttons.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;selection-screen begin of block group with frame title text-s04.
parameters: p_sel1 type c radiobutton group sel user-command upd.
parameters: p_sel2 type c radiobutton group sel.
parameters: p_sel3 type c radiobutton group sel.
selection-screen end of block group.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapdevelopment.co.uk/reporting/selscr/selscr_sameline.htm" target="test_blank"&gt;http://www.sapdevelopment.co.uk/reporting/selscr/selscr_sameline.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapdevelopment.co.uk/reporting/selscr/selscr_loopscreen.htm" target="test_blank"&gt;http://www.sapdevelopment.co.uk/reporting/selscr/selscr_loopscreen.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Judith Jessie Selvi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Feb 2007 07:06:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-validations/m-p/1949001#M390964</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-07T07:06:20Z</dc:date>
    </item>
    <item>
      <title>Re: selection screen validations</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-validations/m-p/1949002#M390965</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 the same in at selection-screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;use loop at screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Shiva&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Feb 2007 07:08:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-validations/m-p/1949002#M390965</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-07T07:08:17Z</dc:date>
    </item>
    <item>
      <title>Re: selection screen validations</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-validations/m-p/1949003#M390966</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;REPORT zex31 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PARAMETERS : R1 RADIOBUTTON GROUP RG USER-COMMAND R DEFAULT 'X',&lt;/P&gt;&lt;P&gt;             field1(10) modif id md1,&lt;/P&gt;&lt;P&gt;             field2(10) modif id md1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PARAMETERS : R2 RADIOBUTTON GROUP RG ,&lt;/P&gt;&lt;P&gt;             field3(10) modif id md2,&lt;/P&gt;&lt;P&gt;             field4(10) modif id md2.&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;&lt;/P&gt;&lt;P&gt; LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;  IF SCREEN-GROUP1 = 'MD1'.&lt;/P&gt;&lt;P&gt;    SCREEN-INPUT = '0'.&lt;/P&gt;&lt;P&gt;    MODIFY SCREEN.&lt;/P&gt;&lt;P&gt;    CONTINUE.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt; ENDLOOP.&lt;/P&gt;&lt;P&gt;elseif r2 = 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;  IF SCREEN-GROUP1 = 'MD2'.&lt;/P&gt;&lt;P&gt;    SCREEN-INPUT = '0'.&lt;/P&gt;&lt;P&gt;    MODIFY SCREEN.&lt;/P&gt;&lt;P&gt;    CONTINUE.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt; ENDLOOP.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;start-of-selection.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Feb 2007 07:08:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-validations/m-p/1949003#M390966</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-07T07:08:46Z</dc:date>
    </item>
    <item>
      <title>Re: selection screen validations</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-validations/m-p/1949004#M390967</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;when the cursor comes out of focus of that field i have to write the logic ,and not at selection screen  event.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Feb 2007 07:10:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-validations/m-p/1949004#M390967</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-07T07:10:46Z</dc:date>
    </item>
    <item>
      <title>Re: selection screen validations</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-validations/m-p/1949005#M390968</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;&lt;/P&gt;&lt;P&gt;At selection-screen output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at screen.&lt;/P&gt;&lt;P&gt;if screen-name = 'RADIOBUTTON1' or screen-name = 'RADIOBUTTON2' &lt;/P&gt;&lt;P&gt;or screen-name = 'RADIOBUTTON3' .&lt;/P&gt;&lt;P&gt;if vblen is not initial.&lt;/P&gt;&lt;P&gt;screen-input = '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;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sutapa.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Feb 2007 07:12:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-validations/m-p/1949005#M390968</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-07T07:12:50Z</dc:date>
    </item>
    <item>
      <title>Re: selection screen validations</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-validations/m-p/1949006#M390969</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Enter vbeln number in select options and hit enter .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
tables : vbak.

data: dynfields type table of dynpread with header line.

selection-screen begin of block b1 with frame.

select-options : so_vbeln for vbak-vbeln.
PARAMETERS : R1 RADIOBUTTON GROUP RG USER-COMMAND
              R DEFAULT 'X' modif id abc.
PARAMETERS : R2 RADIOBUTTON GROUP RG modif id abc.
PARAMETERS : R3 RADIOBUTTON GROUP RG modif id abc.
selection-screen end of block b1.

at selection-screen output.
if not so_vbeln[] is initial.
LOOP AT SCREEN.
IF screen-group1 = 'ABC' .
screen-input = '0'.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//Now my requirement is when the users enters value in VBELN field and comes out of focus then Radiobuttons has to be disabled&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what do u mean by out of focus ?&lt;/P&gt;&lt;P&gt;and brief in detial if any more modification is required.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;substituting screen-input = '0' for &lt;/P&gt;&lt;P&gt;screen-active = '0' will make the radiobuttons disappear .&lt;/P&gt;&lt;P&gt;u can try this also .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Feb 2007 07:14:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-validations/m-p/1949006#M390969</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-07T07:14:29Z</dc:date>
    </item>
    <item>
      <title>Re: selection screen validations</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-validations/m-p/1949007#M390970</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;actually i have to write the logic when the cursor is in the selection screen .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i.e after entering values in the Field and press tab (so that cursor comes out of that field) automatically radiobuttons has to be disabled.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Feb 2007 07:15:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-validations/m-p/1949007#M390970</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-07T07:15:40Z</dc:date>
    </item>
    <item>
      <title>Re: selection screen validations</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-validations/m-p/1949008#M390971</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi vijay    .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  out of focus means after entering values in the Field VBELN when press TAB&lt;/P&gt;&lt;P&gt;cursor comes out of field at that time it has to check whether the Field has value ,&lt;/P&gt;&lt;P&gt;if it has value the it should disable radiobutton..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the thing is 1. i know the logic to disable 2. how to check whether values r there or not..   my main problem is where or which event i have to write this logic.&lt;/P&gt;&lt;P&gt;if i get a solution it will be good.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Feb 2007 07:26:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-validations/m-p/1949008#M390971</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-07T07:26:07Z</dc:date>
    </item>
    <item>
      <title>Re: selection screen validations</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-validations/m-p/1949009#M390972</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi nagaraju,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. VBELN field and comes out of focus &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  In sap gui, (abap) ,&lt;/P&gt;&lt;P&gt;there is no such facility of tracing the&lt;/P&gt;&lt;P&gt;events like ON FOCUS, LOST FOCUS, etc,&lt;/P&gt;&lt;P&gt;which are available in most other programming languages like vb, vc++ etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Hence, if the user presses TAB,&lt;/P&gt;&lt;P&gt;   and the VBELN field is out of focus,&lt;/P&gt;&lt;P&gt;    there is no way we can trace this particular out of focus event.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&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;amit m.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Feb 2007 08:12:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-validations/m-p/1949009#M390972</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-07T08:12:58Z</dc:date>
    </item>
  </channel>
</rss>

