<?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: Using BACK button; module pool not implemented in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-back-button-module-pool-not-implemented/m-p/5429862#M1245943</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

MODULE USER_COMMAND_8000 INPUT.

  OK_CODE = SY-UCOMM.

  CASE OK_CODE.

  WHEN 'BACK'.

      LEAVE TO SCREEN 8000.

  ENDCASE.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mansi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 26 Mar 2009 12:30:36 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-03-26T12:30:36Z</dc:date>
    <item>
      <title>Using BACK button; module pool not implemented</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-back-button-module-pool-not-implemented/m-p/5429855#M1245936</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 am displaying summary records as initial ALV grid.&lt;/P&gt;&lt;P&gt;Details of chosen records are displayed in ALV grid one-by-one on click of forward button.&lt;/P&gt;&lt;P&gt;Each click displays the chosen next record with further details in ALV.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My problem is that when i click on 'BACK' button;  instead of directly going back to summary ALV grid (initial screen) I first go through all the ALV grid displays of records that were shown on click of forward button first.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not using module pool. Havnt created any screen of mine.&lt;/P&gt;&lt;P&gt;Can sy-lsind be of any help? It is set to 0 after each ALV grid dispaly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Mar 2009 14:38:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-back-button-module-pool-not-implemented/m-p/5429855#M1245936</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-25T14:38:30Z</dc:date>
    </item>
    <item>
      <title>Re: Using BACK button; module pool not implemented</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-back-button-module-pool-not-implemented/m-p/5429856#M1245937</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yea.. i think you can use the sy-lsind,because it gives the list index value.&lt;/P&gt;&lt;P&gt;so,in the program like when you press 'BACK'.&lt;/P&gt;&lt;P&gt;sy-lsind = 0.i hope it will be useful for you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: krishna kishore on Mar 25, 2009 8:17 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Mar 2009 14:46:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-back-button-module-pool-not-implemented/m-p/5429856#M1245937</guid>
      <dc:creator>KK07</dc:creator>
      <dc:date>2009-03-25T14:46:58Z</dc:date>
    </item>
    <item>
      <title>Re: Using BACK button; module pool not implemented</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-back-button-module-pool-not-implemented/m-p/5429857#M1245938</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the dynamic subroutine use .&lt;/P&gt;&lt;P&gt;Function Module has its own screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CASE SY-UCOMM.
When 'BACK'.
Leave to screen 0.
ENDCASE.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Gurpreet&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Mar 2009 15:16:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-back-button-module-pool-not-implemented/m-p/5429857#M1245938</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-25T15:16:12Z</dc:date>
    </item>
    <item>
      <title>Re: Using BACK button; module pool not implemented</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-back-button-module-pool-not-implemented/m-p/5429858#M1245939</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yeah i have tried both   sy-lsind = 0. and leave to screen 0. Nothing works .. &lt;/P&gt;&lt;P&gt;Have even tried disabling the BACK button and putting a button in application tool bar and then calling sy-lsind = 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: shalaxy s on Mar 26, 2009 3:27 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Mar 2009 09:20:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-back-button-module-pool-not-implemented/m-p/5429858#M1245939</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-26T09:20:19Z</dc:date>
    </item>
    <item>
      <title>Re: Using BACK button; module pool not implemented</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-back-button-module-pool-not-implemented/m-p/5429859#M1245940</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Shalaxy,&lt;/P&gt;&lt;P&gt;Get into the PAI section of screen and in the MODULE USER_COMMAND INPUT.&lt;/P&gt;&lt;P&gt;make a case; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: ok_code like sy-ucomm.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PAI:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;case ok_code.
when 'BACK'.
call screen 0./ leave to screen 0./set screen 0.
endcase.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But, in this case, set OK = ok_code for attributes of screen/layout.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Mar 2009 10:02:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-back-button-module-pool-not-implemented/m-p/5429859#M1245940</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-26T10:02:32Z</dc:date>
    </item>
    <item>
      <title>Re: Using BACK button; module pool not implemented</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-back-button-module-pool-not-implemented/m-p/5429860#M1245941</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;yeah i tried that on my standard screen but i got a message that "Report generation make screen changes inefective"  and didnt work .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Mar 2009 12:27:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-back-button-module-pool-not-implemented/m-p/5429860#M1245941</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-26T12:27:53Z</dc:date>
    </item>
    <item>
      <title>Re: Using BACK button; module pool not implemented</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-back-button-module-pool-not-implemented/m-p/5429861#M1245942</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Case OK_CODE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WHEN 'BACK'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;leave to screen 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endcase.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Mar 2009 12:29:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-back-button-module-pool-not-implemented/m-p/5429861#M1245942</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-26T12:29:30Z</dc:date>
    </item>
    <item>
      <title>Re: Using BACK button; module pool not implemented</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-back-button-module-pool-not-implemented/m-p/5429862#M1245943</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

MODULE USER_COMMAND_8000 INPUT.

  OK_CODE = SY-UCOMM.

  CASE OK_CODE.

  WHEN 'BACK'.

      LEAVE TO SCREEN 8000.

  ENDCASE.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mansi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Mar 2009 12:30:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-back-button-module-pool-not-implemented/m-p/5429862#M1245943</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-26T12:30:36Z</dc:date>
    </item>
    <item>
      <title>Re: Using BACK button; module pool not implemented</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-back-button-module-pool-not-implemented/m-p/5429863#M1245944</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Shalaxy,&lt;/P&gt;&lt;P&gt;I think that was because, you would not have activated the screen.&lt;/P&gt;&lt;P&gt;Just check whether, you have activated all the screens and gui-status. &lt;/P&gt;&lt;P&gt;Moreover, try any of those;&lt;/P&gt;&lt;P&gt;LEAVE TO SCREEN 0.&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;SET SCREEN 0.&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;CALL SCREEN 1000.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; 1000 is the default screen number.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps you;&lt;/P&gt;&lt;P&gt;Zahack&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Mar 2009 12:46:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-back-button-module-pool-not-implemented/m-p/5429863#M1245944</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-26T12:46:11Z</dc:date>
    </item>
  </channel>
</rss>

