<?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: Perform statement. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/perform-statement/m-p/2986161#M705138</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;-&amp;gt;in the first case the &amp;lt;b&amp;gt;form method&amp;lt;/b&amp;gt; should be in the scope of the same program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&amp;gt;in the second case the &amp;lt;b&amp;gt;form method&amp;lt;/b&amp;gt; can be specified outside the  program (that program is only specified as "IN PROGRAM prog").&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;reward points if useful.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Vinod Samuel.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 25 Oct 2007 10:18:37 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-10-25T10:18:37Z</dc:date>
    <item>
      <title>Perform statement.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/perform-statement/m-p/2986157#M705134</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;may i know what is the differences between &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-PERFORM form(prog)&lt;/P&gt;&lt;P&gt;-PERFORM form IN PROGRAM prog&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it seems like both statement are calling the form from the program but what is the exact differences between them? Pls kindly advise.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and regards&lt;/P&gt;&lt;P&gt;YM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Oct 2007 08:47:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/perform-statement/m-p/2986157#M705134</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-25T08:47:28Z</dc:date>
    </item>
    <item>
      <title>Re: Perform statement.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/perform-statement/m-p/2986158#M705135</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;first perform for executing form in current program&lt;/P&gt;&lt;P&gt;second for executing in program name specified&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Oct 2007 08:49:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/perform-statement/m-p/2986158#M705135</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-25T08:49:31Z</dc:date>
    </item>
    <item>
      <title>Re: Perform statement.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/perform-statement/m-p/2986159#M705136</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Case 1 will work if your form is in an INCLUDE program in ur main program,&lt;/P&gt;&lt;P&gt;second will work for form in a totaly different program&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Oct 2007 08:52:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/perform-statement/m-p/2986159#M705136</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-25T08:52:11Z</dc:date>
    </item>
    <item>
      <title>Re: Perform statement.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/perform-statement/m-p/2986160#M705137</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;in ur syntax &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;first is for the local subroutine to execute in the current program itself.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;second is when u want to access subroutine of some other program in current program we ll go for dat syntax.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if helpful reward some points.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;with regards,&lt;/P&gt;&lt;P&gt;Suresh Aluri.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Oct 2007 10:12:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/perform-statement/m-p/2986160#M705137</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-25T10:12:24Z</dc:date>
    </item>
    <item>
      <title>Re: Perform statement.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/perform-statement/m-p/2986161#M705138</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;-&amp;gt;in the first case the &amp;lt;b&amp;gt;form method&amp;lt;/b&amp;gt; should be in the scope of the same program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&amp;gt;in the second case the &amp;lt;b&amp;gt;form method&amp;lt;/b&amp;gt; can be specified outside the  program (that program is only specified as "IN PROGRAM prog").&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;reward points if useful.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Vinod Samuel.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Oct 2007 10:18:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/perform-statement/m-p/2986161#M705138</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-25T10:18:37Z</dc:date>
    </item>
    <item>
      <title>Re: Perform statement.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/perform-statement/m-p/2986162#M705139</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;good&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Calls the subroutine form defined usng a &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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;&lt;/P&gt;&lt;P&gt;Example&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;PERFORM HELP_ME. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;FORM HELP_ME.&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;ENDFORM. &lt;/P&gt;&lt;P&gt;The PERFORM statement calls the subroutine HELP_ME.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;go through this link which ll help you to clear your doubt.&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_46c/helpdata/en/34/8e72cc6df74873e10000009b38f9b8/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_46c/helpdata/en/34/8e72cc6df74873e10000009b38f9b8/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward point if helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;mrutyun^&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Oct 2007 10:48:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/perform-statement/m-p/2986162#M705139</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-25T10:48:58Z</dc:date>
    </item>
    <item>
      <title>Re: Perform statement.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/perform-statement/m-p/2986163#M705140</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;&amp;lt;b&amp;gt;Specifying Subroutines Dynamically&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;You can specify the name of a subroutine and, in the case of external calls, the name of the program in which it occurs, dynamically as follows:&lt;/P&gt;&lt;P&gt;PERFORM (&amp;lt;fsubr&amp;gt;)[IN PROGRAM (&amp;lt;fprog&amp;gt;)][USING ... &amp;lt;pi&amp;gt;... ]&lt;/P&gt;&lt;P&gt;[CHANGING... &amp;lt;pi&amp;gt;... ]&lt;/P&gt;&lt;P&gt;[IF FOUND].&lt;/P&gt;&lt;P&gt;The names of the subroutine and the external program are the contents of the fields &amp;lt;fsubr&amp;gt; and &amp;lt;fprog&amp;gt; respectively. By using the option IF FOUND, you can prevent a runtime error from being triggered if &amp;lt;fprog&amp;gt; does not contain a subroutine with the name &amp;lt;fsubr&amp;gt;. If you omit the parentheses, this variant of the PERFORM statement behaves like the static variant.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Calling Subroutines&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;You call subroutines using the statement&lt;/P&gt;&lt;P&gt;PERFORM... [USING ... &amp;lt;pi&amp;gt;... ]&lt;/P&gt;&lt;P&gt;[CHANGING... &amp;lt;pi&amp;gt;... ].&lt;/P&gt;&lt;P&gt;Subroutines can call other subroutines (nested calls) and may also call themselves (recursive calls). Once a subroutine has finished running, the calling program carries on processing after the PERFORM statement. You can use the USING and CHANGING additions to supply values to the parameter interface of the subroutine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With the PERFORM statement, you can call subroutines which are coded in the same ABAP program (internal calls), or subroutines which are coded in other ABAP programs (external calls). You can also specify the name of the subroutine dynamically at runtime, and call subroutines from a list.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Bhaskar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Oct 2007 11:21:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/perform-statement/m-p/2986163#M705140</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-25T11:21:40Z</dc:date>
    </item>
    <item>
      <title>Re: Perform statement.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/perform-statement/m-p/2986164#M705141</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks all for the contribution. Appreciate it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Oct 2007 01:01:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/perform-statement/m-p/2986164#M705141</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-26T01:01:39Z</dc:date>
    </item>
  </channel>
</rss>

