<?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, + different selections for different t.code in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-different-selections-for-different-t-code/m-p/2223545#M477624</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;Try to remember that if u dont use &amp;lt;i&amp;gt;screen group&amp;lt;/i&amp;gt; option to hide the select-option field,Then u got to do like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN OUTPUT.&lt;/P&gt;&lt;P&gt;*-----  To make one select-option field (say S_MATNR) invisible&lt;/P&gt;&lt;P&gt;*-------U have to do like this if don't use GROUP option&lt;/P&gt;&lt;P&gt;  LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    IF screen-name = '%_S_MATNR_%_APP_%-TEXT' or&lt;/P&gt;&lt;P&gt;       screen-name = '%_S_MATNR_%_APP_%-OPTI_PUSH' or&lt;/P&gt;&lt;P&gt;       screen-name = 'S_MATNR-LOW' or&lt;/P&gt;&lt;P&gt;       screen-name = '%_S_MATNR_%_APP_%-TO_TEXT' or&lt;/P&gt;&lt;P&gt;       screen-name = 'S_MATNR-HIGH' or&lt;/P&gt;&lt;P&gt;       screen-name = '%_S_MATNR_%_APP_%-VALU_PUSH' or.&lt;/P&gt;&lt;P&gt;      screen-invisible = '1'.&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;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 03 May 2007 11:11:40 GMT</pubDate>
    <dc:creator>former_member491305</dc:creator>
    <dc:date>2007-05-03T11:11:40Z</dc:date>
    <item>
      <title>Selection Screen, + different selections for different t.code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-different-selections-for-different-t-code/m-p/2223531#M477610</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Friends, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have following requirement, that I have a program which is called via a tcode. Now I have to create another tcode for the same program. I have created the new tran and it works fine. But now the requirement is, this new tran. should not show all selectoption ( inside a block ) and two another select - option block ? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As far as I remember, one can use initilization, and can loop over selection screen ? any idea how to eleiminate the selection screen ? or any docu would be really appreiciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 May 2007 09:48:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-different-selections-for-different-t-code/m-p/2223531#M477610</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-03T09:48:52Z</dc:date>
    </item>
    <item>
      <title>Re: Selection Screen, + different selections for different t.code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-different-selections-for-different-t-code/m-p/2223532#M477611</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi shah,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. in our program either we create one selection screen,&lt;/P&gt;&lt;P&gt;   and put all parameters/select options&lt;/P&gt;&lt;P&gt;  for both tcodes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Then using IF Condition, we can either hide/show the required screen elements.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Another way is to create two selection screens,&lt;/P&gt;&lt;P&gt;  and call one of them, based upon the tcode value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(Make sure, u put one screen as default if we run from se38)&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;amit m.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 May 2007 09:52:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-different-selections-for-different-t-code/m-p/2223532#M477611</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-03T09:52:03Z</dc:date>
    </item>
    <item>
      <title>Re: Selection Screen, + different selections for different t.code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-different-selections-for-different-t-code/m-p/2223533#M477612</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your reply:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I just want to know, at which event I can loop over the screen, I mean select-option are stored in internal table sel-SIGN, sel-OPTION, sel-LOW and sel-HIGH, and I can delete the corresponding entries which I dont want to show ? or&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CAN anyone pls let me know on which event I can loop over the screen ? is it inililization ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or its AT SELECTION-SCREEN OUTPUT. &lt;/P&gt;&lt;P&gt;LOOP AT 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;Message was edited by: &lt;/P&gt;&lt;P&gt;        Shah H&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 May 2007 10:01:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-different-selections-for-different-t-code/m-p/2223533#M477612</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-03T10:01:51Z</dc:date>
    </item>
    <item>
      <title>Re: Selection Screen, + different selections for different t.code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-different-selections-for-different-t-code/m-p/2223534#M477613</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi again,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.CAN anyone pls let me know on which event I can loop over the screen &lt;/P&gt;&lt;P&gt;&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;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;amit m.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 May 2007 10:04:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-different-selections-for-different-t-code/m-p/2223534#M477613</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-03T10:04:08Z</dc:date>
    </item>
    <item>
      <title>Re: Selection Screen, + different selections for different t.code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-different-selections-for-different-t-code/m-p/2223535#M477614</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;and at AT SELECTION-SCREEN OUTPUT., I can delete the entries from sel, internal table which I dont want to show ? or&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I thought the internal table which contains the select-option called sel, but when I loop over the screen, I could not see 'sel', how I can loop over the internal table which contains the select-option ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actually in the program there is one screen, with one main block, and inside this main block there are three further blocks, and by using the 2nd tcode, I have to eliminate few fields from first block, and both other block... any idea&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Shah H&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 May 2007 10:09:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-different-selections-for-different-t-code/m-p/2223535#M477614</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-03T10:09:21Z</dc:date>
    </item>
    <item>
      <title>Re: Selection Screen, + different selections for different t.code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-different-selections-for-different-t-code/m-p/2223536#M477615</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Yes ..You got to write in "AT SELCTION-SCREEN OUTPUT" event only.&lt;/P&gt;&lt;P&gt;TO delete select-option value,Use  &lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;REFRESH &amp;lt;Sel-option field name&amp;gt;.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 May 2007 10:11:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-different-selections-for-different-t-code/m-p/2223536#M477615</guid>
      <dc:creator>former_member491305</dc:creator>
      <dc:date>2007-05-03T10:11:07Z</dc:date>
    </item>
    <item>
      <title>Re: Selection Screen, + different selections for different t.code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-different-selections-for-different-t-code/m-p/2223537#M477616</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vigneswaran, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;While looping over screen, can I see the field names as well ? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;because currently I cant see the filednames, while looping over screen ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 May 2007 10:14:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-different-selections-for-different-t-code/m-p/2223537#M477616</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-03T10:14:36Z</dc:date>
    </item>
    <item>
      <title>Re: Selection Screen, + different selections for different t.code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-different-selections-for-different-t-code/m-p/2223538#M477617</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;CHECK THIS CODE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TABLES:MARA,LFA1,EKKO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT-OPTIONS:MATNR FOR MARA-MATNR MODIF ID  TR1 .&lt;/P&gt;&lt;P&gt;SELECT-OPTIONS:LIFNR FOR LFA1-LIFNR MODIF ID TR2.&lt;/P&gt;&lt;P&gt;SELECT-OPTIONS:EBELN FOR EKKO-EBELN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN OUTPUT.&lt;/P&gt;&lt;P&gt;  IF SY-TCODE = 'XXX'.&lt;/P&gt;&lt;P&gt;    LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;      IF SCREEN-GROUP1 = 'TR1'.&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 SY-TCODE = 'YYY'.&lt;/P&gt;&lt;P&gt;    LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;      IF SCREEN-GROUP1 = 'TR2'.&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;RGDS,&lt;/P&gt;&lt;P&gt;BHARAT.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 May 2007 10:16:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-different-selections-for-different-t-code/m-p/2223538#M477617</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-03T10:16:55Z</dc:date>
    </item>
    <item>
      <title>Re: Selection Screen, + different selections for different t.code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-different-selections-for-different-t-code/m-p/2223539#M477618</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi again,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. how I can loop over the internal table which contains the select-option &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;suppose your select-option name is ABCD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then loop like this.&lt;/P&gt;&lt;P&gt;loop at abcd.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*--- code&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;2. for making invisible do something like this.&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;&lt;/P&gt;&lt;P&gt;IF SCREEN-NAME = 'XYZ' &lt;/P&gt;&lt;P&gt;OR SCREEN-NAME = 'ABC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SCREEN-INPUT = 0.&lt;/P&gt;&lt;P&gt;SCREEN-INVISIBLE = 1.&lt;/P&gt;&lt;P&gt;MODIFY SCREEN.&lt;/P&gt;&lt;P&gt;&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;regards,&lt;/P&gt;&lt;P&gt;amit m.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 May 2007 10:18:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-different-selections-for-different-t-code/m-p/2223539#M477618</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-03T10:18:01Z</dc:date>
    </item>
    <item>
      <title>Re: Selection Screen, + different selections for different t.code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-different-selections-for-different-t-code/m-p/2223540#M477619</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks , &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As I said, there is one main selection - screen with main block, ...and then are the further blocks inside, so how I can access the inside block:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF BLOCK mainframe .&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN SKIP 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF BLOCK firstblock WITH FRAME TITLE text-001.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT-OPTIONS:&lt;/P&gt;&lt;P&gt;  lest say 4 select options.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN END OF BLOCK firstblock.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF BLOCK secondblock WITH FRAME TITLE text-002.&lt;/P&gt;&lt;P&gt;SELECT-OPTIONS:&lt;/P&gt;&lt;P&gt;       lest say 4 select options.....&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN END OF BLOCK secondblock&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Prozessdaten&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF BLOCK thirdblock WITH FRAME TITLE text-003.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT-OPTIONS:&lt;/P&gt;&lt;P&gt;     lest say 4 select options.....&lt;/P&gt;&lt;P&gt;PARAMETERS: so_stat  TYPE flag AS CHECKBOX DEFAULT 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN END OF BLOCK thirdblock.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PARAMETERS:  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN END OF BLOCK mainframe.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now my req is, when tcode is 2nd, then secondblock, and thirdblock should not appear, and from first block only 2 fields should apper....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is it at all possible, by looping over screen, because when I loop over screen, I could not even see the block name... ( the field block1 field is empty.. )&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 May 2007 10:25:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-different-selections-for-different-t-code/m-p/2223540#M477619</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-03T10:25:10Z</dc:date>
    </item>
    <item>
      <title>Re: Selection Screen, + different selections for different t.code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-different-selections-for-different-t-code/m-p/2223541#M477620</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To me it shows, the screen-name as %_17SNS0000004792_%_%_%_%_%_%_ ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any idea, what I am doing wrong&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 May 2007 10:29:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-different-selections-for-different-t-code/m-p/2223541#M477620</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-03T10:29:15Z</dc:date>
    </item>
    <item>
      <title>Re: Selection Screen, + different selections for different t.code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-different-selections-for-different-t-code/m-p/2223542#M477621</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt; check out the following eg:&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;SELECT-OPTIONS: s_matnr FOR makt-matnr OBLIGATORY &amp;lt;b&amp;gt;MODIF ID gr1   .&amp;lt;/b&amp;gt;SELECT-OPTIONS: s_werks FOR ekpo-werks OBLIGATORY &amp;lt;b&amp;gt;MODIF ID gr1&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;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 screen-group1 = 'GR1' or screen-name = '%B001000_BLOCK_1000'.&lt;/P&gt;&lt;P&gt;      screen-invisible = '1'.&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;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;GR1 is group1 for s_matnr,s_werks.&lt;/P&gt;&lt;P&gt;'%B001000_BLOCK_1000' is Block name&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 May 2007 10:29:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-different-selections-for-different-t-code/m-p/2223542#M477621</guid>
      <dc:creator>former_member491305</dc:creator>
      <dc:date>2007-05-03T10:29:21Z</dc:date>
    </item>
    <item>
      <title>Re: Selection Screen, + different selections for different t.code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-different-selections-for-different-t-code/m-p/2223543#M477622</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As I paste the code there is no group in selectin screen, I just want to know how I can access the various block, and their corresponding select-option fields to make them invisible ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 May 2007 10:40:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-different-selections-for-different-t-code/m-p/2223543#M477622</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-03T10:40:58Z</dc:date>
    </item>
    <item>
      <title>Re: Selection Screen, + different selections for different t.code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-different-selections-for-different-t-code/m-p/2223544#M477623</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;To access the specific block,You just got to debugg that screen in&lt;/P&gt;&lt;P&gt;At selection-screen output and find its name in &amp;lt;i&amp;gt;SCREEN-NAME&amp;lt;/i&amp;gt; attribute.&lt;/P&gt;&lt;P&gt;Loop at 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;Eg.  For the following 3 blocks,The block name is &lt;/P&gt;&lt;P&gt;%B001000_BLOCK_1000&lt;/P&gt;&lt;P&gt;%B001004_BLOCK_1000&lt;/P&gt;&lt;P&gt;%B001007_BLOCK_1000&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF BLOCK vv1 WITH FRAME TITLE text-001 .&lt;/P&gt;&lt;P&gt;SELECT-OPTIONS: s_matnr FOR makt-matnr OBLIGATORY MODIF ID gr1   .&lt;/P&gt;&lt;P&gt;SELECT-OPTIONS: s_werks FOR ekpo-werks OBLIGATORY MODIF ID gr1.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN END OF BLOCK vv1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF BLOCK vv2 WITH FRAME TITLE text-001 .&lt;/P&gt;&lt;P&gt;SELECT-OPTIONS: s_werks1 FOR ekpo-werks OBLIGATORY MODIF ID gr1.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN END OF BLOCK vv2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF BLOCK vv3 WITH FRAME TITLE text-001 .&lt;/P&gt;&lt;P&gt;SELECT-OPTIONS: s_werks2 FOR ekpo-werks OBLIGATORY MODIF ID gr1.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN END OF BLOCK vv3.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 May 2007 10:57:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-different-selections-for-different-t-code/m-p/2223544#M477623</guid>
      <dc:creator>former_member491305</dc:creator>
      <dc:date>2007-05-03T10:57:28Z</dc:date>
    </item>
    <item>
      <title>Re: Selection Screen, + different selections for different t.code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-different-selections-for-different-t-code/m-p/2223545#M477624</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;Try to remember that if u dont use &amp;lt;i&amp;gt;screen group&amp;lt;/i&amp;gt; option to hide the select-option field,Then u got to do like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN OUTPUT.&lt;/P&gt;&lt;P&gt;*-----  To make one select-option field (say S_MATNR) invisible&lt;/P&gt;&lt;P&gt;*-------U have to do like this if don't use GROUP option&lt;/P&gt;&lt;P&gt;  LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    IF screen-name = '%_S_MATNR_%_APP_%-TEXT' or&lt;/P&gt;&lt;P&gt;       screen-name = '%_S_MATNR_%_APP_%-OPTI_PUSH' or&lt;/P&gt;&lt;P&gt;       screen-name = 'S_MATNR-LOW' or&lt;/P&gt;&lt;P&gt;       screen-name = '%_S_MATNR_%_APP_%-TO_TEXT' or&lt;/P&gt;&lt;P&gt;       screen-name = 'S_MATNR-HIGH' or&lt;/P&gt;&lt;P&gt;       screen-name = '%_S_MATNR_%_APP_%-VALU_PUSH' or.&lt;/P&gt;&lt;P&gt;      screen-invisible = '1'.&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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 May 2007 11:11:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen-different-selections-for-different-t-code/m-p/2223545#M477624</guid>
      <dc:creator>former_member491305</dc:creator>
      <dc:date>2007-05-03T11:11:40Z</dc:date>
    </item>
  </channel>
</rss>

