<?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 in Include in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/perform-in-include/m-p/1495098#M229904</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi suresh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Unfortunately this won't work.&lt;/P&gt;&lt;P&gt;2. Bcos we cannot write FORM-ENDFORM&lt;/P&gt;&lt;P&gt;   inside the include.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. It should be either before the FUNCTION,&lt;/P&gt;&lt;P&gt;   or after END FUNCTION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4. But since this is a user-exit,&lt;/P&gt;&lt;P&gt;   we cannot change the code of the FM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;5. So in your case, its better,&lt;/P&gt;&lt;P&gt;   to create another Z Program,&lt;/P&gt;&lt;P&gt;   and write the FORM-ENDFORM inside it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;6. Then call this form in your include using the syntax&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  PERFORM MYFORM IN PROGRAM ZPROG.&lt;/P&gt;&lt;P&gt;&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;amit m.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 31 Aug 2006 06:06:46 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-08-31T06:06:46Z</dc:date>
    <item>
      <title>Perform in Include</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/perform-in-include/m-p/1495097#M229903</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;          can i write a perfom in the 'Z' include of the user exit. i have written the Form and End form at the end of my include. i am getting the error as 'incorrect nesting : Before the statement "FORM", the structure introduced by "FUNCTION" must be concluded by "ENDFUNCTION". &lt;/P&gt;&lt;P&gt;                     can any one tell me the solution for this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;suresh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Aug 2006 06:03:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/perform-in-include/m-p/1495097#M229903</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-31T06:03:37Z</dc:date>
    </item>
    <item>
      <title>Re: Perform in Include</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/perform-in-include/m-p/1495098#M229904</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi suresh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Unfortunately this won't work.&lt;/P&gt;&lt;P&gt;2. Bcos we cannot write FORM-ENDFORM&lt;/P&gt;&lt;P&gt;   inside the include.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. It should be either before the FUNCTION,&lt;/P&gt;&lt;P&gt;   or after END FUNCTION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4. But since this is a user-exit,&lt;/P&gt;&lt;P&gt;   we cannot change the code of the FM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;5. So in your case, its better,&lt;/P&gt;&lt;P&gt;   to create another Z Program,&lt;/P&gt;&lt;P&gt;   and write the FORM-ENDFORM inside it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;6. Then call this form in your include using the syntax&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  PERFORM MYFORM IN PROGRAM ZPROG.&lt;/P&gt;&lt;P&gt;&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;amit m.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Aug 2006 06:06:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/perform-in-include/m-p/1495098#M229904</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-31T06:06:46Z</dc:date>
    </item>
    <item>
      <title>Re: Perform in Include</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/perform-in-include/m-p/1495099#M229905</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;Create a New Include say Z_INCLUDE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the User Exit,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FUNCTION .&lt;/P&gt;&lt;P&gt;INCLUDE Z_INCLUDE.&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;&lt;/P&gt;&lt;P&gt;In Z_INCLUDE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PEFORM PROCESS_DATA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM PROCESS_DATA.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;write your code here&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;ENDFORM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Prashant&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Aug 2006 06:11:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/perform-in-include/m-p/1495099#M229905</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-31T06:11:08Z</dc:date>
    </item>
  </channel>
</rss>

