<?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: How to modify a component on screen? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-modify-a-component-on-screen/m-p/1312445#M162385</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi long,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Its a little tricky.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. we have to use two events.&lt;/P&gt;&lt;P&gt;   at selection screen. (for detecting checkbox tick)&lt;/P&gt;&lt;P&gt;   at selection screen output.  (for showing disabled)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. just copy paste in new program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;report abc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : flag type i.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*----&lt;/P&gt;&lt;HR originaltext="------------------" /&gt;&lt;P&gt;parameters : a(10) type c modif id M1.&lt;/P&gt;&lt;P&gt;parameters : chk type c as checkbox user-command ch.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*----&lt;/P&gt;&lt;HR originaltext="------------" /&gt;&lt;P&gt;initialization.&lt;/P&gt;&lt;P&gt;flag = 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*----&lt;/P&gt;&lt;HR originaltext="---------------" /&gt;&lt;P&gt;at selection-screen .&lt;/P&gt;&lt;P&gt;  check sy-ucomm = 'CH'.&lt;/P&gt;&lt;P&gt;  flag = 1.&lt;/P&gt;&lt;P&gt;  if chk = 'X'.&lt;/P&gt;&lt;P&gt;    flag = 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;*----&lt;/P&gt;&lt;HR originaltext="------------------------" /&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  = 'M1'.&lt;/P&gt;&lt;P&gt;      screen-input = flag.&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;&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>Fri, 12 May 2006 10:50:05 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-05-12T10:50:05Z</dc:date>
    <item>
      <title>How to modify a component on screen?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-modify-a-component-on-screen/m-p/1312439#M162379</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;  In my program, on the default screen, there is a checkbox and a parameter. If user click checkbox, I want the parameter become disable. How to realize this in program?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 May 2006 10:26:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-modify-a-component-on-screen/m-p/1312439#M162379</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-12T10:26:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to modify a component on screen?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-modify-a-component-on-screen/m-p/1312440#M162380</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;if CHK = 'X'.
  loop at screen.
     if screen-name = 'P_INPUT'.
        screen-invisible = '1'.
        modify screen.
     endif.
  endloop.
endif.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where P_INPUT is ur parameter name and CHK is ur checkbox name&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 May 2006 10:28:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-modify-a-component-on-screen/m-p/1312440#M162380</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-12T10:28:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to modify a component on screen?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-modify-a-component-on-screen/m-p/1312441#M162381</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use 'AT SELECTION-SCREEN OUTPUT' event.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 May 2006 10:29:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-modify-a-component-on-screen/m-p/1312441#M162381</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-12T10:29:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to modify a component on screen?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-modify-a-component-on-screen/m-p/1312442#M162382</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;In your AT SELECTION SCREEN OUTPUT event, &lt;/P&gt;&lt;P&gt;LOOP AT SCREEN&lt;/P&gt;&lt;P&gt;chech if check box is checked then,&lt;/P&gt;&lt;P&gt;move 0 to checkbox-input.&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, 12 May 2006 10:29:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-modify-a-component-on-screen/m-p/1312442#M162382</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-12T10:29:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to modify a component on screen?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-modify-a-component-on-screen/m-p/1312443#M162383</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;Take a look at this thread.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="1506332"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Except that this thread talks about the selection screen the method to dynamically play with the components of the screen is still the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt; MODIFY THE COMPONENTS.&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;Ravi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NOTE : Please mark the helpful answers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 May 2006 10:33:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-modify-a-component-on-screen/m-p/1312443#M162383</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-12T10:33:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to modify a component on screen?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-modify-a-component-on-screen/m-p/1312444#M162384</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;LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;.........&lt;/P&gt;&lt;P&gt;MODIFY SCREEN.&lt;/P&gt;&lt;P&gt;EDNLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if u want to make any chenges in the screen display at run time, u can do in the above event.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"SCREEN" is a table containg fields like ACTIVE, INVISIBLE, INPUT, OUTPUT, REQUIRED etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check the table in dictionary and&lt;/P&gt;&lt;P&gt;see the fields, u can understand.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 May 2006 10:37:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-modify-a-component-on-screen/m-p/1312444#M162384</guid>
      <dc:creator>hymavathi_oruganti</dc:creator>
      <dc:date>2006-05-12T10:37:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to modify a component on screen?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-modify-a-component-on-screen/m-p/1312445#M162385</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi long,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Its a little tricky.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. we have to use two events.&lt;/P&gt;&lt;P&gt;   at selection screen. (for detecting checkbox tick)&lt;/P&gt;&lt;P&gt;   at selection screen output.  (for showing disabled)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. just copy paste in new program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;report abc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : flag type i.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*----&lt;/P&gt;&lt;HR originaltext="------------------" /&gt;&lt;P&gt;parameters : a(10) type c modif id M1.&lt;/P&gt;&lt;P&gt;parameters : chk type c as checkbox user-command ch.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*----&lt;/P&gt;&lt;HR originaltext="------------" /&gt;&lt;P&gt;initialization.&lt;/P&gt;&lt;P&gt;flag = 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*----&lt;/P&gt;&lt;HR originaltext="---------------" /&gt;&lt;P&gt;at selection-screen .&lt;/P&gt;&lt;P&gt;  check sy-ucomm = 'CH'.&lt;/P&gt;&lt;P&gt;  flag = 1.&lt;/P&gt;&lt;P&gt;  if chk = 'X'.&lt;/P&gt;&lt;P&gt;    flag = 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;*----&lt;/P&gt;&lt;HR originaltext="------------------------" /&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  = 'M1'.&lt;/P&gt;&lt;P&gt;      screen-input = flag.&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;&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>Fri, 12 May 2006 10:50:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-modify-a-component-on-screen/m-p/1312445#M162385</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-12T10:50:05Z</dc:date>
    </item>
  </channel>
</rss>

