<?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: Remove pushbutton during runtime in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/remove-pushbutton-during-runtime/m-p/5354896#M1232896</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 the group1 for the textbox (i/o field) which need to be hidden on a certain condition as &lt;STRONG&gt;ABC&lt;/STRONG&gt; using the attributes of the textbox.&lt;/P&gt;&lt;P&gt;Now use the code to hide the button on a cretain condition.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
if &amp;lt;condition&amp;gt;. "condition as per your requirement
  loop at screen.
    if screen-group1 = 'ABC'. "group1 for i/o field defined in its attributes
      screen-invisible = 1. "to hide the i/o field
    endif.
    modify screen.
  endloop.
else. "if condition is not true then display i/o field
  loop at screen.
    if screen-group1 = 'ABC'. "group1 for i/o field defined in its attributes
      screen-invisible = 0. "to display the i/o field
    endif.
    modify screen.
  endloop.
endif.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Tarun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 06 Mar 2009 08:48:56 GMT</pubDate>
    <dc:creator>I355602</dc:creator>
    <dc:date>2009-03-06T08:48:56Z</dc:date>
    <item>
      <title>Remove pushbutton during runtime</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/remove-pushbutton-during-runtime/m-p/5354892#M1232892</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how can I remove a pushbutton during runtime from the screen? &lt;/P&gt;&lt;P&gt;if certain conditions are true than I have to remove the pushbuttons from displaying.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Mar 2009 07:32:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/remove-pushbutton-during-runtime/m-p/5354892#M1232892</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-06T07:32:38Z</dc:date>
    </item>
    <item>
      <title>Re: Remove pushbutton during runtime</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/remove-pushbutton-during-runtime/m-p/5354893#M1232893</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;SET PF-STATUS &amp;lt;Status&amp;gt; EXLCUDING table_ucommand.&lt;/P&gt;&lt;P&gt;Check this link..&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw70/helpdata/en/9f/dba42335c111d1829f0000e829fbfe/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw70/helpdata/en/9f/dba42335c111d1829f0000e829fbfe/content.htm&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Mar 2009 07:36:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/remove-pushbutton-during-runtime/m-p/5354893#M1232893</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-06T07:36:56Z</dc:date>
    </item>
    <item>
      <title>Re: Remove pushbutton during runtime</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/remove-pushbutton-during-runtime/m-p/5354894#M1232894</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's working only if the pushbutton is on the status bar, but mine is under a table control, on the screen.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Mar 2009 08:01:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/remove-pushbutton-during-runtime/m-p/5354894#M1232894</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-06T08:01:34Z</dc:date>
    </item>
    <item>
      <title>Re: Remove pushbutton during runtime</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/remove-pushbutton-during-runtime/m-p/5354895#M1232895</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT SCREEN.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Mar 2009 08:26:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/remove-pushbutton-during-runtime/m-p/5354895#M1232895</guid>
      <dc:creator>Sm1tje</dc:creator>
      <dc:date>2009-03-06T08:26:29Z</dc:date>
    </item>
    <item>
      <title>Re: Remove pushbutton during runtime</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/remove-pushbutton-during-runtime/m-p/5354896#M1232896</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 the group1 for the textbox (i/o field) which need to be hidden on a certain condition as &lt;STRONG&gt;ABC&lt;/STRONG&gt; using the attributes of the textbox.&lt;/P&gt;&lt;P&gt;Now use the code to hide the button on a cretain condition.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
if &amp;lt;condition&amp;gt;. "condition as per your requirement
  loop at screen.
    if screen-group1 = 'ABC'. "group1 for i/o field defined in its attributes
      screen-invisible = 1. "to hide the i/o field
    endif.
    modify screen.
  endloop.
else. "if condition is not true then display i/o field
  loop at screen.
    if screen-group1 = 'ABC'. "group1 for i/o field defined in its attributes
      screen-invisible = 0. "to display the i/o field
    endif.
    modify screen.
  endloop.
endif.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Tarun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Mar 2009 08:48:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/remove-pushbutton-during-runtime/m-p/5354896#M1232896</guid>
      <dc:creator>I355602</dc:creator>
      <dc:date>2009-03-06T08:48:56Z</dc:date>
    </item>
    <item>
      <title>Re: Remove pushbutton during runtime</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/remove-pushbutton-during-runtime/m-p/5354897#M1232897</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;screen-invisible = 1. &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Mar 2009 08:49:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/remove-pushbutton-during-runtime/m-p/5354897#M1232897</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-06T08:49:07Z</dc:date>
    </item>
    <item>
      <title>Re: Remove pushbutton during runtime</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/remove-pushbutton-during-runtime/m-p/5354898#M1232898</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Mar 2009 08:49:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/remove-pushbutton-during-runtime/m-p/5354898#M1232898</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-06T08:49:25Z</dc:date>
    </item>
  </channel>
</rss>

