<?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: function loop error in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-loop-error/m-p/2809678#M656766</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;create include program and give form definition here.&lt;/P&gt;&lt;P&gt;activate both function module and include.....even if u get errors.....activate anyway.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then go to function module....click on object list and check if include program is under this function module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope there are no syntax errors.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Vasu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 05 Oct 2007 11:13:09 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-10-05T11:13:09Z</dc:date>
    <item>
      <title>function loop error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-loop-error/m-p/2809672#M656760</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i have created a FM and the code contains some form calls&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but it gives loop errors &lt;/P&gt;&lt;P&gt;mu code is of the form..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;function&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;perform call1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Error here(endfuction expected)&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;form call1&lt;/P&gt;&lt;P&gt;end form&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endfunction&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Oct 2007 10:58:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-loop-error/m-p/2809672#M656760</guid>
      <dc:creator>Karan_Chopra_</dc:creator>
      <dc:date>2007-10-05T10:58:14Z</dc:date>
    </item>
    <item>
      <title>Re: function loop error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-loop-error/m-p/2809673#M656761</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You need to create your subroutine in an INCLUDE program of the function group, not direct in the module itself.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Nick&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Oct 2007 11:01:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-loop-error/m-p/2809673#M656761</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-05T11:01:14Z</dc:date>
    </item>
    <item>
      <title>Re: function loop error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-loop-error/m-p/2809674#M656762</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;perform call1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endfunction.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when u double click on call1, create the same in an include program and write the neccessary code inside the include program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it will work...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Oct 2007 11:05:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-loop-error/m-p/2809674#M656762</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-05T11:05:24Z</dc:date>
    </item>
    <item>
      <title>Re: function loop error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-loop-error/m-p/2809675#M656763</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;the declaration for call1 is incorrect .. it should be declaraed outside the function module..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can write it separately n then include in your program by using INCLUDE statement.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Oct 2007 11:06:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-loop-error/m-p/2809675#M656763</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-05T11:06:07Z</dc:date>
    </item>
    <item>
      <title>Re: function loop error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-loop-error/m-p/2809676#M656764</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;it is showing the same error&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Oct 2007 11:06:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-loop-error/m-p/2809676#M656764</guid>
      <dc:creator>Karan_Chopra_</dc:creator>
      <dc:date>2007-10-05T11:06:47Z</dc:date>
    </item>
    <item>
      <title>Re: function loop error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-loop-error/m-p/2809677#M656765</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you defined the subroutine outside the function and removed the original defintion?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Oct 2007 11:10:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-loop-error/m-p/2809677#M656765</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-05T11:10:39Z</dc:date>
    </item>
    <item>
      <title>Re: function loop error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-loop-error/m-p/2809678#M656766</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;create include program and give form definition here.&lt;/P&gt;&lt;P&gt;activate both function module and include.....even if u get errors.....activate anyway.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then go to function module....click on object list and check if include program is under this function module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope there are no syntax errors.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Vasu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Oct 2007 11:13:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-loop-error/m-p/2809678#M656766</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-05T11:13:09Z</dc:date>
    </item>
    <item>
      <title>Re: function loop error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-loop-error/m-p/2809679#M656767</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;it is showing but still same error&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Oct 2007 11:20:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-loop-error/m-p/2809679#M656767</guid>
      <dc:creator>Karan_Chopra_</dc:creator>
      <dc:date>2007-10-05T11:20:12Z</dc:date>
    </item>
    <item>
      <title>Re: function loop error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-loop-error/m-p/2809680#M656768</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You don't need an include:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;function test.

perform call1.
endfunction .

form call1.
end form.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Oct 2007 13:36:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-loop-error/m-p/2809680#M656768</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-05T13:36:32Z</dc:date>
    </item>
    <item>
      <title>Re: function loop error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-loop-error/m-p/2809681#M656769</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;rob&lt;/P&gt;&lt;P&gt;if i do that it shows unknown variable error in the subroutine definition&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Oct 2007 13:45:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-loop-error/m-p/2809681#M656769</guid>
      <dc:creator>Karan_Chopra_</dc:creator>
      <dc:date>2007-10-05T13:45:11Z</dc:date>
    </item>
    <item>
      <title>Re: function loop error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-loop-error/m-p/2809682#M656770</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, but your original problem should be solved.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have further problems, you should post the real code, not pseudo code in a separate thread.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Oct 2007 13:57:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-loop-error/m-p/2809682#M656770</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-05T13:57:00Z</dc:date>
    </item>
  </channel>
</rss>

