<?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 SELECTION OPTION in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-option/m-p/2163587#M457907</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;dear experts,&lt;/P&gt;&lt;P&gt;fallowing is my selection options.....whe r1 radio button is pressed p_mblnr must be disabled .....when r2 is pressed p_pure must be diabled..this is my requriment,&lt;/P&gt;&lt;P&gt;please help me out......i dont want in module pool....is there any posibility if so please help me&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN:BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.&lt;/P&gt;&lt;P&gt;PARAMETERS : RT1  RADIOBUTTON  GROUP A  .&lt;/P&gt;&lt;P&gt;PARAMETERS:p_prue LIKE qamb-prueflos OBLIGATORY MATCHCODE    OBJECT zre.&lt;/P&gt;&lt;P&gt;PARAMETERS : RT2  RADIOBUTTON  GROUP A  .&lt;/P&gt;&lt;P&gt;PARAMETERS:p_MBLNR LIKE qamb-prueflos OBLIGATORY .&lt;/P&gt;&lt;P&gt;PARAMETERS:p_end LIKE qals-paendterm .&lt;/P&gt;&lt;P&gt;parameters:p_stat type c obligatory.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN:END OF BLOCK b1.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 07 May 2007 08:39:45 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-05-07T08:39:45Z</dc:date>
    <item>
      <title>SELECTION OPTION</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-option/m-p/2163587#M457907</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;dear experts,&lt;/P&gt;&lt;P&gt;fallowing is my selection options.....whe r1 radio button is pressed p_mblnr must be disabled .....when r2 is pressed p_pure must be diabled..this is my requriment,&lt;/P&gt;&lt;P&gt;please help me out......i dont want in module pool....is there any posibility if so please help me&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN:BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.&lt;/P&gt;&lt;P&gt;PARAMETERS : RT1  RADIOBUTTON  GROUP A  .&lt;/P&gt;&lt;P&gt;PARAMETERS:p_prue LIKE qamb-prueflos OBLIGATORY MATCHCODE    OBJECT zre.&lt;/P&gt;&lt;P&gt;PARAMETERS : RT2  RADIOBUTTON  GROUP A  .&lt;/P&gt;&lt;P&gt;PARAMETERS:p_MBLNR LIKE qamb-prueflos OBLIGATORY .&lt;/P&gt;&lt;P&gt;PARAMETERS:p_end LIKE qals-paendterm .&lt;/P&gt;&lt;P&gt;parameters:p_stat type c obligatory.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN:END OF BLOCK b1.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 May 2007 08:39:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-option/m-p/2163587#M457907</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-07T08:39:45Z</dc:date>
    </item>
    <item>
      <title>Re: SELECTION OPTION</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-option/m-p/2163588#M457908</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;AT SELECTION-SCREEN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if RT1 = 'X'.&lt;/P&gt;&lt;P&gt;LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;IF SCREEN-NAME = 'P_MBLNR'.&lt;/P&gt;&lt;P&gt;SCREEN-INPUT = 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;elseif RT2 = 'X.&lt;/P&gt;&lt;P&gt;LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;IF SCREEN-NAME = 'P_PURE'.&lt;/P&gt;&lt;P&gt;SCREEN-INPUT = 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;endif.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 May 2007 08:42:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-option/m-p/2163588#M457908</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-07T08:42:11Z</dc:date>
    </item>
    <item>
      <title>Re: SELECTION OPTION</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-option/m-p/2163589#M457909</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes it isn popssible without module pool. make use of at screen of selection and loop at screen...endloop. where u wuill set the value as 0 and 1 accordinyl. u can check in abap help also&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 May 2007 08:42:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-option/m-p/2163589#M457909</guid>
      <dc:creator>prabhu_s2</dc:creator>
      <dc:date>2007-05-07T08:42:33Z</dc:date>
    </item>
    <item>
      <title>Re: SELECTION OPTION</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-option/m-p/2163590#M457910</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&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;Check the value of your radio button, then loop at screen and accordingly disable a field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example of loop at screen&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;*--Logic to make pernr and bukrs fields read only.&lt;/P&gt;&lt;P&gt;    IF screen-name = 'PNPBUKRS-LOW'.&lt;/P&gt;&lt;P&gt;      screen-active = '1'.&lt;/P&gt;&lt;P&gt;      screen-input = '0'.&lt;/P&gt;&lt;P&gt;      screen-output = '1'.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;*--Start of change:RD1K903781 ZOFSNADG&lt;/P&gt;&lt;P&gt;    IF screen-name = 'P_CUTOFF'.&lt;/P&gt;&lt;P&gt;      screen-active = '1'.&lt;/P&gt;&lt;P&gt;      screen-input = '0'.&lt;/P&gt;&lt;P&gt;      screen-output = '1'.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;*--End of change:RD1K903781 ZOFSNADG&lt;/P&gt;&lt;P&gt;*--Logic to hide extra Payroll area field from selection screen&lt;/P&gt;&lt;P&gt;    IF screen-name = 'PNPABKRS-LOW'.&lt;/P&gt;&lt;P&gt;      screen-active = '1'.&lt;/P&gt;&lt;P&gt;      screen-input = '0'.&lt;/P&gt;&lt;P&gt;      screen-output = '1'.&lt;/P&gt;&lt;P&gt;      screen-invisible = '1'.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    IF screen-name = '%_PNPABKRS_%_APP_%-TEXT'.&lt;/P&gt;&lt;P&gt;      screen-active = '1'.&lt;/P&gt;&lt;P&gt;      screen-input = '0'.&lt;/P&gt;&lt;P&gt;      screen-output = '1'.&lt;/P&gt;&lt;P&gt;      screen-invisible = '1'.&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;&lt;/P&gt;&lt;P&gt;Reward points if helpfull.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sachin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 May 2007 08:44:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-option/m-p/2163590#M457910</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-07T08:44:54Z</dc:date>
    </item>
    <item>
      <title>Re: SELECTION OPTION</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-option/m-p/2163591#M457911</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;have u ever heard about tabkle "&amp;lt;b&amp;gt;SCREEN&amp;lt;/b&amp;gt;". it is the temporary table which is stored in the buffer when the report is executing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in this table, u have many fields like NAME,REQUIRED, INPUT, OUTPUT, ACTIVE, DIABLED, GROUP1 etc. u just go thru the table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what we can do in the report is,&lt;/P&gt;&lt;P&gt;in screen table NAME field contains the current screen field name. u can check it out in debugging.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in the event  &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;&amp;lt;b&amp;gt;LOOP AT SCREEN .&amp;lt;/b&amp;gt; (looping at the screen table)&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;if r1 = 'X'.&lt;/P&gt;&lt;P&gt;if screen-name =  'A' or screen-group1 = 'A'.&amp;lt;/b&amp;gt;DO SOME THING...........&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="-----------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endiF.&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;modify SCREEN.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 May 2007 08:50:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-option/m-p/2163591#M457911</guid>
      <dc:creator>hymavathi_oruganti</dc:creator>
      <dc:date>2007-05-07T08:50:59Z</dc:date>
    </item>
    <item>
      <title>Re: SELECTION OPTION</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-option/m-p/2163592#M457912</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;Refer the code below it will work ,,&lt;/P&gt;&lt;P&gt;Copy and paste in your editor ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PARAMETERS: p_rad1   RADIOBUTTON GROUP rad1 USER-COMMAND a DEFAULT 'X'.&lt;/P&gt;&lt;P&gt;PARAMETERS: p_rad2   RADIOBUTTON GROUP rad1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PARAMETERS : p_prue(100) TYPE c MODIF ID mo1," default 'nazeer',&lt;/P&gt;&lt;P&gt;             p_MBLNR(10) type c modif id mo2." default '2naz'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;At selection Screen Output Event&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;AT SELECTION-SCREEN OUTPUT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF p_rad1 EQ 'X'.&lt;/P&gt;&lt;P&gt;    LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;      IF  screen-group1 = 'MO2'.&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;      IF  screen-group1 = 'MO1'.&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;  ELSE.&lt;/P&gt;&lt;P&gt;    LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;      IF screen-group1 = 'MO1'.&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;      IF screen-group1 = 'MO2'.&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;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rewards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;nazeer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 May 2007 08:52:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-option/m-p/2163592#M457912</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-07T08:52:35Z</dc:date>
    </item>
    <item>
      <title>Re: SELECTION OPTION</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-option/m-p/2163593#M457913</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;PARAMETERS : R1 RADIOBUTTON GROUP RG USER-COMMAND R DEFAULT 'X'.&lt;/P&gt;&lt;P&gt;parameters : a(10) type c modif id abc.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;PARAMETERS : R2 RADIOBUTTON GROUP RG .&lt;/P&gt;&lt;P&gt;parameters : b(10) type c modif id def.&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;IF R1 = 'X'.&lt;/P&gt;&lt;P&gt;LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;IF screen-group1 = 'DEF' .&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;IF R2 = 'X'.&lt;/P&gt;&lt;P&gt;LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;IF screen-group1 = 'ABC'.&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;Thnaks &amp;amp; Regards&lt;/P&gt;&lt;P&gt;Bhaskar rao.M&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 May 2007 08:53:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-option/m-p/2163593#M457913</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-07T08:53:15Z</dc:date>
    </item>
    <item>
      <title>Re: SELECTION OPTION</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-option/m-p/2163594#M457914</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Naveen,&lt;/P&gt;&lt;P&gt;                  Refer this 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;PARAMETERS : RT1 RADIOBUTTON GROUP A .&lt;/P&gt;&lt;P&gt;PARAMETERS:p_prue LIKE qamb-prueflos OBLIGATORY MATCHCODE OBJECT zre.&lt;/P&gt;&lt;P&gt;PARAMETERS : RT2 RADIOBUTTON GROUP A .&lt;/P&gt;&lt;P&gt;PARAMETERS:p_MBLNR LIKE qamb-prueflos OBLIGATORY .&lt;/P&gt;&lt;P&gt;PARAMETERS:p_end LIKE qals-paendterm .&lt;/P&gt;&lt;P&gt;parameters:p_stat type c obligatory.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN:END OF BLOCK b1. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION SCREEN OUTPUT.&lt;/P&gt;&lt;P&gt;if RT1 = 'X'.&lt;/P&gt;&lt;P&gt;LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;IF SCREEN-NAME = 'P_MBLNR'.&lt;/P&gt;&lt;P&gt;SCREEN-INPUT = 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;elseif RT2 = 'X.&lt;/P&gt;&lt;P&gt;LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;IF SCREEN-NAME = 'P_PURE'.&lt;/P&gt;&lt;P&gt;SCREEN-INPUT = 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;endif. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REWARD POINTS IF HELPFUL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Hemant&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 May 2007 08:59:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-option/m-p/2163594#M457914</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-07T08:59:55Z</dc:date>
    </item>
    <item>
      <title>Re: SELECTION OPTION</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-option/m-p/2163595#M457915</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Naveen.. try your requirement this way .. will help you in solving your query.,..&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;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;               S E L E C T I O N - S C R E E N                       *&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;************************************************************************&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;selection-screen begin of block blk3 with frame title text-t03.&lt;/P&gt;&lt;P&gt;parameters : p_fr1 radiobutton group gr2 user-command CLICK ,&lt;/P&gt;&lt;P&gt;             p_bk1 radiobutton group gr2 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;selection-screen end of block blk3 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;selection-screen begin of block blk1 with frame title text-t01 .&lt;/P&gt;&lt;P&gt;parameters : p_file like rlgrap-filename .&lt;/P&gt;&lt;P&gt;parameters : p_erf like rlgrap-filename .&lt;/P&gt;&lt;P&gt;selection-screen end of block blk1 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;selection-screen begin of block blk2 with frame title text-t02 .&lt;/P&gt;&lt;P&gt;parameters : dsn like rlgrap-filename default '/interf/thaon_vosges'.&lt;/P&gt;&lt;P&gt;parameters :dsn_err like rlgrap-filename default '/interf/thaon_vosges'.&lt;/P&gt;&lt;P&gt;selection-screen end of block blk2 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;************************************************************************&lt;/P&gt;&lt;P&gt;**&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="2" type="ul"&gt;&lt;P&gt;          A T  S E L E C T I O N - S C R E E N&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;**&lt;/P&gt;&lt;P&gt;************************************************************************&lt;/P&gt;&lt;P&gt;at selection-screen on value-request for p_file .&lt;/P&gt;&lt;P&gt;  call function 'F4_FILENAME'&lt;/P&gt;&lt;P&gt;    importing&lt;/P&gt;&lt;P&gt;      file_name = vv_file.&lt;/P&gt;&lt;P&gt;  p_file = vv_file .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at selection-screen on value-request for p_erf .&lt;/P&gt;&lt;P&gt;  call function 'F4_FILENAME'&lt;/P&gt;&lt;P&gt;    importing&lt;/P&gt;&lt;P&gt;      file_name = vv_file2.&lt;/P&gt;&lt;P&gt;  p_erf = vv_file2 .&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 V_INITIAL IS INITIAL .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    LOOP AT SCREEN .&lt;/P&gt;&lt;P&gt;      if screen-name cs 'DSN' or&lt;/P&gt;&lt;P&gt;       screen-name cs 'DSN_ERR' .&lt;/P&gt;&lt;P&gt;        "screen-name cs 'P_FILE' or&lt;/P&gt;&lt;P&gt;        "screen-name cs 'P_ERRF' OR&lt;/P&gt;&lt;P&gt;        " screen-name cs 'P_FORE' or&lt;/P&gt;&lt;P&gt;        " screen-name cs 'P_BACK' OR&lt;/P&gt;&lt;P&gt;        "screen-name cs 'P_ERR' .&lt;/P&gt;&lt;P&gt;        screen-active = 0 .&lt;/P&gt;&lt;P&gt;        modify screen .&lt;/P&gt;&lt;P&gt;      endif.&lt;/P&gt;&lt;P&gt;      ADD 1 TO V_INITIAL .&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;&lt;/P&gt;&lt;P&gt;  if p_fr1 = 'X' .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    loop at screen .&lt;/P&gt;&lt;P&gt;      if screen-name cs 'DSN' or&lt;/P&gt;&lt;P&gt;         screen-name cs 'DSN_ERR' .&lt;/P&gt;&lt;P&gt;        screen-active = 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;  elseif  p_bk1 = 'X'.&lt;/P&gt;&lt;P&gt;    loop at screen .&lt;/P&gt;&lt;P&gt;      if screen-name cs 'P_FILE' or&lt;/P&gt;&lt;P&gt;        screen-name cs 'P_ERF' .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        screen-active = 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;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jayant&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 May 2007 09:06:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-option/m-p/2163595#M457915</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-07T09:06:35Z</dc:date>
    </item>
    <item>
      <title>Re: SELECTION OPTION</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-option/m-p/2163596#M457916</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Naveen,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;&lt;/P&gt;&lt;P&gt;Just read the following explaination and copy and paste this program,this solves your problem.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You had put the parameter field as mandatory.So it is not possible to do, as you said.&lt;/P&gt;&lt;P&gt;But see the below, i removed obligatory option for the parameters.Now it is working fine &lt;/P&gt;&lt;P&gt;i.e., according to your requirement.Just copy and paste,TEST IT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One important thing is, if you really want to make these fields as mandatory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;"PROGRAM STARTS HERE:&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data:&lt;/P&gt;&lt;P&gt;  w_flag TYPE i.&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;PARAMETERS : RT1 RADIOBUTTON GROUP A USER-COMMAND US1.&lt;/P&gt;&lt;P&gt;PARAMETERS:p_prue LIKE qamb-prueflos. &amp;lt;b&amp;gt;" OBLIGATORY MATCHCODE OBJECT              &amp;lt;b&amp;gt;"zre.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;PARAMETERS : RT2 RADIOBUTTON GROUP A .&lt;/P&gt;&lt;P&gt;PARAMETERS:p_MBLNR LIKE qamb-prueflos. &amp;lt;b&amp;gt;" OBLIGATORY&amp;lt;/b&amp;gt; .&lt;/P&gt;&lt;P&gt;PARAMETERS:p_end LIKE qals-paendterm .&lt;/P&gt;&lt;P&gt;parameters:p_stat type c.        &amp;lt;b&amp;gt; " obligatory.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN:END OF BLOCK b1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;AT SELECTION-SCREEN OUTPUT.&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 w_flag = 1 AND SCREEN-NAME = 'P_MBLNR'.&lt;/P&gt;&lt;P&gt;  SCREEN-INPUT = 0.&lt;/P&gt;&lt;P&gt;ELSEIF w_flag = 2 AND SCREEN-NAME = 'P_PRUE'.&lt;/P&gt;&lt;P&gt;  SCREEN-INPUT = 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;&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&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 rt1 = 'X'.&lt;/P&gt;&lt;P&gt;   w_flag = 1.&lt;/P&gt;&lt;P&gt;else.&lt;/P&gt;&lt;P&gt;  w_flag = 2.&lt;/P&gt;&lt;P&gt;endif.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;"One important thing is, if you really want to make these fields as mandatory.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;IF sy-ucomm = 'ONLI'.         " when you press F8 only this condition satisfies...... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   if p_prue  IS INITIAL OR&lt;/P&gt;&lt;P&gt;      p_MBLNR IS INITIAL OR&lt;/P&gt;&lt;P&gt;      p_stat  IS INITIAL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;       message 'Fill entries' TYPE 'E'.&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;ENDIF.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;&lt;/P&gt;&lt;P&gt;This solves your problem.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;&lt;/P&gt;&lt;P&gt;Reward all helpful answers&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;V.Raghavender.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 May 2007 09:07:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-option/m-p/2163596#M457916</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-07T09:07:42Z</dc:date>
    </item>
    <item>
      <title>Re: SELECTION OPTION</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-option/m-p/2163597#M457917</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Pls Find the code attached for ur querry&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TABLES : SSCRFIELDS.&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;PARAMETERS : RT1 RADIOBUTTON GROUP A DEFAULT 'X' USER-COMMAND FLAG.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PARAMETERS : RT2 RADIOBUTTON GROUP A .&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN:END OF BLOCK b1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN:BEGIN OF BLOCK b2 WITH FRAME TITLE text-002.&lt;/P&gt;&lt;P&gt;PARAMETERS:p_prue LIKE qamb-prueflos OBLIGATORY MATCHCODE OBJECT zre.&lt;/P&gt;&lt;P&gt;PARAMETERS:p_MBLNR LIKE qamb-prueflos OBLIGATORY .&lt;/P&gt;&lt;P&gt;PARAMETERS:p_end LIKE qals-paendterm .&lt;/P&gt;&lt;P&gt;parameters:p_stat type c obligatory.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN:END OF BLOCK b2.&lt;/P&gt;&lt;P&gt;&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 RT1 = 'X'.&lt;/P&gt;&lt;P&gt;    IF screen-NAME = 'P_MBLNR'   .&lt;/P&gt;&lt;P&gt;       screen-ACTIVE = '0'.&lt;/P&gt;&lt;P&gt;       ELSEIF screen-NAME = '%_P_MBLNR_%_APP_%-TEXT'.&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;    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;Please Award POints for it&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 May 2007 09:44:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-option/m-p/2163597#M457917</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-07T09:44:31Z</dc:date>
    </item>
  </channel>
</rss>

