<?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: Call a Program in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-a-program/m-p/973936#M70388</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You want to call the selection screen again while still in the program.  You can say LEAVE TO TRANSACTION 'YOUR_TRANSACTION'.  This will leave the current processing of your program and "start-it-over".   Is this what you are looking for.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 12 Aug 2005 14:15:48 GMT</pubDate>
    <dc:creator>RichHeilman</dc:creator>
    <dc:date>2005-08-12T14:15:48Z</dc:date>
    <item>
      <title>Call a Program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-a-program/m-p/973935#M70387</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I created batch input program for sap banking that create massive loans and edit this loans for the loan type 33D. now I want to Call again the start of selection part of my program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how can I do that?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advanced,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fidel Peralta&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Aug 2005 14:07:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-a-program/m-p/973935#M70387</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-08-12T14:07:34Z</dc:date>
    </item>
    <item>
      <title>Re: Call a Program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-a-program/m-p/973936#M70388</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You want to call the selection screen again while still in the program.  You can say LEAVE TO TRANSACTION 'YOUR_TRANSACTION'.  This will leave the current processing of your program and "start-it-over".   Is this what you are looking for.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Aug 2005 14:15:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-a-program/m-p/973936#M70388</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2005-08-12T14:15:48Z</dc:date>
    </item>
    <item>
      <title>Re: Call a Program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-a-program/m-p/973937#M70389</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not really, what I want is to start the processing again without going to the selection screen. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have two subroutines. one for the selections and the other one for the output. what I want is to start the chain of events all over again. (execute the program again without going to the selection screen)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Aug 2005 14:50:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-a-program/m-p/973937#M70389</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-08-12T14:50:32Z</dc:date>
    </item>
    <item>
      <title>Re: Call a Program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-a-program/m-p/973938#M70390</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How many times you want to run it. Is there any conditional for exit ? &lt;/P&gt;&lt;P&gt;You can use loop for that. Loop at itab , in case using internal table for data, do n time, if you want to run fixed time, or while  for conditional loop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;put your processing in the loop.&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;Gagan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Aug 2005 14:56:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-a-program/m-p/973938#M70390</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-08-12T14:56:39Z</dc:date>
    </item>
    <item>
      <title>Re: Call a Program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-a-program/m-p/973939#M70391</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok,  for example....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;


START-OF-SELECTION.

PERFORM GET_DATA.
PERFORM OUPUT.


&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you not just call the subroutines again?  At what point to you want to do this.  You need some trigger.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Aug 2005 15:21:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-a-program/m-p/973939#M70391</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2005-08-12T15:21:42Z</dc:date>
    </item>
  </channel>
</rss>

