<?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 subroutine (perform) inside the include program in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/subroutine-perform-inside-the-include-program/m-p/1571968#M258239</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;&lt;/P&gt;&lt;P&gt;i am writting a subroutine inside an include.include itself is present inside a subroutine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;form x.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;include xyz.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endform.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;inside this include, structure of program is like below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;include xyx.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;perform y.&lt;/P&gt;&lt;P&gt;perform z.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;form y.&lt;/P&gt;&lt;P&gt;endform.&lt;/P&gt;&lt;P&gt;form z.&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;so i am geting error like before statement form structure introduced by form must be ended with endform.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can i use perform &amp;amp; form statement inside include?&lt;/P&gt;&lt;P&gt;if not then how is it possible to put perform statements inside that include. this include is nothing but an exit&lt;/P&gt;&lt;P&gt;of program--MV50AFZ1.plz suggest me .it is very urgent.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;any suggestion will be highly appreaciated.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;pabitra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 04 Oct 2006 14:10:22 GMT</pubDate>
    <dc:creator>former_member190312</dc:creator>
    <dc:date>2006-10-04T14:10:22Z</dc:date>
    <item>
      <title>subroutine (perform) inside the include program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/subroutine-perform-inside-the-include-program/m-p/1571968#M258239</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;&lt;/P&gt;&lt;P&gt;i am writting a subroutine inside an include.include itself is present inside a subroutine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;form x.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;include xyz.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endform.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;inside this include, structure of program is like below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;include xyx.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;perform y.&lt;/P&gt;&lt;P&gt;perform z.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;form y.&lt;/P&gt;&lt;P&gt;endform.&lt;/P&gt;&lt;P&gt;form z.&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;so i am geting error like before statement form structure introduced by form must be ended with endform.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can i use perform &amp;amp; form statement inside include?&lt;/P&gt;&lt;P&gt;if not then how is it possible to put perform statements inside that include. this include is nothing but an exit&lt;/P&gt;&lt;P&gt;of program--MV50AFZ1.plz suggest me .it is very urgent.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;any suggestion will be highly appreaciated.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;pabitra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Oct 2006 14:10:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/subroutine-perform-inside-the-include-program/m-p/1571968#M258239</guid>
      <dc:creator>former_member190312</dc:creator>
      <dc:date>2006-10-04T14:10:22Z</dc:date>
    </item>
    <item>
      <title>Re: subroutine (perform) inside the include program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/subroutine-perform-inside-the-include-program/m-p/1571969#M258240</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use FORM and PERFORM statemens inside an include, but you can not use the INCLUDE statement which has FORM routine definitions inside a FORM defintion.  This is the reason for your error.&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>Wed, 04 Oct 2006 14:12:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/subroutine-perform-inside-the-include-program/m-p/1571969#M258240</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2006-10-04T14:12:56Z</dc:date>
    </item>
    <item>
      <title>Re: subroutine (perform) inside the include program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/subroutine-perform-inside-the-include-program/m-p/1571970#M258241</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For example, if you have a bunch of FORM defintions in your INCLUDE program and you want to be able to call these in the MV50AFZ1 program, simply put the INCLUDE statement at the very top of this program,  NOT inside of an existing FORM defition of that program,  then you can call the FORMS in your INCLUDE from inside the FORMS of the MV50AFZ1 program.&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>Wed, 04 Oct 2006 14:15:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/subroutine-perform-inside-the-include-program/m-p/1571970#M258241</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2006-10-04T14:15:02Z</dc:date>
    </item>
    <item>
      <title>Re: subroutine (perform) inside the include program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/subroutine-perform-inside-the-include-program/m-p/1571971#M258242</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;lt;b&amp;gt;inside this include, structure of program is like below.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;include xyx.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;perform y.&lt;/P&gt;&lt;P&gt;perform z.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;form y.&lt;/P&gt;&lt;P&gt;endform.&lt;/P&gt;&lt;P&gt;form z.&lt;/P&gt;&lt;P&gt;endform.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="---------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maintain separate Include to keep the FORMS when u ae defining PERFORMS in Include program. Then it will allow u to activate&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Oct 2006 14:18:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/subroutine-perform-inside-the-include-program/m-p/1571971#M258242</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-04T14:18:53Z</dc:date>
    </item>
  </channel>
</rss>

