<?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: Input field refresh problem in a screen in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/input-field-refresh-problem-in-a-screen/m-p/7823588#M1589231</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sri,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check the following and try implementing in PBO/AT SELECTION SCREEN OUTPUT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;REPORT ZTEST_RAM.  
parameters : maktx type maktx.
 
at selection-screen output.
  data : fields type standard table of sval with header line.
  refresh fields.
  clear fields.
  fields-tabname = 'MARA'. " Just Copy and Execute this
  fields-fieldname = 'MATNR'.
  fields-field_obl = 'X'. " To make this Field mandatory
  append fields.
  call function 'POPUP_GET_VALUES'
    exporting
*   NO_VALUE_CHECK        = ' '
      popup_title           = 'Give your Title'
*   START_COLUMN          = '5'
*   START_ROW             = '5'
* IMPORTING
*   RETURNCODE            = RETURNCODE
    tables
      fields                = fields. " For more info Take Where used List on this FM
* EXCEPTIONS
*   ERROR_IN_FIELDS       = 1
*   OTHERS                = 2. " This will wait till you press enter to get the value in the input field&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheerz&lt;/P&gt;&lt;P&gt;Ramchander Rao.K&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 13 May 2011 09:26:41 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-05-13T09:26:41Z</dc:date>
    <item>
      <title>Input field refresh problem in a screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/input-field-refresh-problem-in-a-screen/m-p/7823587#M1589230</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a screen which I am refreshing automatically for every 2 secs. I have an i/o field in the screen which is also refreshed every 2 secs and not allowing me to enter the text. Any idea how we can over come this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried using container instead of i/o field with which i was able to overcome this problem but again poped up with another problem. When I type something in the container and press enter it is taking me to the next line. But I want it to behave like the i/o field where we can handle the click of the enter button. I have searched but could not find any event for enter button. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please provide your inputs on the above issues. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sri.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Sri on May 13, 2011 10:23 AM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any Help guys?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Sri on May 13, 2011 2:38 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 May 2011 14:33:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/input-field-refresh-problem-in-a-screen/m-p/7823587#M1589230</guid>
      <dc:creator>sridhar_meesala</dc:creator>
      <dc:date>2011-05-12T14:33:02Z</dc:date>
    </item>
    <item>
      <title>Re: Input field refresh problem in a screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/input-field-refresh-problem-in-a-screen/m-p/7823588#M1589231</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sri,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check the following and try implementing in PBO/AT SELECTION SCREEN OUTPUT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;REPORT ZTEST_RAM.  
parameters : maktx type maktx.
 
at selection-screen output.
  data : fields type standard table of sval with header line.
  refresh fields.
  clear fields.
  fields-tabname = 'MARA'. " Just Copy and Execute this
  fields-fieldname = 'MATNR'.
  fields-field_obl = 'X'. " To make this Field mandatory
  append fields.
  call function 'POPUP_GET_VALUES'
    exporting
*   NO_VALUE_CHECK        = ' '
      popup_title           = 'Give your Title'
*   START_COLUMN          = '5'
*   START_ROW             = '5'
* IMPORTING
*   RETURNCODE            = RETURNCODE
    tables
      fields                = fields. " For more info Take Where used List on this FM
* EXCEPTIONS
*   ERROR_IN_FIELDS       = 1
*   OTHERS                = 2. " This will wait till you press enter to get the value in the input field&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheerz&lt;/P&gt;&lt;P&gt;Ramchander Rao.K&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 May 2011 09:26:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/input-field-refresh-problem-in-a-screen/m-p/7823588#M1589231</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-05-13T09:26:41Z</dc:date>
    </item>
    <item>
      <title>Re: Input field refresh problem in a screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/input-field-refresh-problem-in-a-screen/m-p/7823589#M1589232</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ram,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the input.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have also tried with popup_get_values FM. But the problem here is the screen will not be refreshed untill we type something in the field and press enter. I don't want that to happen. To be more clear I am  trying to develop a device to exchage messages instantly. So the screen should refresh every time and the user receives messages and replys to that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sri.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 May 2011 09:41:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/input-field-refresh-problem-in-a-screen/m-p/7823589#M1589232</guid>
      <dc:creator>sridhar_meesala</dc:creator>
      <dc:date>2011-05-13T09:41:13Z</dc:date>
    </item>
    <item>
      <title>Re: Input field refresh problem in a screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/input-field-refresh-problem-in-a-screen/m-p/7823590#M1589233</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the above mentioned issue I have used a text editor in place of i/0 field and have overcome the refresh problem but could not handle the enter event. For this I have handled F1 event instead of enter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, while refreshing the screen the text in the container is not getting wiped off but the cursor position is not coming to the text edotor. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have searched for this and found about set_focus method but that isn't working. Can any one provide inputs on this as how to default the cursor position to the last line of the editor?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sri.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried the method &lt;STRONG&gt;go_to_line&lt;/STRONG&gt;. But that isn't working as well. Can somebody tell how to set the cursor position on to the text edior in the custom container.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Sri on May 19, 2011 11:14 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 May 2011 09:27:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/input-field-refresh-problem-in-a-screen/m-p/7823590#M1589233</guid>
      <dc:creator>sridhar_meesala</dc:creator>
      <dc:date>2011-05-18T09:27:58Z</dc:date>
    </item>
    <item>
      <title>Re: Input field refresh problem in a screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/input-field-refresh-problem-in-a-screen/m-p/7823591#M1589234</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;use SET CURSOR FIELD &amp;lt;Fieldname&amp;gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 May 2011 06:12:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/input-field-refresh-problem-in-a-screen/m-p/7823591#M1589234</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-05-19T06:12:23Z</dc:date>
    </item>
    <item>
      <title>Re: Input field refresh problem in a screen</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/input-field-refresh-problem-in-a-screen/m-p/7823592#M1589235</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I had clearly mentioned, I want this in text editor in custom container.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 May 2011 06:24:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/input-field-refresh-problem-in-a-screen/m-p/7823592#M1589235</guid>
      <dc:creator>sridhar_meesala</dc:creator>
      <dc:date>2011-05-19T06:24:57Z</dc:date>
    </item>
  </channel>
</rss>

