<?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: aborting the pgm execution in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/aborting-the-pgm-execution/m-p/1369031#M182021</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;for calling a report from a module pool there are two options&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. leave to list processing&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LEAVE LIST PROCESSING returns back&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. submit &amp;lt;report&amp;gt; [and return]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and return option will return back&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 11 May 2006 10:45:38 GMT</pubDate>
    <dc:creator>hymavathi_oruganti</dc:creator>
    <dc:date>2006-05-11T10:45:38Z</dc:date>
    <item>
      <title>aborting the pgm execution</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/aborting-the-pgm-execution/m-p/1369029#M182019</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; I am calling a report pgm from module pool pgm. like this:&lt;/P&gt;&lt;P&gt;  in PAI of screen 0001.&lt;/P&gt;&lt;P&gt;if sy-ucomm eq 'INL'.&lt;/P&gt;&lt;P&gt;call transaction 'XYZ'.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;transaction XYZ is assigned to report pgm.&lt;/P&gt;&lt;P&gt;when i press particular button on module pool screen report gets called. But when I try to execute the report it is coming back to module pool screen.&lt;/P&gt;&lt;P&gt; what can be done to avoid this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Saurabh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 May 2006 10:42:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/aborting-the-pgm-execution/m-p/1369029#M182019</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-11T10:42:07Z</dc:date>
    </item>
    <item>
      <title>Re: aborting the pgm execution</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/aborting-the-pgm-execution/m-p/1369030#M182020</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Insteda of assigning the report program with a tcode and calling that tcode using call transaction, you can use the &lt;/P&gt;&lt;P&gt;"leave to list processing" syntax.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 May 2006 10:44:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/aborting-the-pgm-execution/m-p/1369030#M182020</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-11T10:44:24Z</dc:date>
    </item>
    <item>
      <title>Re: aborting the pgm execution</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/aborting-the-pgm-execution/m-p/1369031#M182021</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;for calling a report from a module pool there are two options&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. leave to list processing&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LEAVE LIST PROCESSING returns back&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. submit &amp;lt;report&amp;gt; [and return]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and return option will return back&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 May 2006 10:45:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/aborting-the-pgm-execution/m-p/1369031#M182021</guid>
      <dc:creator>hymavathi_oruganti</dc:creator>
      <dc:date>2006-05-11T10:45:38Z</dc:date>
    </item>
    <item>
      <title>Re: aborting the pgm execution</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/aborting-the-pgm-execution/m-p/1369032#M182022</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi saurabh,&lt;/P&gt;&lt;P&gt;try &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LEAVE TO { {TRANSACTION tcod} | {CURRENT TRANSACTION} }. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Addition: &lt;/P&gt;&lt;P&gt;... AND SKIP FIRST SCREEN &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect &lt;/P&gt;&lt;P&gt;Ends current processing and starts the (new) transaction tcod. All previous internal sessions are deleted from the stack and one new internal session is opened for the program of the transaction that was called. When this session has finished, the system returns to the next higher area menu. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you specify CURRENT TRANSACTION (as of Release 6.20), the current transaction is called with exactly the same transaction code it was called with using CALL TRANSACTION or LEAVE TO TRANSACTION. With the exception of parameter or variant transactions, this is the transaction code that is also in the system field sy-tcode.. In the case of parameter or variant transactions, it is their transaction code, while sy-tcode contains the name of the implicitly-called dialog transaction. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or simply u can call a report with LEAVE TO LIST-PROCESSING.&lt;/P&gt;&lt;P&gt;hope this helps,&lt;/P&gt;&lt;P&gt;priya.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 May 2006 10:47:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/aborting-the-pgm-execution/m-p/1369032#M182022</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-11T10:47:47Z</dc:date>
    </item>
    <item>
      <title>Re: aborting the pgm execution</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/aborting-the-pgm-execution/m-p/1369033#M182023</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hii&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;YOu can go to list processing from a module pool program using "leave to list processing" statement.&lt;/P&gt;&lt;P&gt;If you want to call a report, then you can use a submit report statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
SUBMIT rm07mlbd
with s_datum in r_datum
WITH s_LGORT in r_LGORT
WITH WERKS = '1000'
EXPORTING LIST TO MEMORY AND RETURN.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="1574400"&gt;&lt;/A&gt;&lt;/P&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;Thanks &amp;amp; regards&lt;/P&gt;&lt;P&gt;Naresh&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 May 2006 10:48:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/aborting-the-pgm-execution/m-p/1369033#M182023</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-11T10:48:19Z</dc:date>
    </item>
    <item>
      <title>Re: aborting the pgm execution</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/aborting-the-pgm-execution/m-p/1369034#M182024</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hai Saurabh&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;use Leave to screen '0'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks  &amp;amp; Regards&lt;/P&gt;&lt;P&gt;Sreenivasulu P&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 May 2006 10:48:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/aborting-the-pgm-execution/m-p/1369034#M182024</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-11T10:48:27Z</dc:date>
    </item>
    <item>
      <title>Re: aborting the pgm execution</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/aborting-the-pgm-execution/m-p/1369035#M182025</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Guys Found the solution...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;use subit &amp;lt;pgm name&amp;gt; and return.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks to all of u..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Saurabh.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 May 2006 10:54:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/aborting-the-pgm-execution/m-p/1369035#M182025</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-11T10:54:25Z</dc:date>
    </item>
    <item>
      <title>Re: aborting the pgm execution</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/aborting-the-pgm-execution/m-p/1369036#M182026</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;tx&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jul 2011 09:15:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/aborting-the-pgm-execution/m-p/1369036#M182026</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-07-28T09:15:12Z</dc:date>
    </item>
  </channel>
</rss>

