<?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: subroutine in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/subroutine/m-p/1358725#M178515</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kiran,&lt;/P&gt;&lt;P&gt;U can call subroutine from another program using the following sytax..&lt;/P&gt;&lt;P&gt;PERFORM &amp;lt;Subroutine_name&amp;gt; IN PROGRAM&amp;lt;prog_name&amp;gt; IF FOUND.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Tanveer.&lt;/P&gt;&lt;P&gt;Please mark helpful answers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 01 May 2006 08:02:27 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-05-01T08:02:27Z</dc:date>
    <item>
      <title>subroutine</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/subroutine/m-p/1358722#M178512</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;how to call a subroutine from one program to another program?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 May 2006 07:55:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/subroutine/m-p/1358722#M178512</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-01T07:55:24Z</dc:date>
    </item>
    <item>
      <title>Re: subroutine</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/subroutine/m-p/1358723#M178513</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;PERFORM SUBOUTINE(PROGRAM_NAME).&lt;/P&gt;&lt;P&gt;&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>Mon, 01 May 2006 07:58:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/subroutine/m-p/1358723#M178513</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-01T07:58:17Z</dc:date>
    </item>
    <item>
      <title>Re: subroutine</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/subroutine/m-p/1358724#M178514</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hai Kiran&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Subroutines are programming modules which can be called from ABAP/4 programs.&lt;/P&gt;&lt;P&gt;Frequently used parts of program can be put into subroutines and these subroutines can be called explicitly from the program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We use subroutines mainly to modularize and structure our program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) A subroutine is a block of code introduced by &amp;#145;FORM&amp;#146; and concluded by &amp;#145;ENDFORM&amp;#146;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;	FORM &lt;/P&gt;&lt;P&gt;	ENDFORM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3) PERFORM form. &lt;A href="USING&amp;nbsp;p1 p2 p3"&gt;&lt;/A&gt; &lt;/P&gt;&lt;P&gt;		         &lt;A href="CHANGING p1 p2 p3"&gt;&lt;/A&gt;  		         &lt;A href="TABLES&amp;nbsp;  &amp;nbsp; itab1 itab2"&gt;&lt;/A&gt;  Calls the subroutine form defined using a FORM statement. After the subroutine has finished, processing continues after the PERFORM statement. The parameters of the subroutine are position parameters, and must be passed in the call according to the definition of the formal parameters in the corresponding FORM statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4) You list these parameters after USING or CHANGING without the VALUE addition: &lt;/P&gt;&lt;P&gt;FORM &lt;/P&gt;&lt;P&gt;ENDFORM. &lt;/P&gt;&lt;P&gt;&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;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 May 2006 08:00:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/subroutine/m-p/1358724#M178514</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-01T08:00:59Z</dc:date>
    </item>
    <item>
      <title>Re: subroutine</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/subroutine/m-p/1358725#M178515</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kiran,&lt;/P&gt;&lt;P&gt;U can call subroutine from another program using the following sytax..&lt;/P&gt;&lt;P&gt;PERFORM &amp;lt;Subroutine_name&amp;gt; IN PROGRAM&amp;lt;prog_name&amp;gt; IF FOUND.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Tanveer.&lt;/P&gt;&lt;P&gt;Please mark helpful answers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 May 2006 08:02:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/subroutine/m-p/1358725#M178515</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-01T08:02:27Z</dc:date>
    </item>
    <item>
      <title>Re: subroutine</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/subroutine/m-p/1358726#M178516</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kiran,&lt;/P&gt;&lt;P&gt;         You can call subroutine in another program with the following syntax.&lt;/P&gt;&lt;P&gt;PERFORM &amp;lt;subroutine&amp;gt; IN PROGRAM &amp;lt;program_name&amp;gt;.&lt;/P&gt;&lt;P&gt;You can call dynamic subroutines in another program with the follwoing syntax.&lt;/P&gt;&lt;P&gt;PERFORM &amp;lt;b&amp;gt;(subroutine)&amp;lt;/b&amp;gt; IN PROGRAM &amp;lt;program_name&amp;gt;.&lt;/P&gt;&lt;P&gt;At the runtime, the name of subroutine is called in another program.&lt;/P&gt;&lt;P&gt;You can call subroutine in dynamic program with the following syntax.&lt;/P&gt;&lt;P&gt;PERFORM &amp;lt;subroutine&amp;gt; IN PROGRAM &amp;lt;b&amp;gt;(program_name)&amp;lt;/b&amp;gt;.&lt;/P&gt;&lt;P&gt;You can have both subroutine and program as dynamic.&lt;/P&gt;&lt;P&gt;PERFORM &amp;lt;b&amp;gt;(subroutine)&amp;lt;/b&amp;gt; IN PROGRAM &amp;lt;b&amp;gt;(program_name)&amp;lt;/b&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Vinay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 May 2006 09:59:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/subroutine/m-p/1358726#M178516</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-01T09:59:41Z</dc:date>
    </item>
  </channel>
</rss>

