<?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: At selection screen-calling two events in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen-calling-two-events/m-p/1911521#M379444</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt; i tried the same solutions but it is still not working.&lt;/P&gt;&lt;P&gt;    i still unable to see the radio button values getting set .I tried out the code suggested by Chandrasekhar Jagarlamudi .The flag is always blank.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please help!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks and regards,&lt;/P&gt;&lt;P&gt;pallavi.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 14 Feb 2007 09:38:30 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-02-14T09:38:30Z</dc:date>
    <item>
      <title>At selection screen-calling two events</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen-calling-two-events/m-p/1911516#M379439</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 the following requirement-&lt;/P&gt;&lt;P&gt;I am supposed to have 2 radio buttons and a text box to enter a file name on the selection-screen and based on the button the user selects i need to provide F4 help for the text box. If the user selects the 1st radio button, i need to provide F4 help to get a presentation server file and if he chooses the 2nd one an F4 help for application server file needs to be triggered. &lt;/P&gt;&lt;P&gt;I have 2 at selection-screen events- one for radio button and the other for F4 help and the problem is only one gets triggered at one go.&lt;/P&gt;&lt;P&gt;Could somebody please tell me how to capture radio button values in the event at selection-screen on value request?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regatrds,&lt;/P&gt;&lt;P&gt;Pallavi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Feb 2007 08:49:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen-calling-two-events/m-p/1911516#M379439</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-14T08:49:58Z</dc:date>
    </item>
    <item>
      <title>Re: At selection screen-calling two events</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen-calling-two-events/m-p/1911517#M379440</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;in at selection-screen event  validate your radio buttons and accordingly  call the fms for the same&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Shiva&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Feb 2007 08:53:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen-calling-two-events/m-p/1911517#M379440</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-14T08:53:53Z</dc:date>
    </item>
    <item>
      <title>Re: At selection screen-calling two events</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen-calling-two-events/m-p/1911518#M379441</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;SUPPOSE YOU HAVE TWO RADIO BUTTONS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;R1 AND R2. IF R1 IS CHOOSING BY USER YOU HAVE TO SHOW F4 HELP AND IF R2 IS CLICKED YOU DONT WANT TO SHOW THE F4 HELP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_MATNR.&lt;/P&gt;&lt;P&gt;IF R1 = 'X'.&lt;/P&gt;&lt;P&gt;CALL FM F4IF_INT_TABLE_VALUE_REQUEST&amp;lt;OR WHATEVER YOU NEED&amp;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;REGARDS&lt;/P&gt;&lt;P&gt;SHIBA DUTTA&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Feb 2007 08:56:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen-calling-two-events/m-p/1911518#M379441</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-14T08:56:25Z</dc:date>
    </item>
    <item>
      <title>Re: At selection screen-calling two events</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen-calling-two-events/m-p/1911519#M379442</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;use 2 events AT SELECTION-SCREEN  and   AT SELECTION-SCREEN ON VALUE-REQUEST

data : v_flag(1).
parameters : p_rad1 radiobutton group rad user-command 'ABC',
                   p_rad2 radiobutton group rad user-command 'ABC'.

at selection-screen.

if sy-ucomm eq 'ABC'.
  if p_rad1 eq 'X'.
       v_flag = 'X'.
  elseif p_rad2 eq 'X'.
     v_flag = ' '.
  endif.
endif.


at selection-screen on value-request.

if v_flag eq 'X'.
 *call presentation server
else.
 *call application server
endif.&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Feb 2007 08:57:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen-calling-two-events/m-p/1911519#M379442</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-14T08:57:21Z</dc:date>
    </item>
    <item>
      <title>Re: At selection screen-calling two events</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen-calling-two-events/m-p/1911520#M379443</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This may help u&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;Aparameters : fname like rlgrap-filename.
      DATA : filename TYPE string.
      DATA : table1 TYPE filetable,
             rc TYPE i.
DATA : VAL LIKE DYNPREAD-FIELDVALUE.
 
data: dynfields type table of dynpread with header line.
 
PARAMETERS : R1 RADIOBUTTON GROUP RG  modif id abc.
PARAMETERS : R2 RADIOBUTTON GROUP RG modif id def.
 
AT SELECTION-SCREEN ON VALUE-REQUEST FOR fname.
 
  CALL METHOD cl_gui_frontend_services=&amp;gt;file_open_dialog
      EXPORTING
        default_filename = '*.*'
      CHANGING
        file_table       = table1
        rc               = rc.
 
    IF sy-subrc &amp;lt;&amp;gt; 0.
      MESSAGE e000(zXXX) WITH 'Error'.
    ENDIF.
 
read table table1 index 1 into fname.
 
 
IF fname cs '.XLS'.             "substitute .csv
dynfields-fieldname = 'R1'.
dynfields-fieldvalue = 'X'.
append dynfields.
dynfields-fieldname = 'R2'.
dynfields-fieldvalue = ' '.
append dynfields.
 
elseif fname cs '.DOC'.
dynfields-fieldname = 'R1'.
dynfields-fieldvalue = ' '.
append dynfields.
dynfields-fieldname = 'R2'.
dynfields-fieldvalue = 'X'.
append dynfields.
 
