<?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: Problems in at selection-screen output - setting pushbutton invisible in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problems-in-at-selection-screen-output-setting-pushbutton-invisible/m-p/7963510#M1603084</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Since variant settings have no effect on SCREEN values in AT SELECTION-SCREEN OUTPUT, I think the only way is to check the contents of the variant and go from there. Variant name should be in sy-slset field. The rest is pretty much covered in this blog:&lt;/P&gt;&lt;P&gt;&lt;A href="http://friendlyabaper.blogspot.com/2006/10/peeking-inside-variant.html" target="test_blank"&gt;http://friendlyabaper.blogspot.com/2006/10/peeking-inside-variant.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 28 Jun 2011 20:57:35 GMT</pubDate>
    <dc:creator>Jelena_Perfiljeva</dc:creator>
    <dc:date>2011-06-28T20:57:35Z</dc:date>
    <item>
      <title>Problems in at selection-screen output - setting pushbutton invisible</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problems-in-at-selection-screen-output-setting-pushbutton-invisible/m-p/7963504#M1603078</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I hope I can get some help here&lt;/P&gt;&lt;P&gt;I have a problem with setting a pushbutton invisible&lt;/P&gt;&lt;P&gt;i have a field (long-text) in my screen - and behind this a pushbutton for calling the editor&lt;/P&gt;&lt;P&gt;if in a variant the parameters field is set invisible i also want to set the pushbutton invisible&lt;/P&gt;&lt;P&gt;i have no idea why in the at selection-screen output event screen-invisible is always 0 - but in the variant the field is set invisible.&lt;/P&gt;&lt;P&gt;i need to know if the parameters field is invisible to set the pushbutton the same&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF LINE.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN COMMENT 1(31) S_TXB_L1.&lt;/P&gt;&lt;P&gt;PARAMETERS S_TXT_L1 TYPE ZHR_FC_STRING.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN PUSHBUTTON 79(15) P_LTX_1 USER-COMMAND YLTXT1.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN END OF LINE.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF LINE.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN COMMENT 1(31) S_TXB_L2.&lt;/P&gt;&lt;P&gt;PARAMETERS S_TXT_L2 TYPE ZHR_FC_STRING.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN PUSHBUTTON 79(15) P_LTX_2 USER-COMMAND YLTXT2.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN END OF LINE.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN BEGIN OF LINE.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN COMMENT 1(31) S_TXB_L3.&lt;/P&gt;&lt;P&gt;PARAMETERS S_TXT_L3 TYPE ZHR_FC_STRING.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN PUSHBUTTON 79(15) P_LTX_3 USER-COMMAND YLTXT3.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN END OF LINE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN OUTPUT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;    IF SCREEN-NAME(7) = 'S_TXT_L'.&lt;/P&gt;&lt;P&gt;      MERK_INVISIBLE = SCREEN-INVISIBLE.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;    IF SCREEN-NAME(6) = 'P_LTX_'.&lt;/P&gt;&lt;P&gt;     SCREEN-INVISIBLE = MERK_INVISIBLE.&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;&lt;/P&gt;&lt;P&gt;Thanks very much...&lt;/P&gt;&lt;P&gt;Helmut&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Jun 2011 13:01:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problems-in-at-selection-screen-output-setting-pushbutton-invisible/m-p/7963504#M1603078</guid>
      <dc:creator>helmut_sieberer</dc:creator>
      <dc:date>2011-06-27T13:01:31Z</dc:date>
    </item>
    <item>
      <title>Re: Problems in at selection-screen output - setting pushbutton invisible</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problems-in-at-selection-screen-output-setting-pushbutton-invisible/m-p/7963505#M1603079</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That doesn't make sense. How do you set the field to invisible using a variant?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Jun 2011 16:27:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problems-in-at-selection-screen-output-setting-pushbutton-invisible/m-p/7963505#M1603079</guid>
      <dc:creator>former_member201275</dc:creator>
      <dc:date>2011-06-27T16:27:46Z</dc:date>
    </item>
    <item>
      <title>Re: Problems in at selection-screen output - setting pushbutton invisible</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problems-in-at-selection-screen-output-setting-pushbutton-invisible/m-p/7963506#M1603080</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I agree - there seems to be some confusion here. In the variant the field can only be "hidden" while in the code it is possible to make the field completely invisible. 'Hiding' the field in the variant merely hides it by default and adds a 'plus' button to the toolbar, by clicking which the hidden elements can be exposed. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As far as changing the screen fields goes, I find it usefull to use MODIF ID. Perhaps this blog could be helpful: &lt;/P&gt;&lt;P&gt;&lt;A href="http://friendlyabaper.blogspot.com/2009/07/my-super-awesome-selection-screen.html" target="test_blank"&gt;http://friendlyabaper.blogspot.com/2009/07/my-super-awesome-selection-screen.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;P.S. Please use the code tags for the code, per Forum Rules.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Jun 2011 19:52:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problems-in-at-selection-screen-output-setting-pushbutton-invisible/m-p/7963506#M1603080</guid>
      <dc:creator>Jelena_Perfiljeva</dc:creator>
      <dc:date>2011-06-27T19:52:44Z</dc:date>
    </item>
    <item>
      <title>Re: Problems in at selection-screen output - setting pushbutton invisible</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problems-in-at-selection-screen-output-setting-pushbutton-invisible/m-p/7963507#M1603081</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;i posted my last code&lt;/P&gt;&lt;P&gt;first i tried it with screen-active &lt;/P&gt;&lt;P&gt;but the problem is: screen-active is always 1 (in at selection-screen - loop at screen)&lt;/P&gt;&lt;P&gt;even if i set it hidden in the variant&lt;/P&gt;&lt;P&gt;so how do i find out if the field is hidden ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Helmut&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jun 2011 06:38:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problems-in-at-selection-screen-output-setting-pushbutton-invisible/m-p/7963507#M1603081</guid>
      <dc:creator>helmut_sieberer</dc:creator>
      <dc:date>2011-06-28T06:38:03Z</dc:date>
    </item>
    <item>
      <title>Re: Problems in at selection-screen output - setting pushbutton invisible</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problems-in-at-selection-screen-output-setting-pushbutton-invisible/m-p/7963508#M1603082</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try the following piece of code.&lt;/P&gt;&lt;P&gt;LOOP AT SCREEN.IF screen-name CS 'S_TXT_L'OR screen-name CS 'P_LTX_'.screen-active = 0.screen-invisible = 1.MODIFY SCREEN.ENDIF.ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Bharath.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jun 2011 07:50:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problems-in-at-selection-screen-output-setting-pushbutton-invisible/m-p/7963508#M1603082</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-06-28T07:50:04Z</dc:date>
    </item>
    <item>
      <title>Re: Problems in at selection-screen output - setting pushbutton invisible</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problems-in-at-selection-screen-output-setting-pushbutton-invisible/m-p/7963509#M1603083</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your answer&lt;/P&gt;&lt;P&gt;the problem is:&lt;/P&gt;&lt;P&gt;i need to set p_ltx_ according to s_txt_l&lt;/P&gt;&lt;P&gt;but s_txt_l...  screen-active is always 1 - but in the variant its hidden&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Helmut&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jun 2011 09:13:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problems-in-at-selection-screen-output-setting-pushbutton-invisible/m-p/7963509#M1603083</guid>
      <dc:creator>helmut_sieberer</dc:creator>
      <dc:date>2011-06-28T09:13:53Z</dc:date>
    </item>
    <item>
      <title>Re: Problems in at selection-screen output - setting pushbutton invisible</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problems-in-at-selection-screen-output-setting-pushbutton-invisible/m-p/7963510#M1603084</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Since variant settings have no effect on SCREEN values in AT SELECTION-SCREEN OUTPUT, I think the only way is to check the contents of the variant and go from there. Variant name should be in sy-slset field. The rest is pretty much covered in this blog:&lt;/P&gt;&lt;P&gt;&lt;A href="http://friendlyabaper.blogspot.com/2006/10/peeking-inside-variant.html" target="test_blank"&gt;http://friendlyabaper.blogspot.com/2006/10/peeking-inside-variant.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jun 2011 20:57:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problems-in-at-selection-screen-output-setting-pushbutton-invisible/m-p/7963510#M1603084</guid>
      <dc:creator>Jelena_Perfiljeva</dc:creator>
      <dc:date>2011-06-28T20:57:35Z</dc:date>
    </item>
  </channel>
</rss>

