<?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: fcode in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/fcode/m-p/1670760#M296450</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi sarika,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Whenever the user does some action&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   eg.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  a) presses ENTER&lt;/P&gt;&lt;P&gt;  b) presses some BUTTON on screen,&lt;/P&gt;&lt;P&gt;  c) presses some Toolbar button&lt;/P&gt;&lt;P&gt;  d) presses some radiobutton/checkbox,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. then some SIGNAL / CODE&lt;/P&gt;&lt;P&gt;   is generated,&lt;/P&gt;&lt;P&gt;   so that we can DETECT which button the user has pressed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. Such SIGNAL/CODE&lt;/P&gt;&lt;P&gt;   gets stored in SY-UCOMM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  (this is called as fcode = function code)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;amit m.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 06 Nov 2006 06:54:26 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-11-06T06:54:26Z</dc:date>
    <item>
      <title>fcode</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fcode/m-p/1670758#M296448</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what is fcode and when,where and how is it used ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Nov 2006 06:50:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fcode/m-p/1670758#M296448</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-06T06:50:34Z</dc:date>
    </item>
    <item>
      <title>Re: fcode</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fcode/m-p/1670759#M296449</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;Fcode is function code.&lt;/P&gt;&lt;P&gt;Mainly used in dialogue programming and menubar.&lt;/P&gt;&lt;P&gt;EG.&lt;/P&gt;&lt;P&gt;If you have created any push button in application toolbar. How program will know that a specific push button is pressed. &lt;/P&gt;&lt;P&gt;via fcode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hence in program logic we shall put desired code for pushbutton when fcode is called.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*MARK all helpful answers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Nov 2006 06:54:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fcode/m-p/1670759#M296449</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-06T06:54:03Z</dc:date>
    </item>
    <item>
      <title>Re: fcode</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fcode/m-p/1670760#M296450</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi sarika,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Whenever the user does some action&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   eg.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  a) presses ENTER&lt;/P&gt;&lt;P&gt;  b) presses some BUTTON on screen,&lt;/P&gt;&lt;P&gt;  c) presses some Toolbar button&lt;/P&gt;&lt;P&gt;  d) presses some radiobutton/checkbox,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. then some SIGNAL / CODE&lt;/P&gt;&lt;P&gt;   is generated,&lt;/P&gt;&lt;P&gt;   so that we can DETECT which button the user has pressed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. Such SIGNAL/CODE&lt;/P&gt;&lt;P&gt;   gets stored in SY-UCOMM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  (this is called as fcode = function code)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;amit m.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Nov 2006 06:54:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fcode/m-p/1670760#M296450</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-06T06:54:26Z</dc:date>
    </item>
    <item>
      <title>Re: fcode</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fcode/m-p/1670761#M296451</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not sure in what context you are talking. But usually you have FCODE associated with all the menu items / buttons that you have on the screen. You need to know these codes in order to write a BDC program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Nov 2006 06:54:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fcode/m-p/1670761#M296451</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-06T06:54:31Z</dc:date>
    </item>
    <item>
      <title>Re: fcode</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fcode/m-p/1670762#M296452</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;     Fcode is normally used to allow user interaction.&lt;/P&gt;&lt;P&gt;If you press any Push button or u select any menu option, or icons in Standard tool bar, The function code will be set to SY-UCOMM. This is a system variable. Using this u can write ur logic.&lt;/P&gt;&lt;P&gt;ex.If-sy-ucomm eq 'DISP'.&lt;/P&gt;&lt;P&gt;          perform disply.&lt;/P&gt;&lt;P&gt;  If sy-ucomm eq 'SAVE'.&lt;/P&gt;&lt;P&gt;          perform savecode.&lt;/P&gt;&lt;P&gt;Regds,&lt;/P&gt;&lt;P&gt;Vinsa.R&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Nov 2006 06:55:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fcode/m-p/1670762#M296452</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-06T06:55:45Z</dc:date>
    </item>
    <item>
      <title>Re: fcode</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fcode/m-p/1670763#M296453</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In each PAI event that a user triggers by choosing either a pushbutton on the screen or an element in a GUI status, the corresponding &amp;lt;b&amp;gt;function code&amp;lt;/b&amp;gt; is placed into the system field syst-ucomm or sy-ucomm and placed in the OK_CODE field (as long as the function code is not empty). Empty function codes are placed in neither the sy-ucomm field nor the OK_CODE field. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the Screen Painter, you can assign a function code (up to 20 characters long) to checkboxes and radio buttons. When a function code is assigned to a checkbox or radio button, clicking it not only changes the field contents, but also triggers the PAI event and places the function code in the OK CODE field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a look at below links. It will surelu give you the idea abt how to use and where to use fcodes: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw2004s/helpdata/en/9f/dbaa1335c111d1829f0000e829fbfe/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw2004s/helpdata/en/9f/dbaa1335c111d1829f0000e829fbfe/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/e6/83a0375b5dd003e10000009b38f8cf/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/e6/83a0375b5dd003e10000009b38f8cf/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope it helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Vibha &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*Please mark all the helpful answers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Nov 2006 07:03:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fcode/m-p/1670763#M296453</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-06T07:03:35Z</dc:date>
    </item>
  </channel>
</rss>

