<?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: Radiobutton Handling in Module pool in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/radiobutton-handling-in-module-pool/m-p/4115202#M983866</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hiii&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;use like below code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;AT SELECTION-SCREEN OUTPUT .

  IF p_rad2 IS INITIAL .
    LOOP AT SCREEN.
      IF screen-name CS 'p_docno'.
        screen-active = 0.
        MODIFY SCREEN.
      ENDIF.                           " IF screen-name CS 'p_docno'.
    ENDLOOP.                           " LOOP AT SCREEN.

  ELSE.
    LOOP AT SCREEN .
      IF screen-name CS 'p_docno'.
        screen-active = 1.
        screen-input = 1.
        MODIFY SCREEN.
      ENDIF.                           " IF screen-name CS 'p_docno'.
    ENDLOOP.                           " LOOP AT SCREEN .
  ENDIF.                               " IF p_rad2 IS INITIAL .

if p_rad1 = 'X'.
call screen 100.
else.
call screen 200.
endif.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;twinkal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 08 Jul 2008 10:42:48 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-07-08T10:42:48Z</dc:date>
    <item>
      <title>Radiobutton Handling in Module pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/radiobutton-handling-in-module-pool/m-p/4115201#M983865</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;           I have requirment where in, I have to assign two radiobuttons in a group say R1 and R2, If R1 is checked call screen 100 else call screen 200. &lt;/P&gt;&lt;P&gt;           Please tell me how to go about.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ram&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jul 2008 10:39:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/radiobutton-handling-in-module-pool/m-p/4115201#M983865</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-08T10:39:10Z</dc:date>
    </item>
    <item>
      <title>Re: Radiobutton Handling in Module pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/radiobutton-handling-in-module-pool/m-p/4115202#M983866</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hiii&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;use like below code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;AT SELECTION-SCREEN OUTPUT .

  IF p_rad2 IS INITIAL .
    LOOP AT SCREEN.
      IF screen-name CS 'p_docno'.
        screen-active = 0.
        MODIFY SCREEN.
      ENDIF.                           " IF screen-name CS 'p_docno'.
    ENDLOOP.                           " LOOP AT SCREEN.

  ELSE.
    LOOP AT SCREEN .
      IF screen-name CS 'p_docno'.
        screen-active = 1.
        screen-input = 1.
        MODIFY SCREEN.
      ENDIF.                           " IF screen-name CS 'p_docno'.
    ENDLOOP.                           " LOOP AT SCREEN .
  ENDIF.                               " IF p_rad2 IS INITIAL .

if p_rad1 = 'X'.
call screen 100.
else.
call screen 200.
endif.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;twinkal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jul 2008 10:42:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/radiobutton-handling-in-module-pool/m-p/4115202#M983866</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-08T10:42:48Z</dc:date>
    </item>
    <item>
      <title>Re: Radiobutton Handling in Module pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/radiobutton-handling-in-module-pool/m-p/4115203#M983867</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;take 2  R1 AND R2 radiobuttons on the screen .assgin them to one group say G .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now inthe pai of the screen write the logic as if R1  = 'X'&lt;/P&gt;&lt;P&gt;DO SOMETHING and if R2 = 'X' do something......&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF R1 = 'X'.&lt;/P&gt;&lt;P&gt;CALL SCREEN '100'.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LIKE THAT...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jul 2008 10:43:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/radiobutton-handling-in-module-pool/m-p/4115203#M983867</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-08T10:43:15Z</dc:date>
    </item>
    <item>
      <title>Re: Radiobutton Handling in Module pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/radiobutton-handling-in-module-pool/m-p/4115204#M983868</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;add a function code to the radiobutton by going to screen painer and in the properties of radion button&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;on the pai of screen having radio buttons.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;case ok_code.&lt;/P&gt;&lt;P&gt;  when 'function_code'.&lt;/P&gt;&lt;P&gt;    if r1 = 'X'.&lt;/P&gt;&lt;P&gt;       call screen 100.&lt;/P&gt;&lt;P&gt;    else.&lt;/P&gt;&lt;P&gt;      call screen 200.&lt;/P&gt;&lt;P&gt;   endif.&lt;/P&gt;&lt;P&gt; endcase.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Aditya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jul 2008 10:43:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/radiobutton-handling-in-module-pool/m-p/4115204#M983868</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-08T10:43:41Z</dc:date>
    </item>
    <item>
      <title>Re: Radiobutton Handling in Module pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/radiobutton-handling-in-module-pool/m-p/4115205#M983869</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;Give this in the PAI of the initial screen where the radio buttons are designed..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      IF sy-ucomm = 'ENTER'.&lt;/P&gt;&lt;P&gt;        IF ra1 = 'X'.&lt;/P&gt;&lt;P&gt;          CALL SCREEN '0002'.&lt;/P&gt;&lt;P&gt;        ELSE.&lt;/P&gt;&lt;P&gt;          CALL SCREEN '0003'.&lt;/P&gt;&lt;P&gt;      ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where enter is selected once u decide on the radio button ..ENTER is a push button.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sai&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Saikumar on Jul 8, 2008 4:17 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jul 2008 10:46:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/radiobutton-handling-in-module-pool/m-p/4115205#M983869</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-08T10:46:49Z</dc:date>
    </item>
  </channel>
</rss>

