<?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 ALV, Module pool in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-module-pool/m-p/1080515#M97700</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 have 2 screens. In one screen I am using ALV and in other screen I am using Module pool. &lt;/P&gt;&lt;P&gt;For the first screen, i have a refresh button which does the following logic:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RETRIEVE_DATA.&lt;/P&gt;&lt;P&gt;RS_SELFIELD-REFRESH = 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the second screen , i have a save icon, when the user clicks on save button,then it saves the data in the table and returns back to ALV screen. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When it returns to the alv screen it should perform the same functionality as REFRESH which changes the status of the field from "In Progress" to "Complete".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I did use the same ALV code :&lt;/P&gt;&lt;P&gt;RETRIEVE_DATA.&lt;/P&gt;&lt;P&gt;RS_SELFIELD-REFRESH = 'X'.&lt;/P&gt;&lt;P&gt;in PAI&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but its not working.&lt;/P&gt;&lt;P&gt;Can I use RS_SELFIELD-REFRESH = 'X' in PAI?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 24 Dec 2005 00:17:49 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2005-12-24T00:17:49Z</dc:date>
    <item>
      <title>ALV, Module pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-module-pool/m-p/1080515#M97700</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 have 2 screens. In one screen I am using ALV and in other screen I am using Module pool. &lt;/P&gt;&lt;P&gt;For the first screen, i have a refresh button which does the following logic:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RETRIEVE_DATA.&lt;/P&gt;&lt;P&gt;RS_SELFIELD-REFRESH = 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the second screen , i have a save icon, when the user clicks on save button,then it saves the data in the table and returns back to ALV screen. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When it returns to the alv screen it should perform the same functionality as REFRESH which changes the status of the field from "In Progress" to "Complete".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I did use the same ALV code :&lt;/P&gt;&lt;P&gt;RETRIEVE_DATA.&lt;/P&gt;&lt;P&gt;RS_SELFIELD-REFRESH = 'X'.&lt;/P&gt;&lt;P&gt;in PAI&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but its not working.&lt;/P&gt;&lt;P&gt;Can I use RS_SELFIELD-REFRESH = 'X' in PAI?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 24 Dec 2005 00:17:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-module-pool/m-p/1080515#M97700</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-12-24T00:17:49Z</dc:date>
    </item>
    <item>
      <title>Re: ALV, Module pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-module-pool/m-p/1080516#M97701</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you tried using the refresh method?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CL_GUI_ALV_GRID=&amp;gt;REFRESH_TABLE_DISPLAY&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 24 Dec 2005 01:31:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-module-pool/m-p/1080516#M97701</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2005-12-24T01:31:53Z</dc:date>
    </item>
    <item>
      <title>Re: ALV, Module pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-module-pool/m-p/1080517#M97702</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;are you retrieving the data properly...&lt;/P&gt;&lt;P&gt;and in which screen PAI you are doing...&lt;/P&gt;&lt;P&gt;try to use after save also&lt;/P&gt;&lt;P&gt;RS_SELFIELD-REFRESH = 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 24 Dec 2005 05:58:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-module-pool/m-p/1080517#M97702</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-12-24T05:58:36Z</dc:date>
    </item>
    <item>
      <title>Re: ALV, Module pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-module-pool/m-p/1080518#M97703</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;  in the save user command write this code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  SUBMIT &amp;lt;ALV PROGRAM NAME&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 24 Dec 2005 09:39:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-module-pool/m-p/1080518#M97703</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-12-24T09:39:54Z</dc:date>
    </item>
    <item>
      <title>Re: ALV, Module pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-module-pool/m-p/1080519#M97704</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Let me rephrase your scenario.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;GET DATA FROM DATABASE TABLE.&lt;/P&gt;&lt;P&gt;SHOW THE DATA IN ALV.&lt;/P&gt;&lt;P&gt;USER MAKES CHANGES AND SAVES.&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;RETRIEVE DATA FROM DATABASE AGAIN TO SHOW THE NEW/CHANGED CONTENTS.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If this is true, then I think your retrieve data from database is the issue here. Even though you save your contents to the database and retrieve them again, your program buffer is not updated yet with the new/changed data. So what you need to do to your SELECT statement is to add the option BYPASSING BUFFER. That should take care of the issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Srinivas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 24 Dec 2005 16:50:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-module-pool/m-p/1080519#M97704</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-12-24T16:50:39Z</dc:date>
    </item>
    <item>
      <title>Re: ALV, Module pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-module-pool/m-p/1080520#M97705</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 one screen I am using ALV and in other screen I am using Module pool. ALV is my first screen and Module pool is my second screen.&lt;/P&gt;&lt;P&gt;In Module pool screen, I have some fields and buttons like SAVE. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I enter the values in the Module pool screen and click on SAVE ,it should save the data in table( which my program does) and then go back to ALV screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am able to go back to ALV screen. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is that when i go back to ALV screen, the report is not getting refreshed. I did check my internal table, it has all the fields that had been changed but I am not able to see them in my ALV report.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone know why I am getting this problem? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Dec 2005 15:46:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-module-pool/m-p/1080520#M97705</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-12-27T15:46:22Z</dc:date>
    </item>
    <item>
      <title>Re: ALV, Module pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-module-pool/m-p/1080521#M97706</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;Can you give the code of your 'BACK' of Module pool.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Dec 2005 15:52:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-module-pool/m-p/1080521#M97706</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-12-27T15:52:57Z</dc:date>
    </item>
    <item>
      <title>Re: ALV, Module pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-module-pool/m-p/1080522#M97707</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you please post the flow logic here?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Screen 1 of program A.&lt;/P&gt;&lt;P&gt;PBO&lt;/P&gt;&lt;P&gt;Get data from database.&lt;/P&gt;&lt;P&gt;set pf-status and change screen attributes if relevent.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PAI&lt;/P&gt;&lt;P&gt;Do validations.&lt;/P&gt;&lt;P&gt;Procees user command. If user command is XYZ go to screen 2 of the same program A.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PBO of screen 2 of program A&lt;/P&gt;&lt;P&gt;Show data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PAI of screen 2 of program A&lt;/P&gt;&lt;P&gt;Process user command. If user command = save, save the entries in the database, and go back to screen 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this your process more or less? If so, please put a breakpoint at "Get data from database." of screen 1 of program A. See if, after returning from screen 2, and after you execute this step, you still have the changed entries in your internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do both the screens belong to the same program or are you calling the second one using a call transaction?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Srinivas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Dec 2005 15:57:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-module-pool/m-p/1080522#M97707</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-12-27T15:57:49Z</dc:date>
    </item>
    <item>
      <title>Re: ALV, Module pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-module-pool/m-p/1080523#M97708</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;  Below is the code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF OK_CODE = 'SAVE'.&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;  MODIFY ZTABLE FROM TABLE I_TAB1.&lt;/P&gt;&lt;P&gt;  SET SCREEN 0. " GOES TO ALV SCREEN&lt;/P&gt;&lt;P&gt;  PERFORM F_BUILD_DATA. " This is for building ALV Interal table&lt;/P&gt;&lt;P&gt;   RS_SELFIELD-REFRESH = 'X'.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Dec 2005 15:58:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-module-pool/m-p/1080523#M97708</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-12-27T15:58:13Z</dc:date>
    </item>
    <item>
      <title>Re: ALV, Module pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-module-pool/m-p/1080524#M97709</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;IF OK_CODE = 'SAVE'.

