<?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 disable and enable items using code how? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/disable-and-enable-items-using-code-how/m-p/3214118#M766355</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi, &lt;/P&gt;&lt;P&gt;plz tell me how can i control from the code the properties of the component on the screen. &lt;/P&gt;&lt;P&gt;(i.e if i have txtbox on screen and i set it invisable on the design mode, how can i from the code change it to be visable. &lt;/P&gt;&lt;P&gt;also how to enable and disable elements...etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sreekar Pande.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 23 Dec 2007 11:05:52 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-12-23T11:05:52Z</dc:date>
    <item>
      <title>disable and enable items using code how?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/disable-and-enable-items-using-code-how/m-p/3214118#M766355</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi, &lt;/P&gt;&lt;P&gt;plz tell me how can i control from the code the properties of the component on the screen. &lt;/P&gt;&lt;P&gt;(i.e if i have txtbox on screen and i set it invisable on the design mode, how can i from the code change it to be visable. &lt;/P&gt;&lt;P&gt;also how to enable and disable elements...etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sreekar Pande.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 23 Dec 2007 11:05:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/disable-and-enable-items-using-code-how/m-p/3214118#M766355</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-23T11:05:52Z</dc:date>
    </item>
    <item>
      <title>Re: disable and enable items using code how?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/disable-and-enable-items-using-code-how/m-p/3214119#M766356</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;in case of selection screen.&lt;/P&gt;&lt;P&gt;u need to add modif-id &amp;lt;name&amp;gt; to the parameters &amp;amp; select-options.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT-OPTIONS: S_EBELN FOR EKKO-EBELN MODIF ID S1.&lt;/P&gt;&lt;P&gt;PARAMETER P_MATNR TYPE MARA-MATNR MODIF ID S2.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN END OF BLOCK B1.&lt;/P&gt;&lt;P&gt;PARAMETERS:R1 RADIOBUTTON GROUP G1 USER-COMMAND UC,&lt;/P&gt;&lt;P&gt;R2 RADIOBUTTON GROUP G1.&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 R1 = 'X' AND SCREEN-GROUP1 = 'S2'.&lt;/P&gt;&lt;P&gt;SCREEN-INPUT = 0.&lt;/P&gt;&lt;P&gt;MODIFY SCREEN.&lt;/P&gt;&lt;P&gt;CLEAR SCREEN.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF R2 = 'X' AND SCREEN-GROUP1 = 'S1'.&lt;/P&gt;&lt;P&gt;SCREEN-INPUT = 0.&lt;/P&gt;&lt;P&gt;MODIFY SCREEN.&lt;/P&gt;&lt;P&gt;CLEAR 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;Reward if useful&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;ANUPAM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 23 Dec 2007 11:18:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/disable-and-enable-items-using-code-how/m-p/3214119#M766356</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-23T11:18:24Z</dc:date>
    </item>
    <item>
      <title>Re: disable and enable items using code how?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/disable-and-enable-items-using-code-how/m-p/3214120#M766357</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;all you need to do is perform a loop at screen statement within the PBO of the screen and change the attributes of the particular field. I.e. to change an input field called 'PA9007-ID' from input to output use the following code: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at screen. &lt;/P&gt;&lt;P&gt; if screen-name = 'PA9007-ID'. &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;STRONG&gt;Reward points if found helpful....&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Cheers,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Rakesh.&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Dec 2007 14:13:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/disable-and-enable-items-using-code-how/m-p/3214120#M766357</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-24T14:13:28Z</dc:date>
    </item>
  </channel>
</rss>

