<?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 Dialog Programming - Pressing a button in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/dialog-programming-pressing-a-button/m-p/4932814#M1150694</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;How do you make something happen when pushing a button in dialog programming.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a button on my screen, and the following code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, when debugging, fcode isn't being filled with the Button name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CASE FCODE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WHEN 'BENT'.&lt;/P&gt;&lt;P&gt;  PERFORM GET_LAST_UPDATE.&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;Please help,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;John&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 08 Dec 2008 20:23:47 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-12-08T20:23:47Z</dc:date>
    <item>
      <title>Dialog Programming - Pressing a button</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dialog-programming-pressing-a-button/m-p/4932814#M1150694</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;How do you make something happen when pushing a button in dialog programming.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a button on my screen, and the following code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, when debugging, fcode isn't being filled with the Button name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CASE FCODE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WHEN 'BENT'.&lt;/P&gt;&lt;P&gt;  PERFORM GET_LAST_UPDATE.&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;Please help,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;John&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Dec 2008 20:23:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dialog-programming-pressing-a-button/m-p/4932814#M1150694</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-08T20:23:47Z</dc:date>
    </item>
    <item>
      <title>Re: Dialog Programming - Pressing a button</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dialog-programming-pressing-a-button/m-p/4932815#M1150695</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You need to define the field in the screen which is to handle the function code being passed to the program.  This field in the screen is the OK_CODE field.  Go to your screen and look at the element list, not the layout, you should have a field with the OK_CODE type, which is probably doesn't have a name assigned. Since you are using FCODE, put FCODE into this field as the name.  Save and activate.  Should work now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Rich Heilman on Dec 8, 2008 3:27 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Dec 2008 20:27:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dialog-programming-pressing-a-button/m-p/4932815#M1150695</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2008-12-08T20:27:06Z</dc:date>
    </item>
  </channel>
</rss>