MODIFY ZTABLE FROM TABLE I_TAB1.
&amp;lt;b&amp;gt;PERFORM F_BUILD_DATA. " This is for building ALV Interal table
RS_SELFIELD-REFRESH = 'X'.
leave to screen 0.&amp;lt;/b&amp;gt;

ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try this...&lt;/P&gt;&lt;P&gt;vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Dec 2005 16:01:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-module-pool/m-p/1080524#M97709</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-12-27T16:01:58Z</dc:date>
    </item>
    <item>
      <title>Re: ALV, Module pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-module-pool/m-p/1080525#M97710</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What do you have in your F_BUILD_DATA? Please post the code for this one. Also, after "SET SCREEN 0", do you have LEAVE SCREEN?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Dec 2005 16:02:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-module-pool/m-p/1080525#M97710</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-12-27T16:02:00Z</dc:date>
    </item>
    <item>
      <title>Re: ALV, Module pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-module-pool/m-p/1080526#M97711</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In F_BUILD_DATA , i am just building my output alv internal table.&lt;/P&gt;&lt;P&gt;i am just using SET SCREEN 0.i am not using LEAVE SCREEN.&lt;/P&gt;&lt;P&gt;Does it matter?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vijay: its still the same when i used set screen 0 after building the data. the alv report is  not getting refreshed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Dec 2005 16:11:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-module-pool/m-p/1080526#M97711</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-12-27T16:11:50Z</dc:date>
    </item>
    <item>
      <title>Re: ALV, Module pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-module-pool/m-p/1080527#M97712</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;are you using normal alv or grid control.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Dec 2005 16:19:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-module-pool/m-p/1080527#M97712</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-12-27T16:19:10Z</dc:date>
    </item>
    <item>
      <title>Re: ALV, Module pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-module-pool/m-p/1080528#M97713</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I need your logic for the screen navigation, particularly from screen 1 to screen 2. Let us say you show the ALV, then user does something in screen 1 that triggers calling the screen 2. Can you please post that code?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The reason for asking you about the F_BUILD_DATA is, if this is where you build your internal table that is shown using ALV, then how are saying that your internal table has the changed data? You changed the internal table in your screen 2. But when you come back to your screen 1, you are building the internal table again(using what logic?). Do you have your internal table contents changed after this routine?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Srinivas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Dec 2005 16:20:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-module-pool/m-p/1080528#M97713</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-12-27T16:20:36Z</dc:date>
    </item>
    <item>
      <title>Re: ALV, Module pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-module-pool/m-p/1080529#M97714</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am just using ALV FM not containers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my first screen,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF OK_CODE = 'NEXTSCREEN'.&lt;/P&gt;&lt;P&gt;CALL SCREEN 100.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I  debugged  the routine F_BUILD_DATA, it has the changed data (like status from NO TO YES).This is being written in screen 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;do i have to build the data again after i use set screen 0?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Dec 2005 16:32:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-module-pool/m-p/1080529#M97714</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-12-27T16:32:08Z</dc:date>
    </item>
    <item>
      <title>Re: ALV, Module pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-module-pool/m-p/1080530#M97715</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, then you are passing a routine name to the USER_COMMAND parameter of the function module and in that routine, you have this code.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;IF OK_CODE = 'NEXTSCREEN'.
  CALL SCREEN 100.
ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If this is true, change the code as follows.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;IF OK_CODE = 'NEXTSCREEN'.
  SET SCREEN 100. LEAVE SCREEN.
  MOVE '&amp;amp;REFRESH' TO OK_CODE. 
ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SET SCREEN XXXX and LEAVE SCREEN are important for that fact that a CALL SCREEN will open a new dynpro and stacks it up where as SET SCREEN with LEAVE SCREEN does not stack it up. So if the users are playing between the screens, you will not hit the dynpro stack limitation using this syntax.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Srinivas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Dec 2005 16:38:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-module-pool/m-p/1080530#M97715</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-12-27T16:38:00Z</dc:date>
    </item>
    <item>
      <title>Re: ALV, Module pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-module-pool/m-p/1080531#M97716</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Srinivas,&lt;/P&gt;&lt;P&gt;  You are right. I am using that in USER_COMMAND(ALV). When  I used SET SCREEN 100. LEAVE SCREEN. I got a dump saying that screen does not exist.&lt;/P&gt;&lt;P&gt;I did not get dump when i used CALL SCREEN 100.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another question: why are you using &lt;/P&gt;&lt;P&gt;MOVE '&amp;amp;REFRESH' TO OK_CODE  ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Dec 2005 16:56:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-module-pool/m-p/1080531#M97716</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-12-27T16:56:26Z</dc:date>
    </item>
    <item>
      <title>Re: ALV, Module pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-module-pool/m-p/1080532#M97717</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That is interesting. Something else might be causing it, but since your call screen is working, leave it at that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You need to use the refresh after you process the user command so that the internal table contents are changed. You can do that by setting the OKCODE to this value. You are doing it in your screen 2, but it should be done here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Srinivas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Dec 2005 17:40:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-module-pool/m-p/1080532#M97717</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-12-27T17:40:18Z</dc:date>
    </item>
    <item>
      <title>Re: ALV, Module pool</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-module-pool/m-p/1080533#M97718</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Srinivas. I did try your method. It works now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank You very much. I did award the points.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks to everyone who participated in this thread.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Dec 2005 20:54:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-module-pool/m-p/1080533#M97718</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-12-27T20:54:31Z</dc:date>
    </item>
  </channel>
</rss>

