<?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: checkbox in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/checkbox/m-p/3269567#M781514</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;selection-screen begin of block disp.&lt;/P&gt;&lt;P&gt;parameters:&lt;/P&gt;&lt;P&gt;  p_dis1 type flag radiobutton group disp,&lt;/P&gt;&lt;P&gt;  p_dis2 type flag radiobutton group disp,&lt;/P&gt;&lt;P&gt;  p_dis3 type flag radiobutton group disp.&lt;/P&gt;&lt;P&gt;selection-screen end of block disp.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;selection-screen begin of block disp.&lt;/P&gt;&lt;P&gt;parameters:&lt;/P&gt;&lt;P&gt;  p_dis1 type flag radiobutton group disp,&lt;/P&gt;&lt;P&gt;  p_dis2 type flag radiobutton group disp,&lt;/P&gt;&lt;P&gt;  p_dis3 type flag radiobutton group disp.&lt;/P&gt;&lt;P&gt;selection-screen end of block disp.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;START-OF-SELECTION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF  p_dis1 EQ 'X'.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;switch to display customer data like wise&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt; LOOP AT itab .&lt;/P&gt;&lt;P&gt;  Put " IF "  to get customerwise data&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  ELSEIF p_dis2.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;switch for different output display&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;   Put  " IF " condition to get required result&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ELSE.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;switch for different output display&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;     Put  " IF " condition to get required result&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Don't forget to reward if useful.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;case 'X'.&lt;/P&gt;&lt;P&gt;  when p_dis1.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;switch to display customer data like wise&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  when p_dis2.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;switch for different output display&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  when p_dis3.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;switch for different output display&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;endcase.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 21 Jan 2008 05:29:32 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-01-21T05:29:32Z</dc:date>
    <item>
      <title>checkbox</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/checkbox/m-p/3269562#M781509</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 three check boxs for different output display. wht my requirement is if i press one check box ---&amp;gt; execute it have to display customer data like wise different boxes for different output display. how can i do it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 20 Jan 2008 12:30:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/checkbox/m-p/3269562#M781509</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-20T12:30:43Z</dc:date>
    </item>
    <item>
      <title>Re: checkbox</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/checkbox/m-p/3269563#M781510</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;put three checkboxes on screen. say ch1, ch2, ch3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in logic, &lt;/P&gt;&lt;P&gt;if ch1 = 'X'.&lt;/P&gt;&lt;P&gt;______&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;elseif ch2 = '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;else ch3 = '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;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;kindly reward if helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 20 Jan 2008 12:49:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/checkbox/m-p/3269563#M781510</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-20T12:49:42Z</dc:date>
    </item>
    <item>
      <title>Re: checkbox</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/checkbox/m-p/3269564#M781511</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi surendra,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what you describe smells like radio buttons.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
selection-screen begin of block disp.
parameters:
  p_dis1 type flag radiobutton group disp,
  p_dis2 type flag radiobutton group disp,
  p_dis3 type flag radiobutton group disp.
selection-screen end of block disp.

at selection-screen on block disp.
case 'X'.
  when p_dis1.
* switch to display customer data like wise
  when p_dis2.
* switch for different output display
  when p_dis3.
