<?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: Disabling complex selection button in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/disabling-complex-selection-button/m-p/5644357#M1284495</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;please check this below code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF BLOCK B2 WITH FRAME  TITLE TEXT-027 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PARAMETERS: P_RADIO1 RADIOBUTTON GROUP RAD DEFAULT 'X' USER-COMMAND UCOM .&lt;/P&gt;&lt;P&gt;PARAMETERS : P_KEY TYPE SYDATUM DEFAULT sy-datum MODIF ID MO1.&lt;/P&gt;&lt;P&gt;PARAMETERS: P_RADIO2 RADIOBUTTON GROUP RAD.&lt;/P&gt;&lt;P&gt;SELECT-OPTIONS: SO_BUDAT FOR BSIS-BUDAT MODIF ID MO2 .&lt;/P&gt;&lt;P&gt;&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;DEL&gt;&lt;/DEL&gt;&lt;/P&gt;&lt;HR originaltext="--------------------" /&gt;AT SELECTION-SCREEN OUTPUT STATMENTS--&lt;P&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&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;     IF P_RADIO1 = 'X'.&lt;/P&gt;&lt;P&gt;       CHECK SCREEN-group1 = 'MO1'.&lt;/P&gt;&lt;P&gt;       SCREEN-INPUT = 1.&lt;/P&gt;&lt;P&gt;     ELSE.&lt;/P&gt;&lt;P&gt;       CHECK SCREEN-group1 = 'MO1'.&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;  LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;    if P_RADIO2 = 'X'.&lt;/P&gt;&lt;P&gt;      CHECK SCREEN-GROUP1 = 'MO2'.&lt;/P&gt;&lt;P&gt;      SCREEN-INPUT = 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    ELSE.&lt;/P&gt;&lt;P&gt;      CHECK SCREEN-GROUP1 = 'MO2'.&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;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 18 May 2009 06:21:25 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-05-18T06:21:25Z</dc:date>
    <item>
      <title>Disabling complex selection button</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/disabling-complex-selection-button/m-p/5644354#M1284492</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;&lt;/P&gt;&lt;P&gt;   In my select-options, based on the user ( sy-uname ), I am disabling the select-option-High value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   i.e.      if screen-name = 'S_DATE-HIGH'.&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;  But at the same time I need to disable the complex selection button also. It means that the user has to give only one input like parameter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I disable complex selection button.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Venkat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 May 2009 06:17:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/disabling-complex-selection-button/m-p/5644354#M1284492</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-18T06:17:07Z</dc:date>
    </item>
    <item>
      <title>Re: Disabling complex selection button</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/disabling-complex-selection-button/m-p/5644355#M1284493</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Find the screen-name of complex button and deactivate that also in the same fashion.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 May 2009 06:19:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/disabling-complex-selection-button/m-p/5644355#M1284493</guid>
      <dc:creator>Sandeep_Panghal</dc:creator>
      <dc:date>2009-05-18T06:19:29Z</dc:date>
    </item>
    <item>
      <title>Re: Disabling complex selection button</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/disabling-complex-selection-button/m-p/5644356#M1284494</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Plz &lt;STRONG&gt;SEARCH&lt;/STRONG&gt; in SCN before posting.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT-OPTIONS: s_mara FOR mara-matnr NO INTERVALS NO-EXTENSION.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 May 2009 06:20:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/disabling-complex-selection-button/m-p/5644356#M1284494</guid>
      <dc:creator>GauthamV</dc:creator>
      <dc:date>2009-05-18T06:20:29Z</dc:date>
    </item>
    <item>
      <title>Re: Disabling complex selection button</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/disabling-complex-selection-button/m-p/5644357#M1284495</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;please check this below code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF BLOCK B2 WITH FRAME  TITLE TEXT-027 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PARAMETERS: P_RADIO1 RADIOBUTTON GROUP RAD DEFAULT 'X' USER-COMMAND UCOM .&lt;/P&gt;&lt;P&gt;PARAMETERS : P_KEY TYPE SYDATUM DEFAULT sy-datum MODIF ID MO1.&lt;/P&gt;&lt;P&gt;PARAMETERS: P_RADIO2 RADIOBUTTON GROUP RAD.&lt;/P&gt;&lt;P&gt;SELECT-OPTIONS: SO_BUDAT FOR BSIS-BUDAT MODIF ID MO2 .&lt;/P&gt;&lt;P&gt;&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;DEL&gt;&lt;/DEL&gt;&lt;/P&gt;&lt;HR originaltext="--------------------" /&gt;AT SELECTION-SCREEN OUTPUT STATMENTS--&lt;P&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&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;     IF P_RADIO1 = 'X'.&lt;/P&gt;&lt;P&gt;       CHECK SCREEN-group1 = 'MO1'.&lt;/P&gt;&lt;P&gt;       SCREEN-INPUT = 1.&lt;/P&gt;&lt;P&gt;     ELSE.&lt;/P&gt;&lt;P&gt;       CHECK SCREEN-group1 = 'MO1'.&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;  LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;    if P_RADIO2 = 'X'.&lt;/P&gt;&lt;P&gt;      CHECK SCREEN-GROUP1 = 'MO2'.&lt;/P&gt;&lt;P&gt;      SCREEN-INPUT = 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    ELSE.&lt;/P&gt;&lt;P&gt;      CHECK SCREEN-GROUP1 = 'MO2'.&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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 May 2009 06:21:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/disabling-complex-selection-button/m-p/5644357#M1284495</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-18T06:21:25Z</dc:date>
    </item>
    <item>
      <title>Re: Disabling complex selection button</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/disabling-complex-selection-button/m-p/5644358#M1284496</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;see if this is what u want:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT-OPTIONS S_DATE FOR sy-datum &lt;STRONG&gt;NO-EXTENSION&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;                                            &lt;STRONG&gt;NO INTERVALS.&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 May 2009 06:23:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/disabling-complex-selection-button/m-p/5644358#M1284496</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-18T06:23:56Z</dc:date>
    </item>
    <item>
      <title>Re: Disabling complex selection button</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/disabling-complex-selection-button/m-p/5644359#M1284497</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;write this code....&lt;/P&gt;&lt;P&gt;this will resolve your issue completely... its check ....&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;loop at screen.
