<?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: radio button value not changing in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/radio-button-value-not-changing/m-p/1416255#M200225</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Manas,&lt;/P&gt;&lt;P&gt;   YOu can define two differnt parameters to hold the file paths for application and presentation servers.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 27 Jun 2006 10:25:54 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-06-27T10:25:54Z</dc:date>
    <item>
      <title>radio button value not changing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/radio-button-value-not-changing/m-p/1416254#M200224</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;guyz!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have one problem. in my selection screen, i am having one input file path and two radio buttons. one radio button for application server and the other one is for presentation server.when i'll select the radio button application server, the input help associated with input file path should show application server directory, and when i'll select radio button presentation server, it should show me directories in local work station. but my problem is, when i'm selecting presentation server radio button the respective value for that is not triggering. so as a result it is showing all the files in application server. so wat i got to do over here?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thnx &amp;amp; regds&lt;/P&gt;&lt;P&gt;manas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Jun 2006 10:22:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/radio-button-value-not-changing/m-p/1416254#M200224</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-27T10:22:45Z</dc:date>
    </item>
    <item>
      <title>Re: radio button value not changing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/radio-button-value-not-changing/m-p/1416255#M200225</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Manas,&lt;/P&gt;&lt;P&gt;   YOu can define two differnt parameters to hold the file paths for application and presentation servers.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Jun 2006 10:25:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/radio-button-value-not-changing/m-p/1416255#M200225</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-27T10:25:54Z</dc:date>
    </item>
    <item>
      <title>Re: radio button value not changing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/radio-button-value-not-changing/m-p/1416256#M200226</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I guess you have written your own code for the Help request on the file field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In that code, you need to check which radio button is active and call the appropriate function that will show the files either from the app server or the prez server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Jun 2006 10:27:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/radio-button-value-not-changing/m-p/1416256#M200226</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-27T10:27:42Z</dc:date>
    </item>
    <item>
      <title>Re: radio button value not changing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/radio-button-value-not-changing/m-p/1416257#M200227</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ravi  is  rite   u  have   to  make  diffrent  parameter for   both type  of  file  depending  on radio  button.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Parameters: rd1 RADIOBUTTON group g1 default 'X' user-command ch ,&lt;/P&gt;&lt;P&gt;            kishan1(10) type c  modif id ID1,&lt;/P&gt;&lt;P&gt;            rd2 RADIOBUTTON group g1 ,&lt;/P&gt;&lt;P&gt;            kishan2(10) TYPE C  modif  id ID2,&lt;/P&gt;&lt;P&gt;            &lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN.&lt;/P&gt;&lt;P&gt;check sy-ucomm = 'CH'.&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN output.&lt;/P&gt;&lt;P&gt;IF rd1 = '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 = 'ID2' .&lt;/P&gt;&lt;P&gt;screen-ACTIVE = '0'.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&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;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF RD2 = 'X'.&lt;/P&gt;&lt;P&gt;LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;IF screen-group1 = 'ID1' .&lt;/P&gt;&lt;P&gt;screen-ACTIVE = '0'.&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;&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;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;IF RD1 = 'X' .&lt;/P&gt;&lt;P&gt;CLEAR : KISHAN2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;IF RD2 = 'X' .&lt;/P&gt;&lt;P&gt;CLEAR : KISHAN1.&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;u  can  use  this  logic  to fullfill ur  requirment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now   for  file ...&lt;/P&gt;&lt;P&gt;*--F4 FILE HELP for detail legacy file from app. server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN ON VALUE-REQUEST FOR kishan1.&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'F4_FILENAME'&lt;/P&gt;&lt;P&gt;   EXPORTING&lt;/P&gt;&lt;P&gt;     program_name        = syst-cprog&lt;/P&gt;&lt;P&gt;     dynpro_number       = syst-dynnr&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    FIELD_NAME          = ' '&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;   IMPORTING&lt;/P&gt;&lt;P&gt;     file_name           = p_syfilh .&lt;/P&gt;&lt;P&gt;*----&lt;/P&gt;&lt;HR originaltext="---------------------------------" /&gt;&lt;P&gt;*--F4 FILE HELP for detail legacy file from local PC&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN ON VALUE-REQUEST FOR kishan2.                         .&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'F4_FILENAME'&lt;/P&gt;&lt;P&gt;   EXPORTING&lt;/P&gt;&lt;P&gt;     program_name        = syst-cprog&lt;/P&gt;&lt;P&gt;     dynpro_number       = syst-dynnr&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;         FIELD_NAME          = ' '&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;   IMPORTING&lt;/P&gt;&lt;P&gt;     file_name           = p_syfild.&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Jun 2006 10:29:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/radio-button-value-not-changing/m-p/1416257#M200227</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-27T10:29:47Z</dc:date>
    </item>
    <item>
      <title>Re: radio button value not changing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/radio-button-value-not-changing/m-p/1416258#M200228</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here we go...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;report ztest_tm.

