<?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-Screen Manipulation in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-manipulation/m-p/3655862#M880635</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can do that using loop at screen..and based on the user command u can do the modifications...wait let me give an example...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 04 Apr 2008 15:51:09 GMT</pubDate>
    <dc:creator>former_member210123</dc:creator>
    <dc:date>2008-04-04T15:51:09Z</dc:date>
    <item>
      <title>Selection-Screen Manipulation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-manipulation/m-p/3655861#M880634</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I need for a block2 with two radio buttons to be underintensified (not selectable) until a radio button is selected in block1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;question 1) How do I declare block2 default as underintensified(unselectable)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;question 2) How do I make block2  selectable once block1 is selected?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;          Thank-You&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Apr 2008 15:46:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-manipulation/m-p/3655861#M880634</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-04T15:46:59Z</dc:date>
    </item>
    <item>
      <title>Re: Selection-Screen Manipulation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-manipulation/m-p/3655862#M880635</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can do that using loop at screen..and based on the user command u can do the modifications...wait let me give an example...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Apr 2008 15:51:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-manipulation/m-p/3655862#M880635</guid>
      <dc:creator>former_member210123</dc:creator>
      <dc:date>2008-04-04T15:51:09Z</dc:date>
    </item>
    <item>
      <title>Re: Selection-Screen Manipulation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-manipulation/m-p/3655863#M880636</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.&lt;/P&gt;&lt;P&gt;SELECT-OPTIONS:    s_werks FOR l_werks,      " For Plant&lt;/P&gt;&lt;P&gt;                   s_lgort FOR l_lgort.      " For Storage Location&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_rb_rep RADIOBUTTON GROUP rg1 DEFAULT 'X' USER-COMMAND rg1.&lt;/P&gt;&lt;P&gt;PARAMETERS: p_rb_fil RADIOBUTTON GROUP rg1.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN END OF BLOCK b2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF BLOCK b3 WITH FRAME TITLE text-003.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PARAMETERS: p_pre RADIOBUTTON GROUP rg2 DEFAULT 'X' USER-COMMAND usr MODIF ID m3.&lt;/P&gt;&lt;P&gt;PARAMETERS: p_pre_fp TYPE string MODIF ID m1.&lt;/P&gt;&lt;P&gt;PARAMETERS: p_app RADIOBUTTON GROUP rg2 MODIF ID m3.&lt;/P&gt;&lt;P&gt;PARAMETERS: p_app_fp TYPE string MODIF ID m2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN END OF BLOCK b3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF BLOCK b4 WITH FRAME TITLE text-004.&lt;/P&gt;&lt;P&gt;PARAMETERS: p_file(128) TYPE c MODIF ID m1.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN END OF BLOCK b4.&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;&lt;/P&gt;&lt;P&gt;  LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;    IF p_rb_rep = 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      IF screen-group1 EQ 'M1' OR screen-group1 EQ 'M2' OR screen-group1 EQ 'M3'.&lt;/P&gt;&lt;P&gt;        screen-input = '0'.&lt;/P&gt;&lt;P&gt;      ENDIF.&lt;/P&gt;&lt;P&gt;    ELSEIF p_rb_fil = 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      IF p_pre = 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        IF screen-group1 = 'M2'.&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;&lt;/P&gt;&lt;P&gt;      ELSEIF p_app = 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        IF screen-group1 = 'M1'.&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;      ENDIF.&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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Apr 2008 15:56:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-manipulation/m-p/3655863#M880636</guid>
      <dc:creator>former_member210123</dc:creator>
      <dc:date>2008-04-04T15:56:14Z</dc:date>
    </item>
    <item>
      <title>Re: Selection-Screen Manipulation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-manipulation/m-p/3655864#M880637</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Look at the sample code below &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
SELECTION-SCREEN BEGIN OF BLOCK blk1 WITH FRAME TITLE text-001.
PARAMETERS: p_shp RADIOBUTTON GROUP rad1 DEFAULT 'X' USER-COMMAND ucom,
            p_inv RADIOBUTTON GROUP rad1.

SELECT-OPTIONS: s_shp FOR vttk-tknum MODIF ID shp NO INTERVALS.
SELECT-OPTIONS: s_inv FOR vbrk-vbeln MODIF ID inv NO INTERVALS MATCHCODE OBJECT vmcf .
SELECTION-SCREEN END OF BLOCK blk1.

AT SELECTION-SCREEN.

  LOOP AT SCREEN.
* If Shipment radio button is selected, make Invoice number field invisible.
    IF p_shp = x.
      IF screen-group1 = 'INV'.
        screen-input = '0'.
        screen-required = '0'.
        MODIFY SCREEN.
      ENDIF.
    ENDIF.

* If Invoice radio button is selected, make Shipment number field invisible
    IF p_inv = wl_x.
      IF screen-group1 = 'SHP'.
        screen-input = '0'.
        screen-required = '0'.
        MODIFY SCREEN.
      ENDIF.
    ENDIF.

  ENDLOOP.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;give the group name for your second block2 and use in   IF screen-group1 = '***'. and make screen input as 0.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Apr 2008 15:59:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-manipulation/m-p/3655864#M880637</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-04T15:59:58Z</dc:date>
    </item>
  </channel>
</rss>

