<?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 Funnction code (sy-ucomm) of selection screen (window) button in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/funnction-code-sy-ucomm-of-selection-screen-window-button/m-p/3906676#M936893</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi fellow abapers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm calling a selection-screen from one selection-screen (both defined using statement:selection-screen). The called screen is of type WINDOW (called using CALL SELECTION_SCREEN STARTING AT..).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The called screen(window) has 5 buttons (Execute,Check,Variant load,Save,Cancel).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my requirement is &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(a) is there any way to exclude buttons from the screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(b) how to get the function code (sy-comm) of the clicked button in the above screen.( when i debugged it hasn't returned any value to SY-UCOMM, &lt;STRONG&gt;because of this ,even if i click cancel button it executes a part of coding-- i need to avoid this&lt;/STRONG&gt; ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;plz hlp&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rewards sure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Prabumanoharan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 02 Jun 2008 06:52:09 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-06-02T06:52:09Z</dc:date>
    <item>
      <title>Funnction code (sy-ucomm) of selection screen (window) button</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/funnction-code-sy-ucomm-of-selection-screen-window-button/m-p/3906676#M936893</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi fellow abapers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm calling a selection-screen from one selection-screen (both defined using statement:selection-screen). The called screen is of type WINDOW (called using CALL SELECTION_SCREEN STARTING AT..).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The called screen(window) has 5 buttons (Execute,Check,Variant load,Save,Cancel).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my requirement is &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(a) is there any way to exclude buttons from the screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(b) how to get the function code (sy-comm) of the clicked button in the above screen.( when i debugged it hasn't returned any value to SY-UCOMM, &lt;STRONG&gt;because of this ,even if i click cancel button it executes a part of coding-- i need to avoid this&lt;/STRONG&gt; ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;plz hlp&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rewards sure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Prabumanoharan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jun 2008 06:52:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/funnction-code-sy-ucomm-of-selection-screen-window-button/m-p/3906676#M936893</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-02T06:52:09Z</dc:date>
    </item>
    <item>
      <title>Re: Funnction code (sy-ucomm) of selection screen (window) button</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/funnction-code-sy-ucomm-of-selection-screen-window-button/m-p/3906677#M936894</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;   You can write a PAI module for this.For excluding some buttons,you set the PF status and write &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SET PF-STATUS  &amp;lt;status name&amp;gt; excluding TAB.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jun 2008 06:56:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/funnction-code-sy-ucomm-of-selection-screen-window-button/m-p/3906677#M936894</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-02T06:56:00Z</dc:date>
    </item>
    <item>
      <title>Re: Funnction code (sy-ucomm) of selection screen (window) button</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/funnction-code-sy-ucomm-of-selection-screen-window-button/m-p/3906678#M936895</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;1) You can exclude buttons of your pf-status using:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SET PF-STATUS '0200_1_008' EXCLUDING extab2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where extab2 TYPE SLIS_T_EXTAB. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And you can populate it:&lt;/P&gt;&lt;P&gt;    CLEAR ls_extab.&lt;/P&gt;&lt;P&gt;    ls_extab-fcode = 'IMPR4'.&lt;/P&gt;&lt;P&gt;    APPEND ls_extab TO extab2. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) You can personalize your status with transaction se41. You can indicate the name of the sy-ucomm. If you want eliminate the cancel action, you can eliminate it from the status.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bye!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jun 2008 07:00:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/funnction-code-sy-ucomm-of-selection-screen-window-button/m-p/3906678#M936895</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-02T07:00:02Z</dc:date>
    </item>
    <item>
      <title>Re: Funnction code (sy-ucomm) of selection screen (window) button</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/funnction-code-sy-ucomm-of-selection-screen-window-button/m-p/3906679#M936896</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi prabu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;using CALL SELECTION-SCREEN returns only 2 values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sy-subrc = 0.&lt;/P&gt;&lt;P&gt;   if the user clicks on the continue button&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sy-subrc = 4.&lt;/P&gt;&lt;P&gt;  if the user clicks on the cancel button.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jun 2008 07:03:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/funnction-code-sy-ucomm-of-selection-screen-window-button/m-p/3906679#M936896</guid>
      <dc:creator>peter_ruiz2</dc:creator>
      <dc:date>2008-06-02T07:03:28Z</dc:date>
    </item>
    <item>
      <title>Re: Funnction code (sy-ucomm) of selection screen (window) button</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/funnction-code-sy-ucomm-of-selection-screen-window-button/m-p/3906680#M936897</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;closing the thread&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Jun 2009 07:32:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/funnction-code-sy-ucomm-of-selection-screen-window-button/m-p/3906680#M936897</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-16T07:32:06Z</dc:date>
    </item>
  </channel>
</rss>

