<?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: report in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/report/m-p/2085831#M433120</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Balu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are talking simply about radiobuttons, then if you create two or three radiobuttons in your report and desire that they should behave in a mutually exclusive way, then you can assign them all to one group, which will make only one radiobutton to be selected at a time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;eg.&lt;/P&gt;&lt;P&gt;     parameters: r1 radiobutton group g1 default 'X',&lt;/P&gt;&lt;P&gt;                       r2 radiobutton group g1,&lt;/P&gt;&lt;P&gt;                       r3 radiobutton group g1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However if you want a block (of fields) to be disabled when another radiobutton has been enabled, you can go in this way :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      At selection-screen output.&lt;/P&gt;&lt;P&gt;           if r1 = 'X'.   "checking which radiobutton is selected&lt;/P&gt;&lt;P&gt;               loop at screen.&lt;/P&gt;&lt;P&gt;                      if screen-name = 'AGE'. "checking the name of the field which has &lt;/P&gt;&lt;P&gt;                                                         "to be disabled&lt;/P&gt;&lt;P&gt;                         screen-input = '0'.       "disabling the field&lt;/P&gt;&lt;P&gt;                         modify screen.&lt;/P&gt;&lt;P&gt;                      endif.&lt;/P&gt;&lt;P&gt;               endloop.&lt;/P&gt;&lt;P&gt;           else.&lt;/P&gt;&lt;P&gt;              loop at screen.&lt;/P&gt;&lt;P&gt;                   if screen-name = 'NAME'.&lt;/P&gt;&lt;P&gt;                      screen-input = '0'.&lt;/P&gt;&lt;P&gt;                      modify screen.&lt;/P&gt;&lt;P&gt;                   endif.&lt;/P&gt;&lt;P&gt;              endloop.&lt;/P&gt;&lt;P&gt;           endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope, this helps you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 16 Apr 2007 04:54:58 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-04-16T04:54:58Z</dc:date>
    <item>
      <title>report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/report/m-p/2085826#M433115</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi in reports if i select one radio button the second should be in disable mode ..how to do this ? what is the code for this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Apr 2007 04:40:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/report/m-p/2085826#M433115</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-16T04:40:14Z</dc:date>
    </item>
    <item>
      <title>Re: report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/report/m-p/2085827#M433116</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Balu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If u want to disable a block plz go through this code u can understand.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; AT SELECTION-SCREEN OUTPUT.&lt;/P&gt;&lt;P&gt; LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt; IF SCREEN-GROUP1 = 'RAF'.&lt;/P&gt;&lt;P&gt;   IF VAL = 1.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;SCREEN-INPUT = 0.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;SCREEN-INVISIBLE = 1.&lt;/P&gt;&lt;P&gt; MODIFY SCREEN.&lt;/P&gt;&lt;P&gt; ELSE.&lt;/P&gt;&lt;P&gt;  VAL = 2.&lt;/P&gt;&lt;P&gt;*SCREEN-INPUT = 1.&lt;/P&gt;&lt;P&gt;SCREEN-INVISIBLE = 0.&lt;/P&gt;&lt;P&gt; MODIFY SCREEN.&lt;/P&gt;&lt;P&gt;   ENDIF.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   AT SELECTION-SCREEN ON CUST.&lt;/P&gt;&lt;P&gt;   SELECT SINGLE * FROM KNA1 WHERE KUNNR = CUST.&lt;/P&gt;&lt;P&gt;   IF SY-SUBRC &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;   MESSAGE E000(0) WITH 'ENTER CURRECT INPUT'.&lt;/P&gt;&lt;P&gt;   EXIT.&lt;/P&gt;&lt;P&gt;   ELSE.&lt;/P&gt;&lt;P&gt;    VAL = 2.&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;    SELECT VBELN ERDAT NETWR FROM VBAK INTO TABLE ITAB WHERE KUNNR =&lt;/P&gt;&lt;P&gt;CUST OR VKORG = SALES OR VTWEG = DCH .&lt;/P&gt;&lt;P&gt;LOOP AT ITAB.&lt;/P&gt;&lt;P&gt;WRITE : / ITAB-VBELN, ITAB-ERDAT, ITAB-NETWR.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rewards some points.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds,&lt;/P&gt;&lt;P&gt;P.Nag&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Apr 2007 04:46:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/report/m-p/2085827#M433116</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-16T04:46:17Z</dc:date>
    </item>
    <item>
      <title>Re: report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/report/m-p/2085828#M433117</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;      For a radio button, second button is always disabled when u select the first one. But make sure that both the radio buttons are under same group.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;eg: PARAMETERS: rb_typ RADIOBUTTON GROUP g1 DEFAULT 'X'.&lt;/P&gt;&lt;P&gt;    PARAMETERS: rb_grp RADIOBUTTON GROUP g1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Sekhar.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Apr 2007 04:47:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/report/m-p/2085828#M433117</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-16T04:47:53Z</dc:date>
    </item>
    <item>
      <title>Re: report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/report/m-p/2085829#M433118</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Kindly let us  know how many radio buttons are there?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Apr 2007 04:50:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/report/m-p/2085829#M433118</guid>
      <dc:creator>former_member873340</dc:creator>
      <dc:date>2007-04-16T04:50:59Z</dc:date>
    </item>
    <item>
      <title>Re: report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/report/m-p/2085830#M433119</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Balu,&lt;/P&gt;&lt;P&gt;            try this code &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;parameters: p_check4 as checkbox user-command ucom,&lt;/P&gt;&lt;P&gt;                   p_check5 as checkbox user-command ucom,&lt;/P&gt;&lt;P&gt;                  p_check1 as checkbox default 'X' modif id ABC,&lt;/P&gt;&lt;P&gt;                  p_check2 as checkbox modif id BCD,&lt;/P&gt;&lt;P&gt;                  p_check3 as checkbox modif id CDE,&lt;/P&gt;&lt;P&gt;                  p_check6 as checkbox user-command ucom.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; parameters: p_matnr like mara-matnr modif id ABC.&lt;/P&gt;&lt;P&gt; parameters: p_werks like marc-werks modif id BCD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; at selection-screen output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if not p_check1 is initial.&lt;/P&gt;&lt;P&gt;loop at screen.&lt;/P&gt;&lt;P&gt;if screen-group1 &amp;lt;&amp;gt; 'ABC' and screen-group1 &amp;lt;&amp;gt; ' '.&lt;/P&gt;&lt;P&gt;screen-input = '0'.&lt;/P&gt;&lt;P&gt;modify screen.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at selection-screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if p_check1 is initial.&lt;/P&gt;&lt;P&gt;loop at screen.&lt;/P&gt;&lt;P&gt;if screen-group1 &amp;lt;&amp;gt; 'ABC'.&lt;/P&gt;&lt;P&gt;screen-input = '1'.&lt;/P&gt;&lt;P&gt;modify screen.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;endloop.&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;if this helps u reward points&lt;/P&gt;&lt;P&gt;ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Apr 2007 04:51:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/report/m-p/2085830#M433119</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-16T04:51:42Z</dc:date>
    </item>
    <item>
      <title>Re: report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/report/m-p/2085831#M433120</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Balu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are talking simply about radiobuttons, then if you create two or three radiobuttons in your report and desire that they should behave in a mutually exclusive way, then you can assign them all to one group, which will make only one radiobutton to be selected at a time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;eg.&lt;/P&gt;&lt;P&gt;     parameters: r1 radiobutton group g1 default 'X',&lt;/P&gt;&lt;P&gt;                       r2 radiobutton group g1,&lt;/P&gt;&lt;P&gt;                       r3 radiobutton group g1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However if you want a block (of fields) to be disabled when another radiobutton has been enabled, you can go in this way :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      At selection-screen output.&lt;/P&gt;&lt;P&gt;           if r1 = 'X'.   "checking which radiobutton is selected&lt;/P&gt;&lt;P&gt;               loop at screen.&lt;/P&gt;&lt;P&gt;                      if screen-name = 'AGE'. "checking the name of the field which has &lt;/P&gt;&lt;P&gt;                                                         "to be disabled&lt;/P&gt;&lt;P&gt;                         screen-input = '0'.       "disabling the field&lt;/P&gt;&lt;P&gt;                         modify screen.&lt;/P&gt;&lt;P&gt;                      endif.&lt;/P&gt;&lt;P&gt;               endloop.&lt;/P&gt;&lt;P&gt;           else.&lt;/P&gt;&lt;P&gt;              loop at screen.&lt;/P&gt;&lt;P&gt;                   if screen-name = 'NAME'.&lt;/P&gt;&lt;P&gt;                      screen-input = '0'.&lt;/P&gt;&lt;P&gt;                      modify screen.&lt;/P&gt;&lt;P&gt;                   endif.&lt;/P&gt;&lt;P&gt;              endloop.&lt;/P&gt;&lt;P&gt;           endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope, this helps you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Apr 2007 04:54:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/report/m-p/2085831#M433120</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-16T04:54:58Z</dc:date>
    </item>
    <item>
      <title>Re: report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/report/m-p/2085832#M433121</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Balu..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Paste this code..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;parameters:&lt;/P&gt;&lt;P&gt; p_r1 radiobutton group g1 modif id SCR &amp;lt;b&amp;gt;user-command&amp;lt;/b&amp;gt; RAM,&lt;/P&gt;&lt;P&gt; p_r2 radiobutton group g1 modif id SCB default 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &amp;lt;b&amp;gt;at selection-screen output.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt; if p_r1 = 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   loop at screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    if screen-group1 = 'SCB'.&lt;/P&gt;&lt;P&gt;      screen-INPUT = '0'.&lt;/P&gt;&lt;P&gt;       modify screen.&lt;/P&gt;&lt;P&gt;    endif.&lt;/P&gt;&lt;P&gt;   endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDIF.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Apr 2007 05:12:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/report/m-p/2085832#M433121</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-16T05:12:47Z</dc:date>
    </item>
  </channel>
</rss>

