<?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 Grid Problem - User command Back Cancel Exit in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-problem-user-command-back-cancel-exit/m-p/2761967#M643003</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Brian,&lt;/P&gt;&lt;P&gt;  FORM user_command USING  r_ucomm LIKE sy-ucomm&lt;/P&gt;&lt;P&gt;                         rs_selfield TYPE slis_selfield.&lt;/P&gt;&lt;P&gt;  CASE r_ucomm.&lt;/P&gt;&lt;P&gt;    WHEN '%BCK'.&lt;/P&gt;&lt;P&gt;      LEAVE TO SCREEN 0."1000.&lt;/P&gt;&lt;P&gt;    WHEN '%EXT'.&lt;/P&gt;&lt;P&gt;      LEAVE PROGRAM.&lt;/P&gt;&lt;P&gt;    WHEN '%CNC'.&lt;/P&gt;&lt;P&gt;      LEAVE PROGRAM.&lt;/P&gt;&lt;P&gt;  ENDCASE.&lt;/P&gt;&lt;P&gt;ENDFORM. "user_command&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This what i was doing in my code for the user command.&lt;/P&gt;&lt;P&gt;I dont see any problem. &lt;/P&gt;&lt;P&gt;Thanks in advance for your help,&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Srinivas.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 18 Sep 2007 01:23:49 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-09-18T01:23:49Z</dc:date>
    <item>
      <title>ALV Grid Problem - User command Back Cancel Exit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-problem-user-command-back-cancel-exit/m-p/2761964#M643000</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;             I was trying to use the ALV grid and my problem is, on the grid display, when i try to hit the back button or exit or cancel, then a blank screen appears and i need to hit either back or other buttons one more time to go back to the selection screen. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;             Is there any thing I am missing here? Please suggest me the solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Srinivas.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Sep 2007 20:55:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-problem-user-command-back-cancel-exit/m-p/2761964#M643000</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-17T20:55:44Z</dc:date>
    </item>
    <item>
      <title>Re: ALV Grid Problem - User command Back Cancel Exit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-problem-user-command-back-cancel-exit/m-p/2761965#M643001</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are u calling this ALV through module pool if so please  check&lt;/P&gt;&lt;P&gt;menu bar title bar . se41.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Sep 2007 21:24:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-problem-user-command-back-cancel-exit/m-p/2761965#M643001</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-17T21:24:26Z</dc:date>
    </item>
    <item>
      <title>Re: ALV Grid Problem - User command Back Cancel Exit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-problem-user-command-back-cancel-exit/m-p/2761966#M643002</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please tell us what you are doing in your code to process the back/exit/cancel.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example, in ALV I do the following in PAI module:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;  IF sy-ucomm = 'BACK'
  OR sy-ucomm = 'EXIT'
  OR sy-ucomm = 'CANCEL'.

    LEAVE TO SCREEN 0.

  ELSE.

    (other stuff.)

  ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What are you doing when these keys are hit?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good luck&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Brian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Sep 2007 22:46:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-problem-user-command-back-cancel-exit/m-p/2761966#M643002</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-17T22:46:20Z</dc:date>
    </item>
    <item>
      <title>Re: ALV Grid Problem - User command Back Cancel Exit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-problem-user-command-back-cancel-exit/m-p/2761967#M643003</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Brian,&lt;/P&gt;&lt;P&gt;  FORM user_command USING  r_ucomm LIKE sy-ucomm&lt;/P&gt;&lt;P&gt;                         rs_selfield TYPE slis_selfield.&lt;/P&gt;&lt;P&gt;  CASE r_ucomm.&lt;/P&gt;&lt;P&gt;    WHEN '%BCK'.&lt;/P&gt;&lt;P&gt;      LEAVE TO SCREEN 0."1000.&lt;/P&gt;&lt;P&gt;    WHEN '%EXT'.&lt;/P&gt;&lt;P&gt;      LEAVE PROGRAM.&lt;/P&gt;&lt;P&gt;    WHEN '%CNC'.&lt;/P&gt;&lt;P&gt;      LEAVE PROGRAM.&lt;/P&gt;&lt;P&gt;  ENDCASE.&lt;/P&gt;&lt;P&gt;ENDFORM. "user_command&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This what i was doing in my code for the user command.&lt;/P&gt;&lt;P&gt;I dont see any problem. &lt;/P&gt;&lt;P&gt;Thanks in advance for your help,&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Srinivas.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Sep 2007 01:23:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-problem-user-command-back-cancel-exit/m-p/2761967#M643003</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-18T01:23:49Z</dc:date>
    </item>
    <item>
      <title>Re: ALV Grid Problem - User command Back Cancel Exit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-problem-user-command-back-cancel-exit/m-p/2761968#M643004</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Srinivas,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think you are using ALV Grid FM .. if you are using PF Status then use user command in Menu painter (SE41) ( BACK,CANC,EXIT) -&amp;gt; system will understand only these Function code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you are not using Pf -status then do not use Function code ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;get rid of the whole code related to BACK,CANC,EXIT..&lt;/P&gt;&lt;P&gt;Please use Upper case incase you are using Function code.&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;Seshu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Sep 2007 01:30:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-problem-user-command-back-cancel-exit/m-p/2761968#M643004</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-18T01:30:11Z</dc:date>
    </item>
    <item>
      <title>Re: ALV Grid Problem - User command Back Cancel Exit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-problem-user-command-back-cancel-exit/m-p/2761969#M643005</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi srinivas,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;we have 2 options in this case. &lt;/P&gt;&lt;P&gt;1) i think ur using EVENTS_GET function module. If u use sometimes we are facing this kind of problem. i think accroding to my knowliege its bug in SAP....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) See in debug mode what is the user command for this back button everty time USERCOMMAND FOR BACK BUTTON not 'BACK' .If it ios correct plaese add the code for back button in user command event.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if u dont want to face that problem remove that events_get fm and write the code manually. i am not sure abt ur code. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i hope u got the point what i am saying.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Maheedhar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Sep 2007 04:50:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-problem-user-command-back-cancel-exit/m-p/2761969#M643005</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-18T04:50:51Z</dc:date>
    </item>
    <item>
      <title>Re: ALV Grid Problem - User command Back Cancel Exit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-problem-user-command-back-cancel-exit/m-p/2761970#M643006</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for all you guys for helping me. I solved this problem. There was skip command after the alv grid display. This causes the blank screen after i hit the back button. I removed that one and now it is working fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once again, Thanks for your help.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Srinivas kari.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Points were awarded.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        srinivas kari&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Sep 2007 14:39:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-grid-problem-user-command-back-cancel-exit/m-p/2761970#M643006</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-18T14:39:54Z</dc:date>
    </item>
  </channel>
</rss>

