<?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: How to perform subroutine form in an include program? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-perform-subroutine-form-in-an-include-program/m-p/1310156#M161507</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, that's exactly why I can't put the form simply as an include inside the customer exit. I would need to find some way of calling the existing external form (before copying the code to a custom fm or other..)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Mikko&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 12 May 2006 08:48:14 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-05-12T08:48:14Z</dc:date>
    <item>
      <title>How to perform subroutine form in an include program?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-perform-subroutine-form-in-an-include-program/m-p/1310146#M161497</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;I would like to perform an external subroutine form residing in an include program from a customer function user exit. I tried using the following code, but it dumps:&lt;/P&gt;&lt;P&gt;PERFORM &amp;lt;form name&amp;gt; IN PROGRAM (lv_program)&lt;/P&gt;&lt;P&gt;           TABLES &amp;lt;a&amp;gt; &amp;lt;b&amp;gt; USING &amp;lt;c&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the dump analysis I see that "Program &amp;lt;include name&amp;gt; is type I and therefore cannot be generated" and "The current ABAP/4 program attempts to call the program &amp;lt;include name&amp;gt; but this program cannot be executed. Therefore,the current program had to be terminated. "&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the include can't be generated, is there another way or method I could directly call the form without needing to copy the standard code to an own function or form?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Mikko&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 May 2006 08:31:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-perform-subroutine-form-in-an-include-program/m-p/1310146#M161497</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-12T08:31:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to perform subroutine form in an include program?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-perform-subroutine-form-in-an-include-program/m-p/1310147#M161498</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;include &amp;lt;name_of_the_include&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;perform &amp;lt;name_of_the_form&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(simple way is the better way &lt;SPAN __jive_emoticon_name="wink"&gt;&lt;/SPAN&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fred&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 May 2006 08:34:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-perform-subroutine-form-in-an-include-program/m-p/1310147#M161498</guid>
      <dc:creator>FredericGirod</dc:creator>
      <dc:date>2006-05-12T08:34:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to perform subroutine form in an include program?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-perform-subroutine-form-in-an-include-program/m-p/1310148#M161499</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;You have to insert that include in a program, so or you convert the include in a program or you create a program where you'll insert it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 May 2006 08:35:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-perform-subroutine-form-in-an-include-program/m-p/1310148#M161499</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-12T08:35:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to perform subroutine form in an include program?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-perform-subroutine-form-in-an-include-program/m-p/1310149#M161500</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Mikko,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;U need to provide with the main program name instead of include then it wil not give a dump or error. Find the main program name and use it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 May 2006 08:35:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-perform-subroutine-form-in-an-include-program/m-p/1310149#M161500</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-12T08:35:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to perform subroutine form in an include program?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-perform-subroutine-form-in-an-include-program/m-p/1310150#M161501</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;have u included the include in the program&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 May 2006 08:36:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-perform-subroutine-form-in-an-include-program/m-p/1310150#M161501</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-12T08:36:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to perform subroutine form in an include program?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-perform-subroutine-form-in-an-include-program/m-p/1310151#M161502</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;PERFORM &amp;lt;form name&amp;gt; IN PROGRAM (lv_program)&lt;/P&gt;&lt;P&gt;TABLES &amp;lt;a&amp;gt; &amp;lt;b&amp;gt; USING &amp;lt;c&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;lv_program should be program name but not include name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;give the program name&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or include that include in the current program&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 May 2006 08:36:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-perform-subroutine-form-in-an-include-program/m-p/1310151#M161502</guid>
      <dc:creator>hymavathi_oruganti</dc:creator>
      <dc:date>2006-05-12T08:36:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to perform subroutine form in an include program?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-perform-subroutine-form-in-an-include-program/m-p/1310152#M161503</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;use include &lt;/P&gt;&lt;P&gt;and submit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 May 2006 08:39:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-perform-subroutine-form-in-an-include-program/m-p/1310152#M161503</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-12T08:39:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to perform subroutine form in an include program?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-perform-subroutine-form-in-an-include-program/m-p/1310153#M161504</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;&lt;/P&gt;&lt;P&gt;take this example..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;     perform idoc_status_record_write in program sapmsed7 using
                                                x_edidc-docnum
                                                c_idoc_status_ready
                                                space
                                                space
                                                space
                                                space
                                                space
                                                space.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in this the from is in include, but while calling you need to call with the help of main program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in this case &amp;lt;b&amp;gt;SAPMSED7&amp;lt;/b&amp;gt; main program, but form is in include &amp;lt;b&amp;gt;MSED7F05&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 May 2006 08:39:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-perform-subroutine-form-in-an-include-program/m-p/1310153#M161504</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-12T08:39:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to perform subroutine form in an include program?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-perform-subroutine-form-in-an-include-program/m-p/1310154#M161505</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi mikko,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. what i understood is that :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. customer exi&lt;/P&gt;&lt;P&gt;   --&amp;gt; an FM&lt;/P&gt;&lt;P&gt;   -&lt;/P&gt;&lt;HR originaltext="-----" /&gt;&lt;P&gt;&amp;gt; an include &lt;/P&gt;&lt;P&gt;   -&lt;/P&gt;&lt;HR originaltext="--------" /&gt;&lt;P&gt; FORM subroutine (inside the include)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. in such case, how can we write&lt;/P&gt;&lt;P&gt;   FORM subroutine inside the include of the customer exit FM ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BCOS it will give error.&lt;/P&gt;&lt;P&gt;Incorrect nesting: Before the statement "FORM", the structure introduced by "FUNCTION" must be concluded by "ENDFUNCTION" . . . . . .		&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>Fri, 12 May 2006 08:43:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-perform-subroutine-form-in-an-include-program/m-p/1310154#M161505</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-12T08:43:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to perform subroutine form in an include program?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-perform-subroutine-form-in-an-include-program/m-p/1310155#M161506</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Abhijit,&lt;/P&gt;&lt;P&gt;thanks for the tip. I checked the where used list of the include program but couldn't unfortunately find any references of this include (LHRWPC_TO_REMOTEF01).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Others, the inclusion of the include in my code doesn't work because I'm working inside a user exit. Putting in the include form makes the system give an error to place the inclusion after the function module (which is a modification then).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any more tips?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Mikko&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ps. You were the first to give the correct answer so 10p for you &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Mikko Mäki-Rahkola&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 May 2006 08:46:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-perform-subroutine-form-in-an-include-program/m-p/1310155#M161506</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-12T08:46:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to perform subroutine form in an include program?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-perform-subroutine-form-in-an-include-program/m-p/1310156#M161507</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, that's exactly why I can't put the form simply as an include inside the customer exit. I would need to find some way of calling the existing external form (before copying the code to a custom fm or other..)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Mikko&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 May 2006 08:48:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-perform-subroutine-form-in-an-include-program/m-p/1310156#M161507</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-12T08:48:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to perform subroutine form in an include program?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-perform-subroutine-form-in-an-include-program/m-p/1310157#M161508</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;&lt;/P&gt;&lt;P&gt;try this instead of include program give this &amp;lt;b&amp;gt;SAPLHRWPC_TO_REMOTE&amp;lt;/b&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 May 2006 08:50:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-perform-subroutine-form-in-an-include-program/m-p/1310157#M161508</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-12T08:50:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to perform subroutine form in an include program?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-perform-subroutine-form-in-an-include-program/m-p/1310158#M161509</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, it works now! How did you find this, by guessing?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Mikko&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 May 2006 08:54:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-perform-subroutine-form-in-an-include-program/m-p/1310158#M161509</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-12T08:54:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to perform subroutine form in an include program?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-perform-subroutine-form-in-an-include-program/m-p/1310159#M161510</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;SAPLHRWPC_TO_REMOTE&amp;lt;/b&amp;gt; is the main program of include, this is function pool of the function module.&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;vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 May 2006 08:55:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-perform-subroutine-form-in-an-include-program/m-p/1310159#M161510</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-12T08:55:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to perform subroutine form in an include program?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-perform-subroutine-form-in-an-include-program/m-p/1310160#M161511</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ah yes..found it now, too..(blush blush)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried getting the where used list by clicking on the include header label field while I should have clicked the button on the row beginning with "***INCLUDE LHRWPC_TO_REMOTEF01".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again!&lt;/P&gt;&lt;P&gt;-Mikko&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 May 2006 08:57:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-perform-subroutine-form-in-an-include-program/m-p/1310160#M161511</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-12T08:57:14Z</dc:date>
    </item>
  </channel>
</rss>

