<?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: Modifications on selection screen in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/modifications-on-selection-screen/m-p/7516316#M1560109</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;  I think you should get a lot of threads related to this kind of requirement if you search SCN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  It should be done like below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

parameters: p_check as checkbox user-command ucom,
                    p_field like  mara-matnr.
at selection-screen output.


 loop at screen.
  if screen-name = 'p_field'.
   if p_check eq ' '.
    screen-invisible = 1.
  modify screen.
   else.
  screen-input = 1.
modify screen.
   endif.
  endif.
endloop.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope it helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Himanshu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 24 Nov 2010 19:57:29 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-11-24T19:57:29Z</dc:date>
    <item>
      <title>Modifications on selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/modifications-on-selection-screen/m-p/7516315#M1560108</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guis,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a requirement on selection screen.&lt;/P&gt;&lt;P&gt;I have one check box and one input field on the screen.If i select the check box then i have to display the input filed in the same screen if I deselect the check box then I have to disappear the input field .&lt;/P&gt;&lt;P&gt;I write the logic under AT SELECTION OUTPUT i can able to disappear the input field but if  I  select the check box I am unable to display the input field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please anyone give the solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;Santhosh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Nov 2010 19:34:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/modifications-on-selection-screen/m-p/7516315#M1560108</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-11-24T19:34:29Z</dc:date>
    </item>
    <item>
      <title>Re: Modifications on selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/modifications-on-selection-screen/m-p/7516316#M1560109</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;  I think you should get a lot of threads related to this kind of requirement if you search SCN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  It should be done like below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

parameters: p_check as checkbox user-command ucom,
                    p_field like  mara-matnr.
at selection-screen output.


 loop at screen.
  if screen-name = 'p_field'.
   if p_check eq ' '.
    screen-invisible = 1.
  modify screen.
   else.
  screen-input = 1.
modify screen.
   endif.
  endif.
endloop.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope it helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Himanshu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Nov 2010 19:57:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/modifications-on-selection-screen/m-p/7516316#M1560109</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-11-24T19:57:29Z</dc:date>
    </item>
    <item>
      <title>Re: Modifications on selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/modifications-on-selection-screen/m-p/7516317#M1560110</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;lt;li&amp;gt;Try this way. &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;REPORT ztest_notepad.
PARAMETERS:
      c_check AS CHECKBOX USER-COMMAND uc1,
      p_input TYPE char5 modif id md1.

AT SELECTION-SCREEN output.
  LOOP AT SCREEN.
    IF screen-group1 EQ 'MD1'.
      CASE c_check.
        WHEN 'X'.
          screen-active = '1'.
        WHEN OTHERS.
          screen-active = '0'.
      ENDCASE.
      MODIFY SCREEN.
    ENDIF.
  ENDLOOP.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Venkat.O&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Nov 2010 02:48:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/modifications-on-selection-screen/m-p/7516317#M1560110</guid>
      <dc:creator>venkat_o</dc:creator>
      <dc:date>2010-11-25T02:48:13Z</dc:date>
    </item>
    <item>
      <title>Re: Modifications on selection screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/modifications-on-selection-screen/m-p/7516318#M1560111</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi friend,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please excute this code first input field disappeard.when u select the check box and press the enter then u can get the field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i thing this is code is usefull for u.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PARAMETERS:c1 as CHECKBOX,&lt;/P&gt;&lt;P&gt;p1 type string MODIF ID 001.&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 c1 = 'X'.&lt;/P&gt;&lt;P&gt;    if screen-group1 eq '001'." and screen-group1 eq 003.&lt;/P&gt;&lt;P&gt;      screen-INVISIBLE = 1.&lt;/P&gt;&lt;P&gt;      SCREEN-ACTIVE = 1.&lt;/P&gt;&lt;P&gt;      MODIFY SCREEN.&lt;/P&gt;&lt;P&gt;    endif.&lt;/P&gt;&lt;P&gt;  else.&lt;/P&gt;&lt;P&gt;    if screen-group1 eq '001'." and screen-group1 eq 003.&lt;/P&gt;&lt;P&gt;      screen-INVISIBLE = 0.&lt;/P&gt;&lt;P&gt;      SCREEN-ACTIVE = 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      MODIFY SCREEN.&lt;/P&gt;&lt;P&gt;    endif.&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;thanks,&lt;/P&gt;&lt;P&gt;muralii&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Nov 2010 04:46:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/modifications-on-selection-screen/m-p/7516318#M1560111</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-11-25T04:46:51Z</dc:date>
    </item>
  </channel>
</rss>

