<?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 Triggering save function when pressing Enter in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/triggering-save-function-when-pressing-enter/m-p/12600396#M2010952</link>
    <description>&lt;P&gt;Created a screen . In GUI status given save but didn't given enter function.&lt;/P&gt;
  &lt;P&gt;Written the code as &lt;/P&gt;
  &lt;P&gt;if ok_code = 'save' .&lt;/P&gt;
  &lt;P&gt;Perform save_data.&lt;/P&gt;
  &lt;P&gt;But the problem is the, data get saved even if we press enter sometimes not only the save.&lt;/P&gt;
  &lt;P&gt;Point here is i didn't given any function to catch enter and didn't defined it in GUI status too.&lt;/P&gt;
  &lt;P&gt;So how to solve this?&lt;/P&gt;</description>
    <pubDate>Thu, 05 May 2022 05:04:10 GMT</pubDate>
    <dc:creator>Akshayvjd0722</dc:creator>
    <dc:date>2022-05-05T05:04:10Z</dc:date>
    <item>
      <title>Triggering save function when pressing Enter</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/triggering-save-function-when-pressing-enter/m-p/12600396#M2010952</link>
      <description>&lt;P&gt;Created a screen . In GUI status given save but didn't given enter function.&lt;/P&gt;
  &lt;P&gt;Written the code as &lt;/P&gt;
  &lt;P&gt;if ok_code = 'save' .&lt;/P&gt;
  &lt;P&gt;Perform save_data.&lt;/P&gt;
  &lt;P&gt;But the problem is the, data get saved even if we press enter sometimes not only the save.&lt;/P&gt;
  &lt;P&gt;Point here is i didn't given any function to catch enter and didn't defined it in GUI status too.&lt;/P&gt;
  &lt;P&gt;So how to solve this?&lt;/P&gt;</description>
      <pubDate>Thu, 05 May 2022 05:04:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/triggering-save-function-when-pressing-enter/m-p/12600396#M2010952</guid>
      <dc:creator>Akshayvjd0722</dc:creator>
      <dc:date>2022-05-05T05:04:10Z</dc:date>
    </item>
    <item>
      <title>Re: Triggering save function when pressing Enter</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/triggering-save-function-when-pressing-enter/m-p/12600397#M2010953</link>
      <description>&lt;P&gt;Your grammar is mostly correct, but there are a few minor changes that could be made to improve clarity and readability. Here's a revised version of your text:&lt;/P&gt;&lt;P&gt;The problem has been solved. I defined "enter" in the GUI status, which I hadn't done before because it didn't seem necessary. However, there was an inconsistency that was resolved by doing this.&lt;/P&gt;&lt;P&gt;Now, when &lt;CODE&gt;Ok_code = 'save'&lt;/CODE&gt;, The data is now being saved and is not saved when pressing enter.&lt;/P&gt;&lt;P&gt;If anyone could explain the actual reason for this, I would really appreciate it.&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Thu, 05 May 2022 05:10:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/triggering-save-function-when-pressing-enter/m-p/12600397#M2010953</guid>
      <dc:creator>Akshayvjd0722</dc:creator>
      <dc:date>2022-05-05T05:10:44Z</dc:date>
    </item>
    <item>
      <title>Re: Triggering save function when pressing Enter</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/triggering-save-function-when-pressing-enter/m-p/12600398#M2010954</link>
      <description>&lt;P&gt;By default, and by design, with Enter, the function code remains unchanged. It will be useful when the user presses SAVE and there's an error in a field, the user can fix the field value and press Enter that will run the same function SAVE again.&lt;/P&gt;&lt;P&gt;You can find more information here: &lt;A href="https://help.sap.com/docs/SAP_NETWEAVER_AS_ABAP_752/f68e489816e043f1add91d69a6842931/4a44a8dd76f0044ee10000000a421937.html"&gt;Reading Function Codes&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;And here: &lt;A href="https://help.sap.com/doc/abapdocu_latest_index_htm/latest/en-US/index.htm?file=abendynpro_gui_status_abexa.htm"&gt;dynpro - GUI Statuses and Function Codes&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Thu, 05 May 2022 07:50:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/triggering-save-function-when-pressing-enter/m-p/12600398#M2010954</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2022-05-05T07:50:37Z</dc:date>
    </item>
  </channel>
</rss>

