<?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: Changing Radio Button Default in Dialog Programming in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/changing-radio-button-default-in-dialog-programming/m-p/6702186#M1452518</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;Adding to all the above, check whether you have defaulted the first radio button in the PBO like &lt;STRONG&gt;R1 = 'X'&lt;/STRONG&gt;. &lt;STRONG&gt;If so, remove that&lt;/STRONG&gt;. By default the first radio button will be selected when the screen first appears. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sri.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 16 Mar 2010 04:24:16 GMT</pubDate>
    <dc:creator>sridhar_meesala</dc:creator>
    <dc:date>2010-03-16T04:24:16Z</dc:date>
    <item>
      <title>Changing Radio Button Default in Dialog Programming</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/changing-radio-button-default-in-dialog-programming/m-p/6702182#M1452514</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;G'day ABAPers,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  My problem is - I have 3 radio buttons on a screen I defined.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  When the screen is loaded the 1st radio button is defaulted with 'X'.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  When the user selects say the 3rd radio button and the screen refreshes - I want the 3rd radio button the be selected. Not the 1st.   At the moment it reverts back to the 1st radio button. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Stumping me. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Todd&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Mar 2010 00:39:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/changing-radio-button-default-in-dialog-programming/m-p/6702182#M1452514</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-16T00:39:37Z</dc:date>
    </item>
    <item>
      <title>Re: Changing Radio Button Default in Dialog Programming</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/changing-radio-button-default-in-dialog-programming/m-p/6702183#M1452515</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;Could you pleae kindly check:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. If the three radio buttons are set in the same radio button group?&lt;/P&gt;&lt;P&gt;2. If you want to set the 3rd radio button as default, please clear the variants of the other two radio buttons in PBO, and set the 3rd radio button's value to 'X' at the same place.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Mar 2010 00:52:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/changing-radio-button-default-in-dialog-programming/m-p/6702183#M1452515</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-16T00:52:53Z</dc:date>
    </item>
    <item>
      <title>Re: Changing Radio Button Default in Dialog Programming</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/changing-radio-button-default-in-dialog-programming/m-p/6702184#M1452516</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1.  Yes they are.&lt;/P&gt;&lt;P&gt;2.  Tried that and it still reverts back to the first radio button.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Mar 2010 01:04:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/changing-radio-button-default-in-dialog-programming/m-p/6702184#M1452516</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-16T01:04:37Z</dc:date>
    </item>
    <item>
      <title>Re: Changing Radio Button Default in Dialog Programming</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/changing-radio-button-default-in-dialog-programming/m-p/6702185#M1452517</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Slatter,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;1) Make sure the radio buttons are grouped in Screen Painter( and you did that) 
2) Activate all the Components of your Module Pool Program ( Screens , Includes, Modules, Flow Logic )
3) Make sure the Variables related to RADIO BUTTONS are declared in TOP Include.
4) Make sure the Screen Field Radio Buttons and Variables related to Radio buttons in TOP Include are same.

for Ex screen field Radio buttons are R1, R2, R3 

in TOP Include.

data : R1 TYPE C, R2 TYPE C, R3 TYPE C. " Optionally you can omit TYPE C.&lt;/CODE&gt;&lt;/PRE&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, 16 Mar 2010 03:53:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/changing-radio-button-default-in-dialog-programming/m-p/6702185#M1452517</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-16T03:53:16Z</dc:date>
    </item>
    <item>
      <title>Re: Changing Radio Button Default in Dialog Programming</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/changing-radio-button-default-in-dialog-programming/m-p/6702186#M1452518</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;Adding to all the above, check whether you have defaulted the first radio button in the PBO like &lt;STRONG&gt;R1 = 'X'&lt;/STRONG&gt;. &lt;STRONG&gt;If so, remove that&lt;/STRONG&gt;. By default the first radio button will be selected when the screen first appears. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sri.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Mar 2010 04:24:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/changing-radio-button-default-in-dialog-programming/m-p/6702186#M1452518</guid>
      <dc:creator>sridhar_meesala</dc:creator>
      <dc:date>2010-03-16T04:24:16Z</dc:date>
    </item>
  </channel>
</rss>

