<?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 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/1829783#M353747</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;parameters: p_type type c,&lt;/P&gt;&lt;P&gt;                  p_matnr like mara-matnr modif id 'MAT',&lt;/P&gt;&lt;P&gt;                  p_ut(4) type c modif id 'UTL'.&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 screen-group1 = 'MAT'.&lt;/P&gt;&lt;P&gt;         if p_type = 'M'.&lt;/P&gt;&lt;P&gt;            screen-input = 1.&lt;/P&gt;&lt;P&gt;         else.&lt;/P&gt;&lt;P&gt;            screen-input = 0.&lt;/P&gt;&lt;P&gt;         endif.&lt;/P&gt;&lt;P&gt;      elseif screen-group1 = 'UTL'.    &lt;/P&gt;&lt;P&gt;         if p_type = 'U'.&lt;/P&gt;&lt;P&gt;            screen-input = 1.&lt;/P&gt;&lt;P&gt;         else.&lt;/P&gt;&lt;P&gt;            screen-input = 0.&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;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 29 Jan 2007 06:39:23 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-01-29T06:39:23Z</dc:date>
    <item>
      <title>Selection Screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/1829777#M353741</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;Can any one send me a sample program to change the selection screen fields dynamically.&lt;/P&gt;&lt;P&gt;i have three fields viz: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Resource Type :  M /  U &lt;/P&gt;&lt;P&gt;Material  : &lt;/P&gt;&lt;P&gt;Utility     : &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Requirement: based on the entry in resource type &lt;/P&gt;&lt;P&gt;i have to activate the field. &lt;/P&gt;&lt;P&gt;For e.g. If resource type = M &lt;/P&gt;&lt;P&gt;              Materail field input enabled&lt;/P&gt;&lt;P&gt;        &amp;amp;    Utility field   input disabled. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If resource type = U &lt;/P&gt;&lt;P&gt;              Materail field input disabled&lt;/P&gt;&lt;P&gt;        &amp;amp;    Utility field   input enabled. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If resource type = blank &lt;/P&gt;&lt;P&gt;              Materail field input enabled&lt;/P&gt;&lt;P&gt;        &amp;amp;    Utility field   input enabled. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;kind help will be much appreciated and rewarded.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jan 2007 06:20:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/1829777#M353741</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-29T06:20:09Z</dc:date>
    </item>
    <item>
      <title>Re: Selection Screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/1829778#M353742</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Use the MODIF ID and Loop screen...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;    IF screen-group1 = 'ABC'. "#CCE&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;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Subramanian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jan 2007 06:23:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/1829778#M353742</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-29T06:23:27Z</dc:date>
    </item>
    <item>
      <title>Re: Selection Screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/1829779#M353743</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;chk  this.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
