<?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: Syntax for radio button? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-for-radio-button/m-p/2279842#M496309</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;You use the following syntax: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PARAMETERS &amp;lt;name&amp;gt; ...... RADIOBUTTON GROUP &amp;lt;radi&amp;gt;...... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;name&amp;gt; is created with type C and length 1, and is assigned to group &amp;lt;radi&amp;gt;. The maximum length of string &amp;lt;radi&amp;gt; is 4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You must assign at least two parameters to each &amp;lt;radi&amp;gt; group.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Only one parameter per group can have a default value assigned using the DEFAULT addition. The default value must be 'X'. If you do not use the DEFAULT addition, the first parameter of each group ist set to 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;e.g.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PARAMETERS: R1 RADIOBUTTON GROUP RAD1,&lt;/P&gt;&lt;P&gt;R2 RADIOBUTTON GROUP RAD1 DEFAULT 'X',&lt;/P&gt;&lt;P&gt;R3 RADIOBUTTON GROUP RAD1,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; S1 RADIOBUTTON GROUP RAD2,&lt;/P&gt;&lt;P&gt;S2 RADIOBUTTON GROUP RAD2,&lt;/P&gt;&lt;P&gt;S3 RADIOBUTTON GROUP RAD2 DEFAULT 'X'.&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;Deepak&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 26 May 2007 13:02:03 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-05-26T13:02:03Z</dc:date>
    <item>
      <title>Syntax for radio button?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-for-radio-button/m-p/2279841#M496308</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Waht is the syntax to create radiouton on the screen?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 26 May 2007 12:47:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-for-radio-button/m-p/2279841#M496308</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-26T12:47:59Z</dc:date>
    </item>
    <item>
      <title>Re: Syntax for radio button?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-for-radio-button/m-p/2279842#M496309</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;You use the following syntax: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PARAMETERS &amp;lt;name&amp;gt; ...... RADIOBUTTON GROUP &amp;lt;radi&amp;gt;...... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;name&amp;gt; is created with type C and length 1, and is assigned to group &amp;lt;radi&amp;gt;. The maximum length of string &amp;lt;radi&amp;gt; is 4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You must assign at least two parameters to each &amp;lt;radi&amp;gt; group.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Only one parameter per group can have a default value assigned using the DEFAULT addition. The default value must be 'X'. If you do not use the DEFAULT addition, the first parameter of each group ist set to 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;e.g.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PARAMETERS: R1 RADIOBUTTON GROUP RAD1,&lt;/P&gt;&lt;P&gt;R2 RADIOBUTTON GROUP RAD1 DEFAULT 'X',&lt;/P&gt;&lt;P&gt;R3 RADIOBUTTON GROUP RAD1,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; S1 RADIOBUTTON GROUP RAD2,&lt;/P&gt;&lt;P&gt;S2 RADIOBUTTON GROUP RAD2,&lt;/P&gt;&lt;P&gt;S3 RADIOBUTTON GROUP RAD2 DEFAULT 'X'.&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;Deepak&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 26 May 2007 13:02:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-for-radio-button/m-p/2279842#M496309</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-26T13:02:03Z</dc:date>
    </item>
    <item>
      <title>Re: Syntax for radio button?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-for-radio-button/m-p/2279843#M496310</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;PARAMETERS: p_radio1 RADIOBUTTON GROUP g1 USER-COMMAND comm,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;p_radio2 RADIOBUTTON GROUP g1 DEFAULT 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At any point of time, one radi button has to be active in both the groups. If you want to have specific button to be enabled you can set the default value X to that button.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You cannot have a case, where all the radio buttons in a group are unchecked.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward Points if it is helpful&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Seshu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 26 May 2007 13:02:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-for-radio-button/m-p/2279843#M496310</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-26T13:02:59Z</dc:date>
    </item>
    <item>
      <title>Re: Syntax for radio button?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-for-radio-button/m-p/2279844#M496311</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ajay,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;PARAMETERS: name RADIOBUTTON GROUP radi.&amp;lt;/b&amp;gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Displays the parameter on the selection screen as a radio button (selection field). All parameters assigned in this way to the same group radi (which can be up to 4 characters long) form a group of radio buttons on the selection screen, i.e. if the user presses one of these buttons, the others are set to "not pressed". &lt;/P&gt;&lt;P&gt;When you define one of these parameters, you are not allowed to make type or length specifications. However, you can use LIKE to point to a field of length 1 and type C . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check the code for syntax of radio button&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;SELECTION-SCREEN BEGIN OF BLOCK B2 WITH FRAME TITLE T5.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 1(30) F5.
SELECTION-SCREEN POSITION 40.
PARAMETERS: ASC  RADIOBUTTON GROUP ORD,
            DESC RADIOBUTTON GROUP ORD.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN END OF BLOCK B2.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check this link for syntax and more about Radio button&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sts.tu-harburg.de/teaching/sap_r3/ABAP4/paramete.htm" target="test_blank"&gt;http://www.sts.tu-harburg.de/teaching/sap_r3/ABAP4/paramete.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Vinay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 26 May 2007 14:11:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-for-radio-button/m-p/2279844#M496311</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-26T14:11:07Z</dc:date>
    </item>
    <item>
      <title>Re: Syntax for radio button?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-for-radio-button/m-p/2279845#M496312</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Ajay,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;*Code used to Initiate the 'AT selection-screen' EVENT from radiobuttons.
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;Refer&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapdevelopment.co.uk/tips/tips_iparams.htm" target="test_blank"&gt;http://www.sapdevelopment.co.uk/tips/tips_iparams.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Santosh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 26 May 2007 14:21:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/syntax-for-radio-button/m-p/2279845#M496312</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-26T14:21:18Z</dc:date>
    </item>
  </channel>
</rss>

