<?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: ALV Navigation in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-navigation/m-p/6018718#M1347269</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You should not be getting this blank screen. Ensure you are following this logic&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
"in PBO
MODULE pbo OUTPUT.
   "here you create container and ALV and display it
ENDMODULE.

"in PAI
MODULE pau INPUT.
   if sy-ucomm = 'BACK'.  "BACK is function code for back button
      LEAVE TO SCREEN 0. "this should take you back to selectionn screen
   endif.
ENDMODULE.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Marcin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 15 Aug 2009 11:49:36 GMT</pubDate>
    <dc:creator>MarcinPciak</dc:creator>
    <dc:date>2009-08-15T11:49:36Z</dc:date>
    <item>
      <title>ALV Navigation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-navigation/m-p/6018717#M1347268</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 developed an ALV Report which contains a selection screen. After executing the report the selection screen is appearing and based upon the values entered it is displaying the ALV report. when i clicked back button, instead of navigating to selection screen a blank screen is appearing and then again i need to click back button which then displays selection screen. My question is how to suppress the blank screen.&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;Faisal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 15 Aug 2009 10:43:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-navigation/m-p/6018717#M1347268</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-15T10:43:02Z</dc:date>
    </item>
    <item>
      <title>Re: ALV Navigation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-navigation/m-p/6018718#M1347269</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You should not be getting this blank screen. Ensure you are following this logic&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
"in PBO
MODULE pbo OUTPUT.
   "here you create container and ALV and display it
ENDMODULE.

"in PAI
MODULE pau INPUT.
   if sy-ucomm = 'BACK'.  "BACK is function code for back button
      LEAVE TO SCREEN 0. "this should take you back to selectionn screen
   endif.
ENDMODULE.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Marcin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 15 Aug 2009 11:49:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-navigation/m-p/6018718#M1347269</guid>
      <dc:creator>MarcinPciak</dc:creator>
      <dc:date>2009-08-15T11:49:36Z</dc:date>
    </item>
    <item>
      <title>Re: ALV Navigation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-navigation/m-p/6018719#M1347270</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;after the call of function module call write&lt;/P&gt;&lt;P&gt;leave to screen 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Nilesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 15 Aug 2009 12:56:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-navigation/m-p/6018719#M1347270</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-15T12:56:22Z</dc:date>
    </item>
    <item>
      <title>Re: ALV Navigation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-navigation/m-p/6018720#M1347271</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Abdul,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when u r calling the screen containing ALV report, check the PAI part of the same screen and do following.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;capture sy-ucomm for back button,under that case that case write set screen '0' and leave screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
MODULE USER_COMMAND_0100 INPUT.
data lv_ucomm type sy-ucomm.
     lv_ucomm = sy-ucomm.
  CASE lv_ucomm.
    WHEN 'CANCEL' OR 'EXIT'.
      LEAVE PROGRAM.
    when 'BACK'.
     set screen '0'.
     leave screen.
  ENDCASE.
ENDMODULE.    
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Akash Rana&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 15 Aug 2009 14:01:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-navigation/m-p/6018720#M1347271</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-15T14:01:29Z</dc:date>
    </item>
    <item>
      <title>Re: ALV Navigation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-navigation/m-p/6018721#M1347272</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Faisal,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I assume u have used the FM 'RESUSE_ALV_GRID_DISPLAY' to display ur ALV. In this, if u haven't specified ur own GUI, the ALV should work fine with the standard GUI ie. return without the blank screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But if u have specified ur own GUI status, (using statement SET PF-STATUS ... ) , then make sure that u have handle ur exit functions in the report. As mentioned above, u may use LEAVE TO SCREEN 0 or just LEAVE SCREEN.&lt;/P&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...Jaison&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Aug 2009 06:35:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-navigation/m-p/6018721#M1347272</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-17T06:35:28Z</dc:date>
    </item>
  </channel>
</rss>