SELECT-OPTIONS : s_kunnr for kna1-kunnr.
 
 
AT SELECTION-SCREEN OUTPUT.
  LOOP AT SCREEN.
     if (SCREEN-NAME EQ 'S_KUNNR-HIGH') OR (SCREEN-NAME EQ 'S_KUNNR-LOW').
     SCREEN-REQUIRED = 1.
     MODIFY SCREEN.
  ENDLOOP.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Rgds&lt;/P&gt;&lt;P&gt;Anver&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jan 2007 06:26:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/1829779#M353743</guid>
      <dc:creator>anversha_s</dc:creator>
      <dc:date>2007-01-29T06:26:05Z</dc:date>
    </item>
    <item>
      <title>Re: Selection Screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/1829780#M353744</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;if p_rtyp = 'M'.&lt;/P&gt;&lt;P&gt;loop at screen.&lt;/P&gt;&lt;P&gt;if screen-name = 'PUTILITY'.&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;elseif p_rtyp = 'U'.&lt;/P&gt;&lt;P&gt;loop at screen.&lt;/P&gt;&lt;P&gt;if screen-name = 'PMATNR'.&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;NB here all the fields are parameters only if you are using select-option you have to specify screen name SMATNR-LOW or SMATNR-high.&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>Mon, 29 Jan 2007 06:31:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/1829780#M353744</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-29T06:31:43Z</dc:date>
    </item>
    <item>
      <title>Re: Selection Screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/1829781#M353745</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 this code:&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 resource type = M.&lt;/P&gt;&lt;P&gt;  loop at screen.&lt;/P&gt;&lt;P&gt;    if screeen-name = 'Material'.&lt;/P&gt;&lt;P&gt;      screen-input = 1.&lt;/P&gt;&lt;P&gt;    else if screen-name = 'Utility'.&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 resource type = U.&lt;/P&gt;&lt;P&gt;  loop at screen.&lt;/P&gt;&lt;P&gt;    if screeen-name = 'Material'.&lt;/P&gt;&lt;P&gt;      screen-input = 0.&lt;/P&gt;&lt;P&gt;    else if screen-name = 'Utility'.&lt;/P&gt;&lt;P&gt;      screen-input = 1.&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;else.&lt;/P&gt;&lt;P&gt;  loop at screen.&lt;/P&gt;&lt;P&gt;    if screeen-name = 'Material' or&lt;/P&gt;&lt;P&gt;       screen-name = 'Utility'..&lt;/P&gt;&lt;P&gt;      screen-input = 1.&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;Regards,&lt;/P&gt;&lt;P&gt;Ramesh.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*Reward points if found helpful&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jan 2007 06:32:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/1829781#M353745</guid>
      <dc:creator>learnsap</dc:creator>
      <dc:date>2007-01-29T06:32:17Z</dc:date>
    </item>
    <item>
      <title>Re: Selection Screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/1829782#M353746</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;you can use the PBO of the selection screen, with the event  AT SELECTION-SCREEN OUTPUT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but you need to triger the event by hitting an enter key or something once you enter your value in the first field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can get more details on &lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw2004s/helpdata/en/56/1eb6c705ad11d2952f0000e8353423/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw2004s/helpdata/en/56/1eb6c705ad11d2952f0000e8353423/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;P&gt;Santosh&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Santosh T G&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jan 2007 06:38:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/1829782#M353746</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-29T06:38:59Z</dc:date>
    </item>
    <item>
      <title>Re: Selection Screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/1829783#M353747</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;parameters: p_type type c,&lt;/P&gt;&lt;P&gt;                  p_matnr like mara-matnr modif id 'MAT',&lt;/P&gt;&lt;P&gt;                  p_ut(4) type c modif id 'UTL'.&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 screen-group1 = 'MAT'.&lt;/P&gt;&lt;P&gt;         if p_type = 'M'.&lt;/P&gt;&lt;P&gt;            screen-input = 1.&lt;/P&gt;&lt;P&gt;         else.&lt;/P&gt;&lt;P&gt;            screen-input = 0.&lt;/P&gt;&lt;P&gt;         endif.&lt;/P&gt;&lt;P&gt;      elseif screen-group1 = 'UTL'.    &lt;/P&gt;&lt;P&gt;         if p_type = 'U'.&lt;/P&gt;&lt;P&gt;            screen-input = 1.&lt;/P&gt;&lt;P&gt;         else.&lt;/P&gt;&lt;P&gt;            screen-input = 0.&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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jan 2007 06:39:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/1829783#M353747</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-29T06:39:23Z</dc:date>
    </item>
    <item>
      <title>Re: Selection Screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/1829784#M353748</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Syed,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check the code below&lt;/P&gt;&lt;P&gt;REPORT ZEX33 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;parameter : ResType,&lt;/P&gt;&lt;P&gt;           Material(18) modif id md1,&lt;/P&gt;&lt;P&gt;           Utility(15) modif id md2.&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 ResType = 'M'.&lt;/P&gt;&lt;P&gt;     LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;     IF SCREEN-GROUP1 = 'MD1'.&lt;/P&gt;&lt;P&gt;     SCREEN-INPUT = '0'.&lt;/P&gt;&lt;P&gt;     MODIFY SCREEN.&lt;/P&gt;&lt;P&gt;     CONTINUE.&lt;/P&gt;&lt;P&gt;     ENDIF.&lt;/P&gt;&lt;P&gt;     ENDLOOP.&lt;/P&gt;&lt;P&gt;  elseif ResType = 'U'.&lt;/P&gt;&lt;P&gt;     LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;     IF SCREEN-GROUP1 = 'MD2'.&lt;/P&gt;&lt;P&gt;     SCREEN-INPUT = '0'.&lt;/P&gt;&lt;P&gt;     MODIFY SCREEN.&lt;/P&gt;&lt;P&gt;     CONTINUE.&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;start-of-selection.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jan 2007 06:39:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/selection-screen/m-p/1829784#M353748</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-29T06:39:28Z</dc:date>
    </item>
  </channel>
</rss>

