<?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 Pushbutton on screen visible/invisible in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/pushbutton-on-screen-visible-invisible/m-p/1066228#M93366</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;on a scree there is a push button. The screen can be started by 2 ways, once the push button should be visible, once it should be invisible. &lt;/P&gt;&lt;P&gt;If I start the screen THE FIRST TIME the pushbutton is shown and if I change the view to the situation without the push button, the button disappears. I can switch back to the situation where the push button is shown. Everything ok.&lt;/P&gt;&lt;P&gt;But if I start the screen THE FIRST TIME in the situation where the push button is invisible and then if I switch to the situation where the button should be shown, it is not visible.&lt;/P&gt;&lt;P&gt;Technically I use loop at screen with modify and I set the variables active, input, output and invisible concerning and respecting correlations between these variables (compare documentation).&lt;/P&gt;&lt;P&gt;Has anybody an idea?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 10 Nov 2005 08:19:03 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2005-11-10T08:19:03Z</dc:date>
    <item>
      <title>Pushbutton on screen visible/invisible</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pushbutton-on-screen-visible-invisible/m-p/1066228#M93366</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;on a scree there is a push button. The screen can be started by 2 ways, once the push button should be visible, once it should be invisible. &lt;/P&gt;&lt;P&gt;If I start the screen THE FIRST TIME the pushbutton is shown and if I change the view to the situation without the push button, the button disappears. I can switch back to the situation where the push button is shown. Everything ok.&lt;/P&gt;&lt;P&gt;But if I start the screen THE FIRST TIME in the situation where the push button is invisible and then if I switch to the situation where the button should be shown, it is not visible.&lt;/P&gt;&lt;P&gt;Technically I use loop at screen with modify and I set the variables active, input, output and invisible concerning and respecting correlations between these variables (compare documentation).&lt;/P&gt;&lt;P&gt;Has anybody an idea?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Nov 2005 08:19:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pushbutton-on-screen-visible-invisible/m-p/1066228#M93366</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-10T08:19:03Z</dc:date>
    </item>
    <item>
      <title>Re: Pushbutton on screen visible/invisible</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pushbutton-on-screen-visible-invisible/m-p/1066229#M93367</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Post the part of ur code where u r facing the problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Nov 2005 08:23:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pushbutton-on-screen-visible-invisible/m-p/1066229#M93367</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-10T08:23:46Z</dc:date>
    </item>
    <item>
      <title>Re: Pushbutton on screen visible/invisible</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pushbutton-on-screen-visible-invisible/m-p/1066230#M93368</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;reward point if it helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;THESE ARE TEXT SYMBOLS FOR THE FOLLOWING CODE SNIPPET&lt;/P&gt;&lt;P&gt;001	Copy&lt;/P&gt;&lt;P&gt;002	Move&lt;/P&gt;&lt;P&gt;003	Delete&lt;/P&gt;&lt;P&gt;004	File Transfer Utility&lt;/P&gt;&lt;P&gt;005	Rename&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RUN THIS CODE FROM SE38 TO SEE DYNAMIC SCREEN CHANGES ON USER-SELECTION OF RADIO-BUTTON&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT ZANID_TEST2 MESSAGE-ID ZZ.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;selection-screen:&lt;/P&gt;&lt;P&gt;         Begin of block r1 with frame title text-006.&lt;/P&gt;&lt;P&gt;   parameters:&lt;/P&gt;&lt;P&gt;            p_cp1  radiobutton group rb1 default 'X' USER-COMMAND RND,&lt;/P&gt;&lt;P&gt;            p_mv1  radiobutton group rb1,&lt;/P&gt;&lt;P&gt;            p_ren  radiobutton group rb1,&lt;/P&gt;&lt;P&gt;            p_del1 radiobutton group rb1.&lt;/P&gt;&lt;P&gt;selection-screen:&lt;/P&gt;&lt;P&gt;         End of block r1.&lt;/P&gt;&lt;P&gt;selection-screen:&lt;/P&gt;&lt;P&gt;          begin of block b1 with frame title text-004.&lt;/P&gt;&lt;P&gt;   parameters:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;       loc1(128) obligatory lower case   "Location1&lt;/P&gt;&lt;P&gt;                    default 'E:\usr\sap\put' modif id 1,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;       file(128) obligatory  lower case    "Filename&lt;/P&gt;&lt;P&gt;               default 'E:\usr\sap\put\ekpo.dat' modif id 2,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;       newname(128) obligatory  lower case "Filname&lt;/P&gt;&lt;P&gt;                     default 'abcd.txt' modif id 3,&lt;/P&gt;&lt;P&gt;       loc2(128) obligatory lower case   "Location2&lt;/P&gt;&lt;P&gt;               default 'E:\usr\sap\D12\SYS\gen' modif id 4.&lt;/P&gt;&lt;P&gt;   selection-screen:&lt;/P&gt;&lt;P&gt;   skip,&lt;/P&gt;&lt;P&gt;    PUSHBUTTON /05(23) TEXT-001 USER-COMMAND ZCOPY modif id 5,"COPY&lt;/P&gt;&lt;P&gt;     PUSHBUTTON  30(23) TEXT-002 USER-COMMAND ZMOV modif id 6, "CUT&lt;/P&gt;&lt;P&gt;    PUSHBUTTON  55(23) TEXT-003 USER-COMMAND ZDELETE modif id 7, "DELTE&lt;/P&gt;&lt;P&gt;       skip,&lt;/P&gt;&lt;P&gt;    PUSHBUTTON /30(23) TEXT-005 USER-COMMAND ZREN modif id 8, "RENAME&lt;/P&gt;&lt;P&gt;       end of block b1.&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;  at selection-screen output .&lt;/P&gt;&lt;P&gt;      perform modify_screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*----&lt;/P&gt;&lt;HR originaltext="---" /&gt;&lt;P&gt;YOUR PROCESSING LOGIC COMES HERE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp;      Form  modify_screen&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;form modify_screen.&lt;/P&gt;&lt;P&gt;loop at screen.&lt;/P&gt;&lt;P&gt;         if p_cp1 eq 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;             if screen-group1 = '3' or&lt;/P&gt;&lt;P&gt;                screen-group1 = '6' or&lt;/P&gt;&lt;P&gt;                screen-group1 = '7' or&lt;/P&gt;&lt;P&gt;                screen-group1 = '8'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;                screen-active = 0.&lt;/P&gt;&lt;P&gt;             endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;         elseif p_mv1 eq 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;             if screen-group1 = '3' or&lt;/P&gt;&lt;P&gt;                screen-group1 = '5' or&lt;/P&gt;&lt;P&gt;                screen-group1 = '7' or&lt;/P&gt;&lt;P&gt;                screen-group1 = '8'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;                screen-active = 0.&lt;/P&gt;&lt;P&gt;             endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;         elseif p_del1 eq 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;             if screen-group1 = '3' or&lt;/P&gt;&lt;P&gt;                screen-group1 = '4' or&lt;/P&gt;&lt;P&gt;                screen-group1 = '5' or&lt;/P&gt;&lt;P&gt;                screen-group1 = '6' or&lt;/P&gt;&lt;P&gt;                screen-group1 = '8'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;                screen-active = 0.&lt;/P&gt;&lt;P&gt;             endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;         elseif p_ren eq 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;             if screen-group1 = '4' or&lt;/P&gt;&lt;P&gt;                screen-group1 = '5' or&lt;/P&gt;&lt;P&gt;                screen-group1 = '6' or&lt;/P&gt;&lt;P&gt;                screen-group1 = '7'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;                screen-active = 0.&lt;/P&gt;&lt;P&gt;             endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;         endif.&lt;/P&gt;&lt;P&gt;         modify screen.&lt;/P&gt;&lt;P&gt;      endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endform.                    " modify_screen&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Anid&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Nov 2005 08:31:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pushbutton-on-screen-visible-invisible/m-p/1066230#M93368</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-10T08:31:45Z</dc:date>
    </item>
    <item>
      <title>Re: Pushbutton on screen visible/invisible</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pushbutton-on-screen-visible-invisible/m-p/1066231#M93369</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;IF you are using a module pool program you can declare a global flag, to determine how the screein called.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: flag(1) value 'Y'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;say the screen 100 (which is having the pushbutton) is called in such a way, that button should be visible.&lt;/P&gt;&lt;P&gt;then set &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;flag = 'Y'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this should be done before , call screen 100.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;similarly if screen 100 is called in such a way that the button should be invisible then&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;flag = 'N'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call screen 100.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now in PBO of screen 100, create a Module Modiy_screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here you write the code..as&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at screen.&lt;/P&gt;&lt;P&gt;case flag.&lt;/P&gt;&lt;P&gt;  when 'Y'.&lt;/P&gt;&lt;P&gt;           modify scren to make button visible.&lt;/P&gt;&lt;P&gt;  when 'N.&lt;/P&gt;&lt;P&gt;           modify scren to make button invisible.&lt;/P&gt;&lt;P&gt;endcase.&lt;/P&gt;&lt;P&gt;modify screen.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i think you alreday done in such way, just see, if the flag is set properly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Anid&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Anid&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Nov 2005 08:45:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pushbutton-on-screen-visible-invisible/m-p/1066231#M93369</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-10T08:45:38Z</dc:date>
    </item>
    <item>
      <title>Re: Pushbutton on screen visible/invisible</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pushbutton-on-screen-visible-invisible/m-p/1066232#M93370</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Anid,&lt;/P&gt;&lt;P&gt;thanks for the answer. The switch from "invisible button" to "ivisible button" is done by F4-Help. So in this step (PAI) the modify screen is done to make the button visible and no PBO is called again (because of F4-Help).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could this be the problem?&lt;/P&gt;&lt;P&gt;Fest regards!&lt;/P&gt;&lt;P&gt;Florian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Nov 2005 10:02:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pushbutton-on-screen-visible-invisible/m-p/1066232#M93370</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-10T10:02:34Z</dc:date>
    </item>
    <item>
      <title>Re: Pushbutton on screen visible/invisible</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pushbutton-on-screen-visible-invisible/m-p/1066233#M93371</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ya thats the problem even  i think..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the modiy-screen statement are supposed to be in a PBO module , instead of PAI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;just clarify one thing...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;r u asking for ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if the user select a value from F4, make the buttn invisible, and if he selects some other value make the button visible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is this the thing you want to implement??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Nov 2005 10:10:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pushbutton-on-screen-visible-invisible/m-p/1066233#M93371</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-10T10:10:11Z</dc:date>
    </item>
    <item>
      <title>Re: Pushbutton on screen visible/invisible</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/pushbutton-on-screen-visible-invisible/m-p/1066234#M93372</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes this is what I mean.&lt;/P&gt;&lt;P&gt;I think now I have the solution. I call "LEAVE TO SCREEN XXXX" after f4-help and the PBO is called again and the button is visible.&lt;/P&gt;&lt;P&gt;It is interested that the input/output variables after F4-help calling modify screen (in PAI) are functining but not the visible/invisible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much for your help!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Florian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Nov 2005 10:42:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/pushbutton-on-screen-visible-invisible/m-p/1066234#M93372</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-10T10:42:03Z</dc:date>
    </item>
  </channel>
</rss>

