<?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: Differentiate the Function code of Menu Item in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/differentiate-the-function-code-of-menu-item/m-p/6907185#M1482309</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;Try maintain different function codes. &lt;/P&gt;&lt;P&gt;Example in your menu if you have menuitem has function code is '+FCO1'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then in the program write:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Case sy-ucomm.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when '+FCO1'&lt;/P&gt;&lt;P&gt;write your logic.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endcase.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards and Best wishes.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 28 Apr 2010 10:41:12 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-04-28T10:41:12Z</dc:date>
    <item>
      <title>Differentiate the Function code of Menu Item</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/differentiate-the-function-code-of-menu-item/m-p/6907182#M1482306</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have some function code of the Menu's created ,and some funtion created at the tool bar level.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can i know that the Function code if triggered from the Menu.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Apr 2010 10:28:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/differentiate-the-function-code-of-menu-item/m-p/6907182#M1482306</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-04-28T10:28:53Z</dc:date>
    </item>
    <item>
      <title>Re: Differentiate the Function code of Menu Item</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/differentiate-the-function-code-of-menu-item/m-p/6907183#M1482307</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;Use system variable sy-ucomm.&lt;/P&gt;&lt;P&gt;Then put Case sy-ucomm and keep break-point where your function code triggers.&lt;/P&gt;&lt;P&gt;You will understand.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards and Best wishes.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Apr 2010 10:34:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/differentiate-the-function-code-of-menu-item/m-p/6907183#M1482307</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-04-28T10:34:07Z</dc:date>
    </item>
    <item>
      <title>Re: Differentiate the Function code of Menu Item</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/differentiate-the-function-code-of-menu-item/m-p/6907184#M1482308</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thnaks, In my case i have same SY-UCOMM for both, But i want to differentiat it,because i need to do some validation if it is triggered from Menu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Apr 2010 10:37:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/differentiate-the-function-code-of-menu-item/m-p/6907184#M1482308</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-04-28T10:37:56Z</dc:date>
    </item>
    <item>
      <title>Re: Differentiate the Function code of Menu Item</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/differentiate-the-function-code-of-menu-item/m-p/6907185#M1482309</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;Try maintain different function codes. &lt;/P&gt;&lt;P&gt;Example in your menu if you have menuitem has function code is '+FCO1'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then in the program write:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Case sy-ucomm.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when '+FCO1'&lt;/P&gt;&lt;P&gt;write your logic.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endcase.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards and Best wishes.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Apr 2010 10:41:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/differentiate-the-function-code-of-menu-item/m-p/6907185#M1482309</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-04-28T10:41:12Z</dc:date>
    </item>
    <item>
      <title>Re: Differentiate the Function code of Menu Item</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/differentiate-the-function-code-of-menu-item/m-p/6907186#M1482310</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If i understand correctly you want to check whether the UCOMM is triggered from the application tool bar or the menu bar. Correct ? I don't see any way of doing this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BTW what exactly is your business requirement ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Suhas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Apr 2010 10:43:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/differentiate-the-function-code-of-menu-item/m-p/6907186#M1482310</guid>
      <dc:creator>SuhaSaha</dc:creator>
      <dc:date>2010-04-28T10:43:05Z</dc:date>
    </item>
    <item>
      <title>Re: Differentiate the Function code of Menu Item</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/differentiate-the-function-code-of-menu-item/m-p/6907187#M1482311</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK i will try to explain it more clearly, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a tree,and the User can see the data of node of the tree from a button that is placed in its tool bar.&lt;/P&gt;&lt;P&gt;But if the user tries to see the data using the Menu I need to validate if some node is selected.&lt;/P&gt;&lt;P&gt;For this i would need to differentiate wheather it is clicked from Tool Bar or Menu Item&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Apr 2010 10:50:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/differentiate-the-function-code-of-menu-item/m-p/6907187#M1482311</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-04-28T10:50:47Z</dc:date>
    </item>
    <item>
      <title>Re: Differentiate the Function code of Menu Item</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/differentiate-the-function-code-of-menu-item/m-p/6907188#M1482312</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Raz&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am agree with &lt;STRONG&gt;Saha&lt;/STRONG&gt; i think there is no way with having Same F-Codes, for this you will have to assign different code to Menu and Toolbar.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Best Regards,&lt;/P&gt;&lt;P&gt;Faisal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Apr 2010 10:59:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/differentiate-the-function-code-of-menu-item/m-p/6907188#M1482312</guid>
      <dc:creator>faisalatsap</dc:creator>
      <dc:date>2010-04-28T10:59:25Z</dc:date>
    </item>
  </channel>
</rss>

