<?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: selection blocks in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-blocks/m-p/2307898#M505104</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can you pls help me out in solving this problem &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i want the code also if you can pls provide&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in the selection screen &lt;/P&gt;&lt;P&gt;first block should contain the radiobuttons &lt;/P&gt;&lt;P&gt;one for presentation server &lt;/P&gt;&lt;P&gt;second for application server&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if we select first radiobutton then we should get the block asking for the file path&lt;/P&gt;&lt;P&gt;if we select the second radiobutton then we should get the block asking for server path and file name&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 22 May 2007 06:26:45 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-05-22T06:26:45Z</dc:date>
    <item>
      <title>selection blocks</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-blocks/m-p/2307892#M505098</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;is there any possibility of coding like the following&lt;/P&gt;&lt;P&gt;IF p_1 = 'X'.(radiobutton one)&lt;/P&gt;&lt;P&gt;parameters: p_fname1 type localfile.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;IF p_2 = 'X'.(radiobutton two)&lt;/P&gt;&lt;P&gt;parameters: p_fname2 type localfile.&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;coz i need to get the parameters after i checking any of the two radiobuttons on the selection screen and on the same selection screen i should be getting the appropriate windows added at the last. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if i do so i am getting an error message saying that the "parameters cannot be defined locally(form routine or get active)"&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 May 2007 05:53:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-blocks/m-p/2307892#M505098</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-22T05:53:45Z</dc:date>
    </item>
    <item>
      <title>Re: selection blocks</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-blocks/m-p/2307893#M505099</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;PARAMETERS can only be declared in the SELECTION SCREEN.&lt;/P&gt;&lt;P&gt;But it seems you are declaring them in AT SELCTION-SCREEN  output which is wrong, so you are getting this error.&lt;/P&gt;&lt;P&gt;DO what I suggested in the previous thread.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if useful&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Anji&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 May 2007 05:57:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-blocks/m-p/2307893#M505099</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-22T05:57:09Z</dc:date>
    </item>
    <item>
      <title>Re: selection blocks</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-blocks/m-p/2307894#M505100</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes u need to modify the screen&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;go to se11 and any domain there the same logic is present.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What u have to do is depending on the radiobutton u need to make some fields ready to input and some other fields only ready to o/p/&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 May 2007 05:57:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-blocks/m-p/2307894#M505100</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-22T05:57:12Z</dc:date>
    </item>
    <item>
      <title>Re: selection blocks</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-blocks/m-p/2307895#M505101</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;Declare these all the radibuttons &amp;amp; corresponfong fiel o/o fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and hide the file field in at selection-screen output. using &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Loop at screen.&lt;/P&gt;&lt;P&gt;if P_1 eq 'X' and screen-name eq P_fname2.&lt;/P&gt;&lt;P&gt;screen-active = 0.&lt;/P&gt;&lt;P&gt;elseif P_2eq 'X' and screen-name eq P_fname1&lt;/P&gt;&lt;P&gt;screen-active = 0.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;modify screen.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Sandeep&lt;/P&gt;&lt;P&gt;Reward if helpful&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 May 2007 06:04:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-blocks/m-p/2307895#M505101</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-22T06:04:55Z</dc:date>
    </item>
    <item>
      <title>Re: selection blocks</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-blocks/m-p/2307896#M505102</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;First you should define the two parameters with MODIF ID. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;PARAMETERS: p_fname1 TYPE localfile MODIF ID p01.
PARAMETERS: p_fname2 TYPE localfile MODIF ID p02.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;In the SELECTION-SCREEN OUTPUT (PBO) section you can then (in)activate the parameters&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;AT SELECTION-SCREEN OUTPUT.
  LOOP AT SCREEN.
    CASE screen-group1.
       WHEN 'P01'.
        IF p_1 = 'X' IS INITIAL.
          screen-active = '0'.
        ELSE.
          screen-active = '1'.
        ENDIF.
       WHEN 'P02'.
        (...)
    ENDCASE.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;To insure a "good looking" assign a dummy function code to the radiobutton group. So when the user will click a button of the group, the screen will be read and the program logic will redisplay the screen. (no coding necessary for the dummy function code)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;  PARAMETERS:   p-1 RADIOBUTTON GROUP rad
                       USER-COMMAND rad DEFAULT 'X',
                p-2 RADIOBUTTON GROUP rad.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 May 2007 06:09:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-blocks/m-p/2307896#M505102</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2007-05-22T06:09:31Z</dc:date>
    </item>
    <item>
      <title>Re: selection blocks</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-blocks/m-p/2307897#M505103</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;Yes. i agree with Sandeep what he suggested. You have to first declare which are all Parameters you want. Later on depending on conditions which parameters you want to see and which you do not want to see should be handled under event At Selection Screen Output. If you want to handle on Selection Screen Blocks then you have to write event on that Block itself.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;sksingh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 May 2007 06:11:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-blocks/m-p/2307897#M505103</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-22T06:11:01Z</dc:date>
    </item>
    <item>
      <title>Re: selection blocks</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-blocks/m-p/2307898#M505104</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can you pls help me out in solving this problem &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i want the code also if you can pls provide&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in the selection screen &lt;/P&gt;&lt;P&gt;first block should contain the radiobuttons &lt;/P&gt;&lt;P&gt;one for presentation server &lt;/P&gt;&lt;P&gt;second for application server&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if we select first radiobutton then we should get the block asking for the file path&lt;/P&gt;&lt;P&gt;if we select the second radiobutton then we should get the block asking for server path and file name&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 May 2007 06:26:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-blocks/m-p/2307898#M505104</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-22T06:26:45Z</dc:date>
    </item>
  </channel>
</rss>

