<?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: Fetching Radio button value in Module Pool in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/fetching-radio-button-value-in-module-pool/m-p/7842575#M1591067</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) In Screen Painter select all the 4 Radio buttons and then group them &lt;/P&gt;&lt;P&gt;2) in Top include define 4 variable with the same names as provided in the screen painter&lt;/P&gt;&lt;P&gt;lets say on Screen you named them as RAD1, RAD2 etc then in TOP Include&lt;/P&gt;&lt;P&gt;optionally you can assign a Function Code to it&lt;/P&gt;&lt;P&gt;data : RAD1(1) TYPE C, &lt;/P&gt;&lt;P&gt;         RAD2(1) TYPE C. etc&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;any where in the program you can check&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;if RAD1 = 'X'.

elseif RAD2 = 'X'.

etc

ENDIF

loop at screen.
if screen-name = 'RAD1' " This you need to check i.e., SCREEN-NAME = 'RAD1'
ENDIF.
endloop.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;and make sure all the components of module pool program like screens top include flow logic and other includes and the mailn program are all activated&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheerz&lt;/P&gt;&lt;P&gt;Ram&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 10 May 2011 12:32:48 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-05-10T12:32:48Z</dc:date>
    <item>
      <title>Fetching Radio button value in Module Pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fetching-radio-button-value-in-module-pool/m-p/7842574#M1591066</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 created a module pool program with 4 radio buttons. I have created a group for these radio buttons "RADIO'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now i have to check which radio button is selected . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried using loop at screen in PBO to check the values of radio button. But the radio button name 'RAD1 , RAD2 etc is not identified.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Subha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 May 2011 12:06:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fetching-radio-button-value-in-module-pool/m-p/7842574#M1591066</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-05-10T12:06:33Z</dc:date>
    </item>
    <item>
      <title>Re: Fetching Radio button value in Module Pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fetching-radio-button-value-in-module-pool/m-p/7842575#M1591067</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) In Screen Painter select all the 4 Radio buttons and then group them &lt;/P&gt;&lt;P&gt;2) in Top include define 4 variable with the same names as provided in the screen painter&lt;/P&gt;&lt;P&gt;lets say on Screen you named them as RAD1, RAD2 etc then in TOP Include&lt;/P&gt;&lt;P&gt;optionally you can assign a Function Code to it&lt;/P&gt;&lt;P&gt;data : RAD1(1) TYPE C, &lt;/P&gt;&lt;P&gt;         RAD2(1) TYPE C. etc&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;any where in the program you can check&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;if RAD1 = 'X'.

elseif RAD2 = 'X'.

etc

ENDIF

loop at screen.
if screen-name = 'RAD1' " This you need to check i.e., SCREEN-NAME = 'RAD1'
ENDIF.
endloop.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;and make sure all the components of module pool program like screens top include flow logic and other includes and the mailn program are all activated&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheerz&lt;/P&gt;&lt;P&gt;Ram&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 May 2011 12:32:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fetching-radio-button-value-in-module-pool/m-p/7842575#M1591067</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-05-10T12:32:48Z</dc:date>
    </item>
  </channel>
</rss>

