<?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: press enter in table control in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/press-enter-in-table-control/m-p/7577901#M1566079</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;In the PAI have you writen the code to modify the table control ?&lt;/P&gt;&lt;P&gt;Write this in the PAI flow logic --&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;Loop at it.
  module modify.
endloop.


MOdule modify.
    modify it index tc-current_line.
    if sy-subrc ne 0.
      apend it.
    Endif.
endmodule.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Madhukar Shetty&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 30 Dec 2010 04:56:58 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-12-30T04:56:58Z</dc:date>
    <item>
      <title>press enter in table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/press-enter-in-table-control/m-p/7577896#M1566074</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello gurus.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have problem with table Control.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have put all Entries in Table control, but when I Press Enter or  Vertical scroll bar. &lt;/P&gt;&lt;P&gt;The  table Control Become blank.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am waiting your reply.&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;&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;Riten patel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Dec 2010 04:42:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/press-enter-in-table-control/m-p/7577896#M1566074</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-12-30T04:42:09Z</dc:date>
    </item>
    <item>
      <title>Re: press enter in table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/press-enter-in-table-control/m-p/7577897#M1566075</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;clear the ok_code or SY-UCOMM value..When you press Enter or vertical scroll bar PAI event is triggering...In PAI again call PBO event to populate values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regrads,&lt;/P&gt;&lt;P&gt;Suvajit.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Dec 2010 04:46:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/press-enter-in-table-control/m-p/7577897#M1566075</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-12-30T04:46:03Z</dc:date>
    </item>
    <item>
      <title>Re: press enter in table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/press-enter-in-table-control/m-p/7577898#M1566076</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you doing any processing the Enter command in PAI or refreshing the records by mistake ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Dec 2010 04:47:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/press-enter-in-table-control/m-p/7577898#M1566076</guid>
      <dc:creator>Sandeep_Panghal</dc:creator>
      <dc:date>2010-12-30T04:47:43Z</dc:date>
    </item>
    <item>
      <title>Re: press enter in table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/press-enter-in-table-control/m-p/7577899#M1566077</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;first check if you have applied loop through the table in both PBO and PAI events.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it should be like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;process before output.&lt;/P&gt;&lt;P&gt;module status_9000.&lt;/P&gt;&lt;P&gt;loop at itab into wa_itab with control tab_cntrl.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;process after input.&lt;/P&gt;&lt;P&gt; module user_command_9000.&lt;/P&gt;&lt;P&gt;   loop  at itab ."WITH CONTROL TAB_CNTRL.&lt;/P&gt;&lt;P&gt;  endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the above code should be present in your flow logic of the screen.&lt;/P&gt;&lt;P&gt;Then in your driver program you should select the data in PBO and then capture the appropriate OKCODE in PAI event.&lt;/P&gt;&lt;P&gt;clear the okcode after the case or if endif statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it might be possible that you have not applied the loop through the table in PAI of the screen&lt;/P&gt;&lt;P&gt;that why when you press enter the data gets cleared.&lt;/P&gt;&lt;P&gt;Try this and let me know.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;Lalit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Dec 2010 04:54:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/press-enter-in-table-control/m-p/7577899#M1566077</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-12-30T04:54:03Z</dc:date>
    </item>
    <item>
      <title>Re: press enter in table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/press-enter-in-table-control/m-p/7577900#M1566078</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Riten,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You might be refreshing the internal table which is used to update value in table control.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hoping this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Komal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Dec 2010 04:55:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/press-enter-in-table-control/m-p/7577900#M1566078</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-12-30T04:55:20Z</dc:date>
    </item>
    <item>
      <title>Re: press enter in table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/press-enter-in-table-control/m-p/7577901#M1566079</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;In the PAI have you writen the code to modify the table control ?&lt;/P&gt;&lt;P&gt;Write this in the PAI flow logic --&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;Loop at it.
  module modify.
endloop.


MOdule modify.
    modify it index tc-current_line.
    if sy-subrc ne 0.
      apend it.
    Endif.
endmodule.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Madhukar Shetty&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Dec 2010 04:56:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/press-enter-in-table-control/m-p/7577901#M1566079</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-12-30T04:56:58Z</dc:date>
    </item>
  </channel>
</rss>

