<?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: Table control and Enter in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-and-enter/m-p/12780486#M2023687</link>
    <description>&lt;P&gt;ok, solved... clearing sy-ucomm in the user_command module of the main screen where the subscreen is called.&lt;/P&gt;</description>
    <pubDate>Tue, 27 Jun 2023 07:41:58 GMT</pubDate>
    <dc:creator>oliver_am</dc:creator>
    <dc:date>2023-06-27T07:41:58Z</dc:date>
    <item>
      <title>Table control and Enter</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-and-enter/m-p/12780483#M2023684</link>
      <description>&lt;P&gt;Hello, i know is a basic question but I'm stuck with this...&lt;/P&gt;
  &lt;P&gt;I've created a table control in a custom screen with the wizard. Adding buttons to add and remove rows.&lt;BR /&gt;&lt;BR /&gt;It's all working fine. If I use the button to add a new row this new line is added, but now if a hit enter another new line is added, and with enter again another... and again and again...&lt;/P&gt;
  &lt;P&gt;How to avoid this?&lt;BR /&gt;&lt;BR /&gt;I've tried to clear ok_code and sy-ucomm in tc_MY_TABLE_CONTROL_user_command after the action is finished, but have no effect, with a new enter the action TC_MY_TABLE_CONTROL_INSR is triggered...&lt;BR /&gt;&lt;BR /&gt;I've tried to find if the is some key assigned to this button in the screen, but couldnt find where...&lt;BR /&gt;&lt;BR /&gt;I've also read that you can assign a function to Enter in the pf-status to avoid this behaivor, but there is no Enter in my status (i can see this in a dialog status, buy this key is not in my standard status)&lt;/P&gt;
  &lt;P&gt;So, how to avoid add new lines everty time the user hit enter?&lt;BR /&gt;&lt;BR /&gt;If i use other options, like remove, or edit some field in an existing line and then press enter is all working fine. Only happens if I just pressed the add button.&lt;BR /&gt;&lt;BR /&gt;Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Mon, 26 Jun 2023 15:42:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-and-enter/m-p/12780483#M2023684</guid>
      <dc:creator>oliver_am</dc:creator>
      <dc:date>2023-06-26T15:42:26Z</dc:date>
    </item>
    <item>
      <title>Re: Table control and Enter</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-and-enter/m-p/12780484#M2023685</link>
      <description>&lt;P&gt;Your code is buggy, it executes APPEND each time you press Enter. As you didn't post any code, I can only say that you should debug your program and fix it.&lt;/P&gt;</description>
      <pubDate>Mon, 26 Jun 2023 17:08:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-and-enter/m-p/12780484#M2023685</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2023-06-26T17:08:28Z</dc:date>
    </item>
    <item>
      <title>Re: Table control and Enter</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-and-enter/m-p/12780485#M2023686</link>
      <description>&lt;P&gt;Well... i didnt put any code because all the code was generated by SAP with the wizard...&lt;BR /&gt;&lt;BR /&gt;I didnt put any code to append lines neither to change the ok_code or sy-ucomm...&lt;BR /&gt;&lt;BR /&gt;The unique thing is that the table control is inside a subscreen called from other screen. (inside a tabstrip)&lt;/P&gt;&lt;P&gt;I've already debug the code and see what i said, the routine tc_MY_TABLE_CONTROL_user_command is triggered with each Enter, with the ok_code of INSR, and dont know why.&lt;/P&gt;&lt;P&gt;The routine tc_MY_TABLE_CONTROL_user_command is called inside the subscreen, and i tried to clear ok_code and sy-ucomm, but when i return to the main screen (after the call subscreen of the tabstrip in the PAI) the sy-ucomm recover the function INSR...&lt;/P&gt;</description>
      <pubDate>Tue, 27 Jun 2023 06:19:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-and-enter/m-p/12780485#M2023686</guid>
      <dc:creator>oliver_am</dc:creator>
      <dc:date>2023-06-27T06:19:40Z</dc:date>
    </item>
    <item>
      <title>Re: Table control and Enter</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-and-enter/m-p/12780486#M2023687</link>
      <description>&lt;P&gt;ok, solved... clearing sy-ucomm in the user_command module of the main screen where the subscreen is called.&lt;/P&gt;</description>
      <pubDate>Tue, 27 Jun 2023 07:41:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-and-enter/m-p/12780486#M2023687</guid>
      <dc:creator>oliver_am</dc:creator>
      <dc:date>2023-06-27T07:41:58Z</dc:date>
    </item>
    <item>
      <title>Re: Table control and Enter</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-and-enter/m-p/12780487#M2023688</link>
      <description>&lt;P&gt;Nice to see it's solved, thanks for feedback!&lt;/P&gt;</description>
      <pubDate>Tue, 27 Jun 2023 12:22:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-and-enter/m-p/12780487#M2023688</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2023-06-27T12:22:04Z</dc:date>
    </item>
  </channel>
</rss>

