<?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 Disabling Input Fields and select options in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/disabling-input-fields-and-select-options/m-p/7922713#M1598872</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Gurus,&lt;/P&gt;&lt;P&gt;I know there are lots of posts regarding disabling input fields on web dynpro screen but none of them give the corret solution&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have 20 fields on my screen from these i want to make one parameter field and one select option disabled when user selects appropriate radio button.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The fields are created dynamically . I am adding the code below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;lt;removed by moderator&amp;gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;from these i want to disable p_name and s_lifnr. I tried all the solution on different post but none of them worked.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have written the above code in WDDOMODIFYVIEW.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please reply how to do this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in adance but &lt;EM&gt;&amp;lt;removed by moderator&amp;gt;&lt;/EM&gt;. upd_selection_field dont work at all&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN __default_attr="red" __jive_macro_name="color"&gt;Moderator message: this is the wrong forum, please have a look in the "Web Dynpro ABAP" forum.&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN __default_attr="red" __jive_macro_name="color"&gt;Moderator message: please post only relevant code parts, your posts must contain less than 5000 characters to preserve formatting.&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Thomas Zloch on May 27, 2011 1:53 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 27 May 2011 11:32:33 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-05-27T11:32:33Z</dc:date>
    <item>
      <title>Disabling Input Fields and select options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/disabling-input-fields-and-select-options/m-p/7922713#M1598872</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Gurus,&lt;/P&gt;&lt;P&gt;I know there are lots of posts regarding disabling input fields on web dynpro screen but none of them give the corret solution&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have 20 fields on my screen from these i want to make one parameter field and one select option disabled when user selects appropriate radio button.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The fields are created dynamically . I am adding the code below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;lt;removed by moderator&amp;gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;from these i want to disable p_name and s_lifnr. I tried all the solution on different post but none of them worked.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have written the above code in WDDOMODIFYVIEW.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please reply how to do this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in adance but &lt;EM&gt;&amp;lt;removed by moderator&amp;gt;&lt;/EM&gt;. upd_selection_field dont work at all&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN __default_attr="red" __jive_macro_name="color"&gt;Moderator message: this is the wrong forum, please have a look in the "Web Dynpro ABAP" forum.&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN __default_attr="red" __jive_macro_name="color"&gt;Moderator message: please post only relevant code parts, your posts must contain less than 5000 characters to preserve formatting.&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Thomas Zloch on May 27, 2011 1:53 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 May 2011 11:32:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/disabling-input-fields-and-select-options/m-p/7922713#M1598872</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-05-27T11:32:33Z</dc:date>
    </item>
    <item>
      <title>Re: Disabling Input Fields and select options</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/disabling-input-fields-and-select-options/m-p/7922714#M1598873</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;It is not able to read your code.,  create an attribute in context of type WDY_BOOLEAN and bind the read only property of input UI to that attribute. and based on the radio button selected in OnSelect Event of Radio Button set the attribute abap_true or abap_false.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check this wiki : &lt;A href="http://wiki.sdn.sap.com/wiki/display/WDABAP/Simple" target="test_blank"&gt;http://wiki.sdn.sap.com/wiki/display/WDABAP/Simple&lt;/A&gt;&lt;EM&gt;application&lt;/EM&gt;to&lt;EM&gt;change&lt;/EM&gt;properties&lt;EM&gt;of&lt;/EM&gt;UI&lt;EM&gt;Elements&lt;/EM&gt;during&lt;EM&gt;runtime&lt;/EM&gt;in&lt;EM&gt;Web&lt;/EM&gt;Dynpro+ABAP&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps u.,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Kiran&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 May 2011 11:45:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/disabling-input-fields-and-select-options/m-p/7922714#M1598873</guid>
      <dc:creator>Kiran_Valluru</dc:creator>
      <dc:date>2011-05-27T11:45:24Z</dc:date>
    </item>
  </channel>
</rss>

