<?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: if condition.. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/if-condition/m-p/2010059#M410167</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;When you put in a Radio Button and Check Box make sure of the below,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;1.&amp;lt;/b&amp;gt; When you are using Radio Button, then you should create a Radio Button Group. And in this Radio Button Group you may have multiple buttons but the fact is that atleast one Radio Button should be selected. So, whats the point in having a single Radio Button.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Coming to the solution,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you create a radio button and check box you would have assigned some variable name to them. So, use these variable names in the program to write an IF statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Say you have named radio button as rbutton and check box as cbox. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Note:&amp;lt;/b&amp;gt; When the radio button is elected or check Box is checked then the variables assigned to them will have value 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The If statement shud all propably be as below,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF rbutton = 'X' AND cbox = 'X'&lt;/P&gt;&lt;P&gt;    Functionality 1.&lt;/P&gt;&lt;P&gt;ELSIF rbutton = 'X'.&lt;/P&gt;&lt;P&gt;    Functionality 2.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3Cheers,&lt;/P&gt;&lt;P&gt;Raga Suman.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 07 Mar 2007 12:01:04 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-03-07T12:01:04Z</dc:date>
    <item>
      <title>if condition..</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/if-condition/m-p/2010057#M410165</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 a requirement like below I have 1 check box and 1 radio button&lt;/P&gt;&lt;P&gt;Check box&lt;/P&gt;&lt;P&gt;Radio button&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Suppose if I select only radiobutton  one functionality has to happen, and if I select radio button  &amp;amp; check box one functionally has to happen how to write the if condition.&lt;/P&gt;&lt;P&gt;akshitha.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Mar 2007 11:50:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/if-condition/m-p/2010057#M410165</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-07T11:50:18Z</dc:date>
    </item>
    <item>
      <title>Re: if condition..</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/if-condition/m-p/2010058#M410166</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if p_check = 'X'.&lt;/P&gt;&lt;P&gt;   WRITE YOUR FUNCTIONALITY IN A PERFORM.&lt;/P&gt;&lt;P&gt;eLSE IF P_CHECK = 'X' AND P_RAD = 'X'.&lt;/P&gt;&lt;P&gt;    WRITE THE OTHER FUNCTIONALITY HERE&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;THIS LOGIC CAN BE WRITTEN IN START-OF-SELECTION IN A REPORT.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Mar 2007 11:52:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/if-condition/m-p/2010058#M410166</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-07T11:52:28Z</dc:date>
    </item>
    <item>
      <title>Re: if condition..</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/if-condition/m-p/2010059#M410167</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;When you put in a Radio Button and Check Box make sure of the below,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;1.&amp;lt;/b&amp;gt; When you are using Radio Button, then you should create a Radio Button Group. And in this Radio Button Group you may have multiple buttons but the fact is that atleast one Radio Button should be selected. So, whats the point in having a single Radio Button.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Coming to the solution,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you create a radio button and check box you would have assigned some variable name to them. So, use these variable names in the program to write an IF statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Say you have named radio button as rbutton and check box as cbox. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Note:&amp;lt;/b&amp;gt; When the radio button is elected or check Box is checked then the variables assigned to them will have value 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The If statement shud all propably be as below,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF rbutton = 'X' AND cbox = 'X'&lt;/P&gt;&lt;P&gt;    Functionality 1.&lt;/P&gt;&lt;P&gt;ELSIF rbutton = 'X'.&lt;/P&gt;&lt;P&gt;    Functionality 2.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3Cheers,&lt;/P&gt;&lt;P&gt;Raga Suman.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Mar 2007 12:01:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/if-condition/m-p/2010059#M410167</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-07T12:01:04Z</dc:date>
    </item>
    <item>
      <title>Re: if condition..</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/if-condition/m-p/2010060#M410168</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hai akshitha...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;there is a small modification to the above code..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try this...and let me know the result...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF  IF P_CHECK = 'X' AND P_RAD = 'X'.&lt;/P&gt;&lt;P&gt;  WRITE YOUR FUNCTIONALITY IN A PERFORM.&lt;/P&gt;&lt;P&gt;ELSEIF P_CHECK = 'X'.&lt;/P&gt;&lt;P&gt;  WRITE THE OTHER FUNCTIONALITY HERE&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But u can not create a radiobutton group with a single radio button... u shuld have atleast 2 radiobuttons in a group...... Check it once..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Suresh......&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Mar 2007 12:03:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/if-condition/m-p/2010060#M410168</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-07T12:03:26Z</dc:date>
    </item>
    <item>
      <title>Re: if condition..</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/if-condition/m-p/2010061#M410169</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi akishitha,&lt;/P&gt;&lt;P&gt;                     i think single radiobutton is always selected so you have to put condition on check box only . (not sure) pls ckeck it out. but if you have mulptiple radio button then you have to put these in a group. and the condition as :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if radiobutton = ' X ' and checkbox = ' X '.&lt;/P&gt;&lt;P&gt;execute the code&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if checkbox= ' X '.&lt;/P&gt;&lt;P&gt;execute the code&lt;/P&gt;&lt;P&gt;endif. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rgds&lt;/P&gt;&lt;P&gt;Deepak .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Mar 2007 12:18:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/if-condition/m-p/2010061#M410169</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-07T12:18:26Z</dc:date>
    </item>
    <item>
      <title>Re: if condition..</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/if-condition/m-p/2010062#M410170</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;if rad1 = 'X'.&lt;/P&gt;&lt;P&gt;code..&lt;/P&gt;&lt;P&gt;elseif (chk = 'X' and rad1 = 'X').&lt;/P&gt;&lt;P&gt;code..&lt;/P&gt;&lt;P&gt;endif..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try using 2 radio buttond or 2 checkboxes instead of both radiobutton and chkbox&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;keerthi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Mar 2007 01:23:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/if-condition/m-p/2010062#M410170</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-08T01:23:33Z</dc:date>
    </item>
  </channel>
</rss>

