<?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: GUI STATUS BACK BUTTON in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/gui-status-back-button/m-p/7633097#M1571460</link>
    <description>&lt;P&gt;Try to call to scrreen:&lt;/P&gt;&lt;P&gt;For eg:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;  CASE sy-ucomm.&lt;BR /&gt;    WHEN 'ADD_A'.&lt;BR /&gt;      CALL SCREEN 9001.&lt;BR /&gt;&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Thu, 09 Dec 2021 13:00:05 GMT</pubDate>
    <dc:creator>pedro_silva612</dc:creator>
    <dc:date>2021-12-09T13:00:05Z</dc:date>
    <item>
      <title>GUI STATUS BACK BUTTON</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/gui-status-back-button/m-p/7633091#M1571454</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just want to seek your help in my problem. I have a program with gui status, I've already done already to all gui except to the BACK BUTTON. Everytime I hit this I just return on my previous screen. Is it possible that everytime I hit back button I will return to my selection-screen. I've already used LEAVE TO SCREEN 0, LEAVE TO LIST-PROCESSING, LEAVE LIST-PROCESSING and LEAVE SCREEN but nothings happen. By the way, I just used write statement for my output. Thanks so much.&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;-Anna&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: ascapilos on Feb 4, 2011 7:43 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Feb 2011 06:43:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/gui-status-back-button/m-p/7633091#M1571454</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-02-04T06:43:01Z</dc:date>
    </item>
    <item>
      <title>Re: GUI STATUS BACK BUTTON</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/gui-status-back-button/m-p/7633092#M1571455</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;How many screens are there in your program. as you said that you have just used a write statement means that you have only one screen that is your selection screen.&lt;/P&gt;&lt;P&gt;leave to screen 0 works and it takes you to your selection screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where have to written the code for Back Button.&lt;/P&gt;&lt;P&gt;you write the code in the event At user command for report and module pool in PAI of the screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check for sy-ucomm vale and then write your code.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Feb 2011 06:54:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/gui-status-back-button/m-p/7633092#M1571455</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-02-04T06:54:21Z</dc:date>
    </item>
    <item>
      <title>Re: GUI STATUS BACK BUTTON</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/gui-status-back-button/m-p/7633093#M1571456</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try directly calling your program on the press of back button.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FOr eg&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
If sy-ucomm eq'BACK'

    CALL TRANSACTION 'ZXXXX'

endif.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Feb 2011 07:07:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/gui-status-back-button/m-p/7633093#M1571456</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-02-04T07:07:23Z</dc:date>
    </item>
    <item>
      <title>Re: GUI STATUS BACK BUTTON</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/gui-status-back-button/m-p/7633094#M1571457</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi anna,&lt;/P&gt;&lt;P&gt;if your gui status is a customized status then try changing the function code of the back button to any other name like 'BCAK' or something and then write coding for that.&lt;/P&gt;&lt;P&gt;with regards,&lt;/P&gt;&lt;P&gt;syed&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Feb 2011 07:16:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/gui-status-back-button/m-p/7633094#M1571457</guid>
      <dc:creator>syed_ibrahim5</dc:creator>
      <dc:date>2011-02-04T07:16:20Z</dc:date>
    </item>
    <item>
      <title>Re: GUI STATUS BACK BUTTON</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/gui-status-back-button/m-p/7633095#M1571458</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  What I did is this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WHEN c_back.&lt;/P&gt;&lt;P&gt;     LEAVE TO SCREEN 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where c_back is declared as c_back(4) VALUE  'BACK'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is inside the case statement since I also have other button. The declaration is inside the at user-command.&lt;/P&gt;&lt;P&gt;But still nothings happen. Thanks so much.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;-Anna&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: ascapilos on Feb 4, 2011 9:57 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Feb 2011 08:56:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/gui-status-back-button/m-p/7633095#M1571458</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-02-04T08:56:59Z</dc:date>
    </item>
    <item>
      <title>Re: GUI STATUS BACK BUTTON</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/gui-status-back-button/m-p/7633096#M1571459</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;To my understanding, you have used a selection screen and then had normal WRITE stmt for output. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ex:&lt;/P&gt;&lt;P&gt;Screen 100 has Sel Screen and calls screen 101.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In Screen logic of 101.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  case sy-ucomm.&lt;/P&gt;&lt;P&gt;    when 'BACK'.&lt;/P&gt;&lt;P&gt;      call transaction &lt;/P&gt;&lt;P&gt;    when 'EXEC'.&lt;/P&gt;&lt;P&gt;      Write : 'Hai'.&lt;/P&gt;&lt;P&gt;      leave to list-processing.&lt;/P&gt;&lt;P&gt; endcase.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This takes you to the output screen on execution &amp;amp; here the clicking the BACK button, your GUI status code case... endcase will not be triggered. On clicking BACK, you will return to the previous calling Screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you need the initial selection screen (100) to be displayed on clicking BACK, then code as :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;leave to list-processing and return to screen 100.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Satish&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Kindly mark it, if u found it useful&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: satish kanteti on Feb 4, 2011 2:43 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Feb 2011 13:41:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/gui-status-back-button/m-p/7633096#M1571459</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-02-04T13:41:44Z</dc:date>
    </item>
    <item>
      <title>Re: GUI STATUS BACK BUTTON</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/gui-status-back-button/m-p/7633097#M1571460</link>
      <description>&lt;P&gt;Try to call to scrreen:&lt;/P&gt;&lt;P&gt;For eg:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;  CASE sy-ucomm.&lt;BR /&gt;    WHEN 'ADD_A'.&lt;BR /&gt;      CALL SCREEN 9001.&lt;BR /&gt;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 09 Dec 2021 13:00:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/gui-status-back-button/m-p/7633097#M1571460</guid>
      <dc:creator>pedro_silva612</dc:creator>
      <dc:date>2021-12-09T13:00:05Z</dc:date>
    </item>
  </channel>
</rss>