**   SELECTON SCREEN

SELECTION-SCREEN BEGIN OF BLOCK selscr.
PARAMETERS: p_rad1   RADIOBUTTON GROUP rad1 USER-COMMAND a DEFAULT 'X'.
PARAMETERS: p_rad2   RADIOBUTTON GROUP rad1.
SELECTION-SCREEN BEGIN OF LINE.

SELECTION-SCREEN COMMENT 1(20) text-001 FOR FIELD p_sfile MODIF ID mo1.
PARAMETERS : p_sfile(100) TYPE c MODIF ID mo1
    DEFAULT '\serverDATATABLE.TXT'.
SELECTION-SCREEN END OF LINE.

SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 1(20) text-001 FOR FIELD p_gfile MODIF ID mo2
.
PARAMETERS : p_gfile(100) TYPE c MODIF ID mo2
    DEFAULT 'C:DATATABLE.TXT'.
SELECTION-SCREEN END OF LINE.

SELECTION-SCREEN END OF BLOCK selscr.

* At selection Screen Output Event
AT SELECTION-SCREEN OUTPUT.

  IF p_rad1 EQ 'X'.
    LOOP AT SCREEN.
      IF  screen-group1 = 'MO2'.
        screen-input = 0.
        screen-invisible = 1.
        MODIFY SCREEN.
      ENDIF.
    ENDLOOP.
  ELSE.
    LOOP AT SCREEN.
      IF screen-group1 = 'MO1'.
        screen-input = 0.
        screen-invisible = 1.
        MODIFY SCREEN.
      ENDIF.
    ENDLOOP.
  ENDIF.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Jun 2006 10:30:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/radio-button-value-not-changing/m-p/1416258#M200228</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-27T10:30:37Z</dc:date>
    </item>
    <item>
      <title>Re: radio button value not changing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/radio-button-value-not-changing/m-p/1416259#M200229</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;write ur code &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;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if it helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Gunjan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Jun 2006 10:34:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/radio-button-value-not-changing/m-p/1416259#M200229</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-27T10:34:52Z</dc:date>
    </item>
    <item>
      <title>Re: radio button value not changing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/radio-button-value-not-changing/m-p/1416260#M200230</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Manas,&lt;/P&gt;&lt;P&gt;  check the following code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
PARAMETER: r_prs  RADIOBUTTON GROUP g1 USER-COMMAND radio1 DEFAULT 'X',
           r_apps  RADIOBUTTON GROUP g1 .

at selection-screen output.
  if r_prs = 'X'.
   write 'presentation server'.
elseif r_apps = 'X'.
  write 'application server'.
endif.


&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope it helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kinshuk&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Jun 2006 10:38:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/radio-button-value-not-changing/m-p/1416260#M200230</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-27T10:38:01Z</dc:date>
    </item>
    <item>
      <title>Re: radio button value not changing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/radio-button-value-not-changing/m-p/1416261#M200231</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;guyz!&lt;/P&gt;&lt;P&gt;thnx a lot for your wonderful ideas. but let me make clear about one thing. my input file path is only one. but two radio buttons. depending on the radio button i chose, it has to show files either in app server or in prez server. and this logic i have written in my at selection-screen on value request. but my problem is, even though i am selecting presentation server radio button,its value is not changing. still the value is '' i.e. space. so respective function module is not getting invoked.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regds&lt;/P&gt;&lt;P&gt;manas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Jun 2006 10:51:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/radio-button-value-not-changing/m-p/1416261#M200231</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-27T10:51:26Z</dc:date>
    </item>
    <item>
      <title>Re: radio button value not changing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/radio-button-value-not-changing/m-p/1416262#M200232</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;Need to do some things...., i faced the similar one before.call the FM marked in bold and see the coding.implement the same this will work definitely.&lt;/P&gt;&lt;P&gt;copy paste and see.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;REPORT  ZTEST_REPORT1                           .