ENDIF.
 
call function 'DYNP_VALUES_UPDATE'
exporting
dyname = sy-cprog
dynumb = sy-dynnr
tables
dynpfields = dynfields
exceptions
others = 8.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Feb 2007 09:13:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen-calling-two-events/m-p/1911520#M379443</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-14T09:13:09Z</dc:date>
    </item>
    <item>
      <title>Re: At selection screen-calling two events</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen-calling-two-events/m-p/1911521#M379444</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt; i tried the same solutions but it is still not working.&lt;/P&gt;&lt;P&gt;    i still unable to see the radio button values getting set .I tried out the code suggested by Chandrasekhar Jagarlamudi .The flag is always blank.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please help!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks and regards,&lt;/P&gt;&lt;P&gt;pallavi.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Feb 2007 09:38:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen-calling-two-events/m-p/1911521#M379444</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-14T09:38:30Z</dc:date>
    </item>
    <item>
      <title>Re: At selection screen-calling two events</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen-calling-two-events/m-p/1911522#M379445</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can you post ur code&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Feb 2007 09:42:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen-calling-two-events/m-p/1911522#M379445</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-14T09:42:15Z</dc:date>
    </item>
    <item>
      <title>Re: At selection screen-calling two events</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen-calling-two-events/m-p/1911523#M379446</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;code-&lt;/P&gt;&lt;P&gt;data:lw_flag(1).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PARAMETERS:p_mode1 RADIOBUTTON group g1 default 'X',&lt;/P&gt;&lt;P&gt;           p_mode2 RADIOBUTTON group g1 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;parameter p_desti type string.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN.&lt;/P&gt;&lt;P&gt;if sy-ucomm eq 'g1'.&lt;/P&gt;&lt;P&gt;  if p_mode1 eq 'X'.&lt;/P&gt;&lt;P&gt;       lw_flag = 'X'.&lt;/P&gt;&lt;P&gt;  elseif p_mode2 eq 'X'.&lt;/P&gt;&lt;P&gt;     lw_flag = ' '.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF p_desti IS INITIAL.&lt;/P&gt;&lt;P&gt;    MESSAGE E001(0).&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;AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_desti.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*Display the pop up to accept the file name&lt;/P&gt;&lt;P&gt;if lw_flag = 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PERFORM f4_get_filename_presentation.&lt;/P&gt;&lt;P&gt;else.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PERFORM f4_get_filename_application.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Feb 2007 09:45:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen-calling-two-events/m-p/1911523#M379446</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-14T09:45:10Z</dc:date>
    </item>
    <item>
      <title>Re: At selection screen-calling two events</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen-calling-two-events/m-p/1911524#M379447</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;pls try my code it will work&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;shiba dutta&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Feb 2007 09:47:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen-calling-two-events/m-p/1911524#M379447</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-14T09:47:42Z</dc:date>
    </item>
    <item>
      <title>Re: At selection screen-calling two events</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen-calling-two-events/m-p/1911525#M379448</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;at selection-screen on value-request for &amp;lt;textfield you declare as parameter&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if p_mode1  = 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PERFORM f4_get_filename_presentation.&lt;/P&gt;&lt;P&gt;else.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;shiba dutta&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Feb 2007 09:49:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen-calling-two-events/m-p/1911525#M379448</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-14T09:49:35Z</dc:date>
    </item>
    <item>
      <title>Re: At selection screen-calling two events</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen-calling-two-events/m-p/1911526#M379449</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;try this

REPORT YCHATEST.

PARAMETERS:P_MODE1 RADIOBUTTON GROUP G1 USER-COMMAND ABC DEFAULT 'X' ,
           P_MODE2 RADIOBUTTON GROUP G1.


PARAMETER P_DESTI(100).
DATA : LW_FLAG.

LW_FLAG = 'X'.

AT SELECTION-SCREEN.
IF SY-UCOMM EQ 'ABC'.
IF P_MODE1 EQ 'X'.
LW_FLAG = 'X'.
ELSEIF P_MODE2 EQ 'X'.
LW_FLAG = ' '.
ENDIF.
ENDIF.

IF P_DESTI IS INITIAL.
MESSAGE E001(0).
ENDIF.


AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_DESTI.



*Display the pop up to accept the file name
IF LW_FLAG = 'X'.

PERFORM F4_GET_FILENAME_PRESENTATION.
ELSE.

PERFORM F4_GET_FILENAME_APPLICATION.
ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Feb 2007 09:51:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen-calling-two-events/m-p/1911526#M379449</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-14T09:51:04Z</dc:date>
    </item>
    <item>
      <title>Re: At selection screen-calling two events</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen-calling-two-events/m-p/1911527#M379450</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi  chandrashekar,&lt;/P&gt;&lt;P&gt;     Thanks a lot,it works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again everybody.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;pallavi.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Feb 2007 11:20:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/at-selection-screen-calling-two-events/m-p/1911527#M379450</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-14T11:20:59Z</dc:date>
    </item>
  </channel>
</rss>

