<?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: 'Simple Screen Exit Button not working' in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/simple-screen-exit-button-not-working/m-p/1323714#M166300</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just use LEAVE TO SCREEN 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Clear OK_CODE after every use, if u need it for further processing then u need to use flags&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 31 May 2006 16:12:52 GMT</pubDate>
    <dc:creator>rahulkavuri</dc:creator>
    <dc:date>2006-05-31T16:12:52Z</dc:date>
    <item>
      <title>'Simple Screen Exit Button not working'</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/simple-screen-exit-button-not-working/m-p/1323710#M166296</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;I am Novice in SAP-BW can any  Help me in this regards.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My Screen should come out when i press Exit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But u it not coming out. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT Z_SCREEN .&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;OUTPUT(8) TYPE C.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: TEXT(10) TYPE C,&lt;/P&gt;&lt;P&gt;      NUMBER TYPE I.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL SCREEN 1130.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp;      Module  USER_COMMAND_1130  INPUT&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      text&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODULE USER_COMMAND_1130 INPUT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CASE OK_CODE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      WHEN 'EXIT'.&lt;/P&gt;&lt;P&gt;&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;      LEAVE PROGRAM   .&lt;/P&gt;&lt;P&gt;      ENDCASE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDMODULE.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 May 2006 16:05:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/simple-screen-exit-button-not-working/m-p/1323710#M166296</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-31T16:05:02Z</dc:date>
    </item>
    <item>
      <title>Re: 'Simple Screen Exit Button not working'</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/simple-screen-exit-button-not-working/m-p/1323711#M166297</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;  Remove LEAVE TO SCREEN 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark Helpfull answers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 May 2006 16:06:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/simple-screen-exit-button-not-working/m-p/1323711#M166297</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-31T16:06:45Z</dc:date>
    </item>
    <item>
      <title>Re: 'Simple Screen Exit Button not working'</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/simple-screen-exit-button-not-working/m-p/1323712#M166298</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anil,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You need to define a module in PBO of 1130 screen's flow logic.&lt;/P&gt;&lt;P&gt;In this module you need to set pf-status with function keys 'EXIT' for back, leave or for cancel button.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;PROCESS BEFORE OUTPUT.
  MODULE SET_STATUS.

MODULE SET_STATUS OUTPUT.
  SET PF-STATUS 'ENTW'.
  SET TITLEBAR 'ETW'.
ENDMODULE.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;Manohar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 May 2006 16:11:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/simple-screen-exit-button-not-working/m-p/1323712#M166298</guid>
      <dc:creator>Manohar2u</dc:creator>
      <dc:date>2006-05-31T16:11:23Z</dc:date>
    </item>
    <item>
      <title>Re: 'Simple Screen Exit Button not working'</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/simple-screen-exit-button-not-working/m-p/1323713#M166299</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi anil,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;use ok_code = sy-ucomm.&lt;/P&gt;&lt;P&gt;then use case ok_code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps.&lt;/P&gt;&lt;P&gt;award if helpful.&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;keerthi.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 May 2006 16:11:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/simple-screen-exit-button-not-working/m-p/1323713#M166299</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-31T16:11:35Z</dc:date>
    </item>
    <item>
      <title>Re: 'Simple Screen Exit Button not working'</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/simple-screen-exit-button-not-working/m-p/1323714#M166300</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just use LEAVE TO SCREEN 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Clear OK_CODE after every use, if u need it for further processing then u need to use flags&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 May 2006 16:12:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/simple-screen-exit-button-not-working/m-p/1323714#M166300</guid>
      <dc:creator>rahulkavuri</dc:creator>
      <dc:date>2006-05-31T16:12:52Z</dc:date>
    </item>
    <item>
      <title>Re: 'Simple Screen Exit Button not working'</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/simple-screen-exit-button-not-working/m-p/1323715#M166301</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;You must :&lt;/P&gt;&lt;P&gt;- create a status xxx with SE41 (and link the code 'EXIT' to a back/cancel/exit button&lt;/P&gt;&lt;P&gt;- set this status in the PBO (set PF-STATUS xxx)&lt;/P&gt;&lt;P&gt;- not forget the ok_code in the element list !!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nothing else.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps ... and hope you'll reward &lt;SPAN __jive_emoticon_name="wink"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 May 2006 16:14:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/simple-screen-exit-button-not-working/m-p/1323715#M166301</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-31T16:14:30Z</dc:date>
    </item>
    <item>
      <title>Re: 'Simple Screen Exit Button not working'</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/simple-screen-exit-button-not-working/m-p/1323716#M166302</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;Try the below code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In your screen PAI write the below code..&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
PROCESS AFTER INPUT.
*-- Exit program
  MODULE EXIT AT EXIT-COMMAND.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Double click on the above module and  write the below code.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;MODULE EXIT INPUT.

 LEAVE PROGRAM. " Exit program

ENDMODULE.                 " exit  INPUT&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;G.S.K&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 May 2006 16:14:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/simple-screen-exit-button-not-working/m-p/1323716#M166302</guid>
      <dc:creator>sreekanthgo</dc:creator>
      <dc:date>2006-05-31T16:14:46Z</dc:date>
    </item>
    <item>
      <title>Re: 'Simple Screen Exit Button not working'</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/simple-screen-exit-button-not-working/m-p/1323717#M166303</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anil,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please do not forget to close the post if your issue has been solved.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can close the post by alloting maximum points to a post or solved by your own.&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;GSK&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Jun 2006 10:33:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/simple-screen-exit-button-not-working/m-p/1323717#M166303</guid>
      <dc:creator>sreekanthgo</dc:creator>
      <dc:date>2006-06-01T10:33:42Z</dc:date>
    </item>
    <item>
      <title>Re: 'Simple Screen Exit Button not working'</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/simple-screen-exit-button-not-working/m-p/1323718#M166304</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi anil,&lt;/P&gt;&lt;P&gt; if ur's is  a report program check out the simple code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TABLES sscrfields.&lt;/P&gt;&lt;P&gt;SELECTION-SCREEN PUSHBUTTON 5(10) exit&lt;/P&gt;&lt;P&gt;                   USER-COMMAND us01.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN.&lt;/P&gt;&lt;P&gt;  CASE  sscrfields-ucomm .&lt;/P&gt;&lt;P&gt;    WHEN 'US01'.&lt;/P&gt;&lt;P&gt;      LEAVE .&lt;/P&gt;&lt;P&gt;  ENDCASE.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Jun 2006 10:52:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/simple-screen-exit-button-not-working/m-p/1323718#M166304</guid>
      <dc:creator>Santosh_Kezkhepatmelathil</dc:creator>
      <dc:date>2006-06-01T10:52:46Z</dc:date>
    </item>
    <item>
      <title>Re: 'Simple Screen Exit Button not working'</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/simple-screen-exit-button-not-working/m-p/1323719#M166305</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;Thanks a lot to u all. My Problem is Solved . Previously i didn't include PBO Module in my program. Now it is working ,fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again you all.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Jun 2006 11:25:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/simple-screen-exit-button-not-working/m-p/1323719#M166305</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-01T11:25:37Z</dc:date>
    </item>
  </channel>
</rss>

