<?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 Hide buttons in SELECTION-SCREEN in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/hide-buttons-in-selection-screen/m-p/2664244#M614758</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All, &lt;/P&gt;&lt;P&gt;My requirement is : I display an ALV grid.Upon the click of a btn in ALV grid ,i need to show a dailog box which iam doing with a sel scrn as a window. But by default it displays additional buttons too in the toolbar. I tried to do it in the following way but it doesn't work. Kindly suggest , whats going wrong ??&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;  DATA itab TYPE TABLE OF sy-ucomm.&lt;/P&gt;&lt;P&gt;  APPEND: 'PRIN' TO itab.&lt;/P&gt;&lt;P&gt;  APPEND: 'SPOS' TO itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CASE sy-dynnr.&lt;/P&gt;&lt;P&gt;    WHEN '0500'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      CALL FUNCTION 'RS_SET_SELSCREEN_STATUS'&lt;/P&gt;&lt;P&gt;        EXPORTING&lt;/P&gt;&lt;P&gt;          p_status  = 'SELECTION'&lt;/P&gt;&lt;P&gt;        TABLES&lt;/P&gt;&lt;P&gt;          p_exclude = itab.&lt;/P&gt;&lt;P&gt;  ENDCASE.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 09 Aug 2007 08:57:44 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-08-09T08:57:44Z</dc:date>
    <item>
      <title>Hide buttons in SELECTION-SCREEN</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hide-buttons-in-selection-screen/m-p/2664244#M614758</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All, &lt;/P&gt;&lt;P&gt;My requirement is : I display an ALV grid.Upon the click of a btn in ALV grid ,i need to show a dailog box which iam doing with a sel scrn as a window. But by default it displays additional buttons too in the toolbar. I tried to do it in the following way but it doesn't work. Kindly suggest , whats going wrong ??&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;  DATA itab TYPE TABLE OF sy-ucomm.&lt;/P&gt;&lt;P&gt;  APPEND: 'PRIN' TO itab.&lt;/P&gt;&lt;P&gt;  APPEND: 'SPOS' TO itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CASE sy-dynnr.&lt;/P&gt;&lt;P&gt;    WHEN '0500'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      CALL FUNCTION 'RS_SET_SELSCREEN_STATUS'&lt;/P&gt;&lt;P&gt;        EXPORTING&lt;/P&gt;&lt;P&gt;          p_status  = 'SELECTION'&lt;/P&gt;&lt;P&gt;        TABLES&lt;/P&gt;&lt;P&gt;          p_exclude = itab.&lt;/P&gt;&lt;P&gt;  ENDCASE.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Aug 2007 08:57:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hide-buttons-in-selection-screen/m-p/2664244#M614758</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-09T08:57:44Z</dc:date>
    </item>
    <item>
      <title>Re: Hide buttons in SELECTION-SCREEN</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hide-buttons-in-selection-screen/m-p/2664245#M614759</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;I think you are missing the program name in the FM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The below code is working and it is hiding the functions SAVE and PRINT &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT  ZSEL_GUI                                .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;parameters : p_dsn(30)  DEFAULT 'EMP.TXT'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : V_STATUS TYPE SY-PFKEY VALUE 'SEL1',&lt;/P&gt;&lt;P&gt;       V_rEPID TYPE SY-REPID.&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;V_REPID = SY-REPID.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA itab TYPE TABLE OF sy-ucomm.&lt;/P&gt;&lt;P&gt;APPEND: 'PRIN' TO itab.&lt;/P&gt;&lt;P&gt;APPEND: 'SPOS' TO itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CASE sy-dynnr.&lt;/P&gt;&lt;P&gt;WHEN '1000'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'RS_SET_SELSCREEN_STATUS'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;p_status = V_STATUS&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;P_PROGRAM = V_REPID  "program where the GUI Status is created&amp;lt;/b&amp;gt;TABLES&lt;/P&gt;&lt;P&gt;p_exclude = itab.&lt;/P&gt;&lt;P&gt;ENDCASE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Reward if Helpful&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Aug 2007 09:08:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hide-buttons-in-selection-screen/m-p/2664245#M614759</guid>
      <dc:creator>varma_narayana</dc:creator>
      <dc:date>2007-08-09T09:08:26Z</dc:date>
    </item>
    <item>
      <title>Re: Hide buttons in SELECTION-SCREEN</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hide-buttons-in-selection-screen/m-p/2664246#M614760</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The Exclude functionality seems to wrk bit it doesn't display all the btn's now.&lt;/P&gt;&lt;P&gt;I want only two Btns i.e. Excute (ONLI) and  Cancel (ECAN) . It displays only Cancel now ??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Aug 2007 09:12:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hide-buttons-in-selection-screen/m-p/2664246#M614760</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-09T09:12:37Z</dc:date>
    </item>
    <item>
      <title>Re: Hide buttons in SELECTION-SCREEN</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hide-buttons-in-selection-screen/m-p/2664247#M614761</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The Exclude functionality seems to wrk bit it doesn't display all the btn's now.&lt;/P&gt;&lt;P&gt;I want only two Btns i.e. Excute (ONLI) and  Cancel (ECAN) . It displays only Cancel now ??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Aug 2007 09:14:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hide-buttons-in-selection-screen/m-p/2664247#M614761</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-09T09:14:19Z</dc:date>
    </item>
    <item>
      <title>Re: Hide buttons in SELECTION-SCREEN</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hide-buttons-in-selection-screen/m-p/2664248#M614762</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 try with this example code with group logic code, which you can hide the required elements.&lt;/P&gt;&lt;P&gt;********************************************************************************************&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN: BEGIN OF BLOCK B3 WITH FRAME TITLE TEXT-002.&lt;/P&gt;&lt;P&gt;PARAMETERS:  P_DOWN AS CHECKBOX.&lt;/P&gt;&lt;P&gt;PARAMETERS:  P_FILE LIKE RLGRAP-FILENAME MODIF ID MOD.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN: END OF BLOCK B3.&lt;/P&gt;&lt;P&gt;********************************************************************************************&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN OUTPUT.&lt;/P&gt;&lt;P&gt;  IF P_DOWN = ' '.&lt;/P&gt;&lt;P&gt;    LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;      IF SCREEN-GROUP1 = 'MOD'.&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;********************************************************************************************&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This might help you to resolve your problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cheers,&lt;/P&gt;&lt;P&gt;Sagun Desai.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Aug 2007 10:51:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hide-buttons-in-selection-screen/m-p/2664248#M614762</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-09T10:51:49Z</dc:date>
    </item>
    <item>
      <title>Re: Hide buttons in SELECTION-SCREEN</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hide-buttons-in-selection-screen/m-p/2664249#M614763</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;With that we can hide screen elements but not the ones in appl tool bar.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Aug 2007 10:59:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hide-buttons-in-selection-screen/m-p/2664249#M614763</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-09T10:59:11Z</dc:date>
    </item>
  </channel>
</rss>

