<?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 Dynamically changing the properties in module pool. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamically-changing-the-properties-in-module-pool/m-p/6796608#M1466740</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Hi EXPERTS, *&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;I have a doubt, in module pool programming if we want to change the properties of the screen elements based on the radio button choice,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i know i have to enable or disable textbox in PBO but what if the textbox is a manditory, can i change or remove the manditory property...??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;U&gt;Thanks In AdV.&lt;/U&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 09 Apr 2010 05:00:28 GMT</pubDate>
    <dc:creator>maltesh0188</dc:creator>
    <dc:date>2010-04-09T05:00:28Z</dc:date>
    <item>
      <title>Dynamically changing the properties in module pool.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamically-changing-the-properties-in-module-pool/m-p/6796608#M1466740</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Hi EXPERTS, *&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;I have a doubt, in module pool programming if we want to change the properties of the screen elements based on the radio button choice,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i know i have to enable or disable textbox in PBO but what if the textbox is a manditory, can i change or remove the manditory property...??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;U&gt;Thanks In AdV.&lt;/U&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Apr 2010 05:00:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamically-changing-the-properties-in-module-pool/m-p/6796608#M1466740</guid>
      <dc:creator>maltesh0188</dc:creator>
      <dc:date>2010-04-09T05:00:28Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically changing the properties in module pool.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamically-changing-the-properties-in-module-pool/m-p/6796609#M1466741</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;If your Issue is resolved, Close this threas so that who search for similar Issue will get their Issues Resolves as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;in PBO.

module status_0100.
" Go to SE11 and enter SCREEN and Choose Display to check the Fields of this Structure.
in program.
module status_0100.
loop at screen.
if screen-name = 'SCREEN_FIELD_NAME'.
screen-required = 0. " Means Not mandator or if eq 1 then Mandatory
modify screen.
endif.
endloop.
endmodule.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Cheerz&lt;/P&gt;&lt;P&gt;Ram&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Apr 2010 05:31:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamically-changing-the-properties-in-module-pool/m-p/6796609#M1466741</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-04-09T05:31:46Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically changing the properties in module pool.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamically-changing-the-properties-in-module-pool/m-p/6796610#M1466742</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  loop at SCREEN and modify the propertis based on the requirements. In the loop check the NAME of the screen control you want to modify properties for and set the new properties.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dont forget to use the MODIFY SCREEN statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sagar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Apr 2010 07:14:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamically-changing-the-properties-in-module-pool/m-p/6796610#M1466742</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-04-09T07:14:31Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamically changing the properties in module pool.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamically-changing-the-properties-in-module-pool/m-p/6796611#M1466743</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Say if you have this parameters in the report&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;define group id's for the fields you want to add visible and hide properties.&lt;/P&gt;&lt;P&gt;Here S1 for field1 and S2 for field2.&lt;/P&gt;&lt;P&gt;and now &lt;/P&gt;&lt;P&gt;in the pbo block &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if p_radio eq 'X'.&lt;/P&gt;&lt;P&gt;loop at screen.&lt;/P&gt;&lt;P&gt;if screen-group1 = 'S1'.&lt;/P&gt;&lt;P&gt;  screen-active = 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;if p_radio1 eq 'X'.&lt;/P&gt;&lt;P&gt;loop at screen.&lt;/P&gt;&lt;P&gt;if screen-group1 = 'S2'.&lt;/P&gt;&lt;P&gt;  screen-active = 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;This will do according to the radio button user press.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope it helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards and best wishes.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 11 Apr 2010 04:03:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamically-changing-the-properties-in-module-pool/m-p/6796611#M1466743</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-04-11T04:03:39Z</dc:date>
    </item>
  </channel>
</rss>