if screen-name CS 'S_DATE' and screen-name ne 'S_DATE-LOW'.
screen-input = 0.
modify screen.
endif.
endloop.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Siddarth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 May 2009 06:26:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/disabling-complex-selection-button/m-p/5644359#M1284497</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-18T06:26:47Z</dc:date>
    </item>
    <item>
      <title>Re: Disabling complex selection button</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/disabling-complex-selection-button/m-p/5644360#M1284498</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Venkat,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF BLOCK blk1 WITH FRAME.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF sy-uname = '          '.&lt;/P&gt;&lt;P&gt;  SELECT-OPTIONS s_matnr FOR mara-matnr.&lt;/P&gt;&lt;P&gt;ELSE.&lt;/P&gt;&lt;P&gt;  SELECT-OPTIONS p_matnr FOR mara-matnr NO-EXTENSION&lt;/P&gt;&lt;P&gt;                                                        NO INTERVALS.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN END OF BLOCK blk1 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try the above code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this solves your problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Suvendu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 May 2009 06:26:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/disabling-complex-selection-button/m-p/5644360#M1284498</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-18T06:26:59Z</dc:date>
    </item>
    <item>
      <title>Re: Disabling complex selection button</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/disabling-complex-selection-button/m-p/5644361#M1284499</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use function module "RS_SET_SELECT_OPTIONS_OPTIONS" or "RS_complex_SELECTION".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It has option to restrict the select option. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 May 2009 06:37:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/disabling-complex-selection-button/m-p/5644361#M1284499</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-18T06:37:23Z</dc:date>
    </item>
    <item>
      <title>Re: Disabling complex selection button</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/disabling-complex-selection-button/m-p/5644362#M1284500</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Venkat,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;correct me if I'm wrong, but this is how I interpret your requirement. Only for certain users this should be disabled, right?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;well then you will have to want this for coding:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
INITIALIZATION.

  LOOP AT SCREEN.
    IF screen-name = '%_S_DATE_%_APP_%-VALU_PUSH'.
      screen-input = '0'.
    ENDIF.
    MODIFY SCREEN.
  ENDLOOP.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The name of the screen field depends on your selection-options name.&lt;/P&gt;&lt;P&gt;Alternative would be to look at the layout of the generated selection screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Otherwise, try do debug and see what screen field names are displayed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Micky Oestreich on May 18, 2009 8:40 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 May 2009 06:40:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/disabling-complex-selection-button/m-p/5644362#M1284500</guid>
      <dc:creator>Sm1tje</dc:creator>
      <dc:date>2009-05-18T06:40:03Z</dc:date>
    </item>
  </channel>
</rss>

