<?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 enter problem in module pool in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/enter-problem-in-module-pool/m-p/7406292#M1547464</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hai All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have developed a module pool program, in which i have created a main screen and two sub screens.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Upon the list box value and clicking on 'ENTER' , we get the corresponding sub screen displayed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and now i have to write change functionality where i enter the refernece number,  and click on 'ENTER' then the details saved on the database for that refernece number will be displayed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and i have a push button display in which i have to give the refernece number and click on 'ENTER' then the data must be dispalyed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Problem:&lt;/P&gt;&lt;P&gt;So how can i use the same ENTER button for three functionalities?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My aaproach:&lt;/P&gt;&lt;P&gt;I have used 'DISPLAY' button to display the details instead of 'ENTER' button.&lt;/P&gt;&lt;P&gt;and 'CHANGE' button instead of 'ENTER' to dispaly values to change and save the record.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;because i have used 'ENTER'  to display the subscreen based on the list box value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So How can I use the same enter for three different functionalities?&lt;/P&gt;&lt;P&gt;please suggest me a approach for this issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With Regards,&lt;/P&gt;&lt;P&gt;S.Asha.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 11 Oct 2010 15:21:03 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-10-11T15:21:03Z</dc:date>
    <item>
      <title>enter problem in module pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/enter-problem-in-module-pool/m-p/7406292#M1547464</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hai All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have developed a module pool program, in which i have created a main screen and two sub screens.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Upon the list box value and clicking on 'ENTER' , we get the corresponding sub screen displayed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and now i have to write change functionality where i enter the refernece number,  and click on 'ENTER' then the details saved on the database for that refernece number will be displayed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and i have a push button display in which i have to give the refernece number and click on 'ENTER' then the data must be dispalyed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Problem:&lt;/P&gt;&lt;P&gt;So how can i use the same ENTER button for three functionalities?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My aaproach:&lt;/P&gt;&lt;P&gt;I have used 'DISPLAY' button to display the details instead of 'ENTER' button.&lt;/P&gt;&lt;P&gt;and 'CHANGE' button instead of 'ENTER' to dispaly values to change and save the record.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;because i have used 'ENTER'  to display the subscreen based on the list box value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So How can I use the same enter for three different functionalities?&lt;/P&gt;&lt;P&gt;please suggest me a approach for this issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With Regards,&lt;/P&gt;&lt;P&gt;S.Asha.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Oct 2010 15:21:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/enter-problem-in-module-pool/m-p/7406292#M1547464</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-10-11T15:21:03Z</dc:date>
    </item>
    <item>
      <title>Re: enter problem in module pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/enter-problem-in-module-pool/m-p/7406293#M1547465</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;  I would like to know if your all ENTER button you want, are in same main screen or different, &lt;/P&gt;&lt;P&gt;if on different screen then no problem of creating ENTER button, &lt;/P&gt;&lt;P&gt;if on the same screen, use set Cursor to set the focus on the button, &lt;/P&gt;&lt;P&gt;so that when user press ENTER, the button will execute.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;THanks,&lt;/P&gt;&lt;P&gt;Anmol.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Oct 2010 15:27:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/enter-problem-in-module-pool/m-p/7406293#M1547465</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-10-11T15:27:50Z</dc:date>
    </item>
    <item>
      <title>Re: enter problem in module pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/enter-problem-in-module-pool/m-p/7406294#M1547466</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi S. Asha,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can solve the listbox enter problem by assigning function code to listbox and&lt;/P&gt;&lt;P&gt;whenever user will interact with the listbox user command will be triggered and you&lt;/P&gt;&lt;P&gt;can handle this listbox event in PAI module of your screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And for another issue of capturing ENTER on refernece number and click you can use the &lt;/P&gt;&lt;P&gt;GET CURSOR COMMAND like GET CURSOR FIELD FLD OFFSET OFF VALUE VAL LENGTH LEN.&lt;/P&gt;&lt;P&gt;when user will enter value on any screen field and press ENTER PAI will be triggerd so &lt;/P&gt;&lt;P&gt;use this get cursor statement and give condition like the field from this statement is &lt;/P&gt;&lt;P&gt;your reference nummber fields and ok_code is Enter do your logic.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;push button display you can very well handle by function code of the pushbutton.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Pawan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Oct 2010 05:26:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/enter-problem-in-module-pool/m-p/7406294#M1547466</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-10-12T05:26:16Z</dc:date>
    </item>
  </channel>
</rss>