DATA: V_FILE TYPE STRING,
      V_FILE1(120).


PARAMETERS: P_FILE(120) LOWER CASE.
PARAMETERS: P_APPL RADIOBUTTON GROUP G1 user-command ABC default 'X',
            P_PRES RADIOBUTTON GROUP G1.



AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_FILE.
  DATA IT_FIELDVALUES TYPE DYNPREAD OCCURS 0 WITH HEADER LINE.

  IT_FIELDVALUES-FIELDNAME = 'P_PRES'.
  APPEND IT_FIELDVALUES.
  IT_FIELDVALUES-FIELDNAME = 'P_APPL'.
  APPEND IT_FIELDVALUES.


  &amp;lt;b&amp;gt;CALL FUNCTION 'DYNP_VALUES_READ'
    EXPORTING
      DYNAME                         = SY-REPID
      DYNUMB                         = SY-DYNNR
    TABLES
      DYNPFIELDS                     = IT_FIELDVALUES
   EXCEPTIONS
     INVALID_ABAPWORKAREA           = 1
     INVALID_DYNPROFIELD            = 2
     INVALID_DYNPRONAME             = 3
     INVALID_DYNPRONUMMER           = 4
     INVALID_REQUEST                = 5
     NO_FIELDDESCRIPTION            = 6
     INVALID_PARAMETER              = 7
     UNDEFIND_ERROR                 = 8
     DOUBLE_CONVERSION              = 9
     STEPL_NOT_FOUND                = 10
     OTHERS                         = 11
            .
  IF SY-SUBRC &amp;lt;&amp;gt; 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
  ENDIF.&amp;lt;/b&amp;gt;
  READ TABLE IT_FIELDVALUES WITH KEY FIELDNAME = 'P_APPL'.
  IF IT_FIELDVALUES-FIELDVALUE = 'X'.
    DATA: L_PATH  LIKE DXFIELDS-LONGPATH ,
          L_ABEND_FLAG LIKE DXFIELDS-ABENDFLAG .
    CALL FUNCTION 'F4_DXFILENAME_TOPRECURSION'
      EXPORTING
        I_LOCATION_FLAG       = 'A'
        I_SERVER              = ' '
        I_PATH                = '/usr/users/'
      IMPORTING
        O_PATH                = L_PATH
        ABEND_FLAG            = L_ABEND_FLAG
      EXCEPTIONS
        COMMUNICATION_FAILURE = 1
        SYSTEM_FAILURE        = 2
        RFC_ERROR             = 3.
    IF SY-SUBRC EQ 0.
      P_FILE = L_PATH.
    ENDIF.
    IF L_ABEND_FLAG = 'X'.
      EXIT.
    ENDIF.
  ELSE.
    DATA: FILE LIKE RLGRAP-FILENAME.
    CALL FUNCTION 'F4_FILENAME'
      EXPORTING
        PROGRAM_NAME  = SYST-CPROG
        DYNPRO_NUMBER = SYST-DYNNR
        FIELD_NAME    = ' '
      IMPORTING
        FILE_NAME     = FILE.
    IF SY-SUBRC = 0.
      P_FILE = FILE.
      V_FILE = P_FILE.
    ENDIF.
  ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&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>Tue, 27 Jun 2006 11:08:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/radio-button-value-not-changing/m-p/1416262#M200232</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-27T11:08:36Z</dc:date>
    </item>
    <item>
      <title>Re: radio button value not changing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/radio-button-value-not-changing/m-p/1416263#M200233</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Vijay Babu Dudla &lt;/P&gt;&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;THNX A LOT. SUPERB. LIKED UR SOLUTION. SIMPLY SUPERB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;THNX&lt;/P&gt;&lt;P&gt;MANAS&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Jun 2006 11:31:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/radio-button-value-not-changing/m-p/1416263#M200233</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-27T11:31:59Z</dc:date>
    </item>
  </channel>
</rss>

