<?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: Visible and invisible options for pushbutton in module pool programming in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/visible-and-invisible-options-for-pushbutton-in-module-pool-programming/m-p/8725151#M1673019</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;Yes. It is possible. Assign screen group number to the SAVE button. ( in layout click on SAVE button and click on attributes, there you can assign the saceen group number). Let say SC1. Also assign function codes to the both buttons, let say CRET for create button and SAVE for save button. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now in PBO,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;* To hide initially.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;loop at screen.&lt;/P&gt;&lt;P&gt;if screen-group1 = 'SC1'&lt;/P&gt;&lt;P&gt;screen-active = 0.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and to make visible on click on create button.,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In PAI.,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;case sy-ucomm.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when 'CRET'&amp;nbsp; " function code for create&lt;/P&gt;&lt;P&gt; *make save visible&lt;/P&gt;&lt;P&gt;loop at screen.&lt;/P&gt;&lt;P&gt;if screen-group1 = 'SC1'&lt;/P&gt;&lt;P&gt;screen-active = 1.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endcase.&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&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, 13 Apr 2012 05:01:55 GMT</pubDate>
    <dc:creator>Kiran_Valluru</dc:creator>
    <dc:date>2012-04-13T05:01:55Z</dc:date>
    <item>
      <title>Visible and invisible options for pushbutton in module pool programming</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/visible-and-invisible-options-for-pushbutton-in-module-pool-programming/m-p/8725148#M1673016</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the requirement to provide visible and invisible options for push button&lt;/P&gt;&lt;P&gt;for ex; i have two buttons &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; create&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; save&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;first save button is need to be in invisible mode After create button click save button need to be appears.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and is there any options for display text fields need to display in module pool&amp;nbsp; when click on display button.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;Chowdary.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Apr 2012 04:42:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/visible-and-invisible-options-for-pushbutton-in-module-pool-programming/m-p/8725148#M1673016</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-04-13T04:42:16Z</dc:date>
    </item>
    <item>
      <title>Re: Visible and invisible options for pushbutton in module pool programming</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/visible-and-invisible-options-for-pushbutton-in-module-pool-programming/m-p/8725149#M1673017</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use Loop at screen before the display of the screen. Set screen-invisible option to 1 to make the save button invisible.&lt;/P&gt;&lt;P&gt;On user command when the sy-ucomm is create, again loop at screen and set the scree-invisible option to 0 for save button to be visible.&lt;/P&gt;&lt;P&gt; Assign a screen-group for the save button in screen painter to map screen value in your program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;--- Raja Sekhar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Apr 2012 04:55:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/visible-and-invisible-options-for-pushbutton-in-module-pool-programming/m-p/8725149#M1673017</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-04-13T04:55:37Z</dc:date>
    </item>
    <item>
      <title>Re: Visible and invisible options for pushbutton in module pool programming</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/visible-and-invisible-options-for-pushbutton-in-module-pool-programming/m-p/8725150#M1673018</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear raja,&lt;/P&gt;&lt;P&gt;i am using the fallowing code in PBO it is working and In PAI i am using SCREEN-INVISIBLE = 0 it is not working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L1S52"&gt;LOOP &lt;SPAN class="L1S52"&gt;AT&lt;/SPAN&gt; &lt;SPAN class="L1S52"&gt;SCREEN&lt;/SPAN&gt;.&lt;BR /&gt;&lt;SPAN class="L1S31"&gt;&amp;nbsp;&amp;nbsp; IF SCREEN-NAME = 'SAVE'.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Mod Group&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class="L1S31"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SCREEN-ACTIVE = 0.&amp;nbsp; " Remove&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class="L1S31"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SCREEN-INVISIBLE = 1.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class="L1S31"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MODIFY SCREEN.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class="L1S31"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ENDIF.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class="L1S31"&gt; ENDLOOP.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Apr 2012 05:00:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/visible-and-invisible-options-for-pushbutton-in-module-pool-programming/m-p/8725150#M1673018</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-04-13T05:00:49Z</dc:date>
    </item>
    <item>
      <title>Re: Visible and invisible options for pushbutton in module pool programming</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/visible-and-invisible-options-for-pushbutton-in-module-pool-programming/m-p/8725151#M1673019</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;Yes. It is possible. Assign screen group number to the SAVE button. ( in layout click on SAVE button and click on attributes, there you can assign the saceen group number). Let say SC1. Also assign function codes to the both buttons, let say CRET for create button and SAVE for save button. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now in PBO,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;* To hide initially.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;loop at screen.&lt;/P&gt;&lt;P&gt;if screen-group1 = 'SC1'&lt;/P&gt;&lt;P&gt;screen-active = 0.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and to make visible on click on create button.,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In PAI.,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;case sy-ucomm.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when 'CRET'&amp;nbsp; " function code for create&lt;/P&gt;&lt;P&gt; *make save visible&lt;/P&gt;&lt;P&gt;loop at screen.&lt;/P&gt;&lt;P&gt;if screen-group1 = 'SC1'&lt;/P&gt;&lt;P&gt;screen-active = 1.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endcase.&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&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, 13 Apr 2012 05:01:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/visible-and-invisible-options-for-pushbutton-in-module-pool-programming/m-p/8725151#M1673019</guid>
      <dc:creator>Kiran_Valluru</dc:creator>
      <dc:date>2012-04-13T05:01:55Z</dc:date>
    </item>
    <item>
      <title>Re: Visible and invisible options for pushbutton in module pool programming</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/visible-and-invisible-options-for-pushbutton-in-module-pool-programming/m-p/8725152#M1673020</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;solved by my self.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regadrs,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chowdary.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Apr 2012 05:53:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/visible-and-invisible-options-for-pushbutton-in-module-pool-programming/m-p/8725152#M1673020</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-04-13T05:53:21Z</dc:date>
    </item>
  </channel>
</rss>