* switch for different output display
endcase.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Soething like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Clemens&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 20 Jan 2008 15:51:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/checkbox/m-p/3269564#M781511</guid>
      <dc:creator>Clemenss</dc:creator>
      <dc:date>2008-01-20T15:51:19Z</dc:date>
    </item>
    <item>
      <title>Re: checkbox</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/checkbox/m-p/3269565#M781512</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 you use checkbox there is a possibility of selecting all the three check boxes. Instead of check boxes you can use radio buttons. If your requirment is to use only checkboxes you can use the below code and at any given point of time user has to select only one checkbox that validation can be done in the at selection-screen event.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below is the full code :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;selection-screen begin of block b1 with frame title text-001.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PARAMETERS: c1 AS CHECKBOX DEFAULT &amp;#146;X&amp;#146;,&lt;/P&gt;&lt;P&gt;                        c2 as checkbox,&lt;/P&gt;&lt;P&gt;                        c3 as checkbox.&lt;/P&gt;&lt;P&gt;selection-screen end of block b1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if c1 = 'X' and c2 = 'X'.&lt;/P&gt;&lt;P&gt;message 'Two checkboxes should not be selected' type 'E'.&lt;/P&gt;&lt;P&gt;elseif c1 = 'X' and C3 = 'X'.&lt;/P&gt;&lt;P&gt;message 'Two checkboxes should not be selected' type 'E'.&lt;/P&gt;&lt;P&gt;elseif c2 = 'X' and C3 = 'X'.&lt;/P&gt;&lt;P&gt;message 'Two checkboxes should not be selected' type 'E'.&lt;/P&gt;&lt;P&gt;elseif C1 = 'X' and C2 = 'X' and C3 = 'X'.&lt;/P&gt;&lt;P&gt;message 'Three checkboxes should not be selected' type 'E'.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;start-of-selection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If C1 = 'X'.&lt;/P&gt;&lt;P&gt;"Here comes your select statemen to retrive Customer data use perform&lt;/P&gt;&lt;P&gt;elseif C2 = 'X'.&lt;/P&gt;&lt;P&gt;"Here comes your related select statement for second requirement use perform&lt;/P&gt;&lt;P&gt;elseif C3 = 'X'.&lt;/P&gt;&lt;P&gt;"Here comes your related select statement for second requirement use perform.&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;Thanks,&lt;/P&gt;&lt;P&gt;Sriram Ponna.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 20 Jan 2008 18:07:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/checkbox/m-p/3269565#M781512</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-20T18:07:56Z</dc:date>
    </item>
    <item>
      <title>Re: checkbox</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/checkbox/m-p/3269566#M781513</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;but it is not retriving from select statement, we have to display the data which we uploaded to internal table using FM UP_LOAD. this data should we have show if we select the check box and click on execute.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;send sample source code please.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks for reply&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Jan 2008 05:13:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/checkbox/m-p/3269566#M781513</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-21T05:13:50Z</dc:date>
    </item>
    <item>
      <title>Re: checkbox</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/checkbox/m-p/3269567#M781514</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;selection-screen begin of block disp.&lt;/P&gt;&lt;P&gt;parameters:&lt;/P&gt;&lt;P&gt;  p_dis1 type flag radiobutton group disp,&lt;/P&gt;&lt;P&gt;  p_dis2 type flag radiobutton group disp,&lt;/P&gt;&lt;P&gt;  p_dis3 type flag radiobutton group disp.&lt;/P&gt;&lt;P&gt;selection-screen end of block disp.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;selection-screen begin of block disp.&lt;/P&gt;&lt;P&gt;parameters:&lt;/P&gt;&lt;P&gt;  p_dis1 type flag radiobutton group disp,&lt;/P&gt;&lt;P&gt;  p_dis2 type flag radiobutton group disp,&lt;/P&gt;&lt;P&gt;  p_dis3 type flag radiobutton group disp.&lt;/P&gt;&lt;P&gt;selection-screen end of block disp.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;START-OF-SELECTION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF  p_dis1 EQ 'X'.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;switch to display customer data like wise&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt; LOOP AT itab .&lt;/P&gt;&lt;P&gt;  Put " IF "  to get customerwise data&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  ELSEIF p_dis2.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;switch for different output display&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;   Put  " IF " condition to get required result&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ELSE.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;switch for different output display&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;     Put  " IF " condition to get required result&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Don't forget to reward if useful.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;case 'X'.&lt;/P&gt;&lt;P&gt;  when p_dis1.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;switch to display customer data like wise&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  when p_dis2.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;switch for different output display&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  when p_dis3.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;switch for different output display&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;endcase.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Jan 2008 05:29:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/checkbox/m-p/3269567#M781514</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-21T05:29:32Z</dc:date>
    </item>
    <item>
      <title>Re: checkbox</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/checkbox/m-p/3269568#M781515</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;    You can use the following code....&lt;/P&gt;&lt;P&gt;if chbox1 = 'X'&lt;/P&gt;&lt;P&gt;   Code1 for execution&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if chbox2 = 'X'&lt;/P&gt;&lt;P&gt;   Code2 for execution&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if chbox3 = 'X'&lt;/P&gt;&lt;P&gt;   Code3 for execution&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If chbox1 is checked then it would hold the value 'X' .&lt;/P&gt;&lt;P&gt;Hence the If statement succeeds and the code inside the if statement is executed .&lt;/P&gt;&lt;P&gt;Similarly if chbox2 is checked then it would hol the value 'X'.&lt;/P&gt;&lt;P&gt;Hence the if statement succeeds and the code inside the if statement is executed.&lt;/P&gt;&lt;P&gt;Similarly for chbox3.&lt;/P&gt;&lt;P&gt;Kindly reward if helpful.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Jan 2008 06:05:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/checkbox/m-p/3269568#M781515</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-21T06:05:13Z</dc:date>
    </item>
  </channel>
</rss>

