<?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: calling a subroutine in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-subroutine/m-p/2264129#M491123</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you all. For helping me out.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 16 May 2007 14:20:31 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-05-16T14:20:31Z</dc:date>
    <item>
      <title>calling a subroutine</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-subroutine/m-p/2264122#M491116</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Can anyone help me out giving this answer. How can we call a subroutine of one report from an other report.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 May 2007 14:05:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-subroutine/m-p/2264122#M491116</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-16T14:05:45Z</dc:date>
    </item>
    <item>
      <title>Re: calling a subroutine</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-subroutine/m-p/2264123#M491117</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 can use this statement &lt;/P&gt;&lt;P&gt;perform routine(external_program_name).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kostas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 May 2007 14:07:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-subroutine/m-p/2264123#M491117</guid>
      <dc:creator>kostas_tsioubris</dc:creator>
      <dc:date>2007-05-16T14:07:47Z</dc:date>
    </item>
    <item>
      <title>Re: calling a subroutine</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-subroutine/m-p/2264124#M491118</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;PERFORM form IN PROGRAM prog.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;do an F1 on Perofrm in your ABAP editor &amp;amp; you will get a help on all the options..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;~Suresh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 May 2007 14:08:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-subroutine/m-p/2264124#M491118</guid>
      <dc:creator>suresh_datti</dc:creator>
      <dc:date>2007-05-16T14:08:02Z</dc:date>
    </item>
    <item>
      <title>Re: calling a subroutine</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-subroutine/m-p/2264125#M491119</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 can simply write the prog name in () bracket and execute the perform.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;e.g.&lt;/P&gt;&lt;P&gt;PERFORM buildt_fieldcat(Z5GJK_BILLING_BLOCK_DETAILS) CHANGING t_fieldcat&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this solves your purpose.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Award points if it helps.&lt;/P&gt;&lt;P&gt;-Gaurang&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 May 2007 14:10:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-subroutine/m-p/2264125#M491119</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-16T14:10:29Z</dc:date>
    </item>
    <item>
      <title>Re: calling a subroutine</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-subroutine/m-p/2264126#M491120</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;Subroutine Name (Program in which Subroutine present).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ranjit Thakur.&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Please Mark The Helpful Answer.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 May 2007 14:10:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-subroutine/m-p/2264126#M491120</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-16T14:10:56Z</dc:date>
    </item>
    <item>
      <title>Re: calling a subroutine</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-subroutine/m-p/2264127#M491121</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Satish,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Welcome to SDN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please check this link for detail information and sample codes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/9f/db978335c111d1829f0000e829fbfe/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/9f/db978335c111d1829f0000e829fbfe/content.htm&lt;/A&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;Ferry Lianto&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 May 2007 14:12:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-subroutine/m-p/2264127#M491121</guid>
      <dc:creator>ferry_lianto</dc:creator>
      <dc:date>2007-05-16T14:12:49Z</dc:date>
    </item>
    <item>
      <title>Re: calling a subroutine</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-subroutine/m-p/2264128#M491122</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Calling External Subroutines&lt;/P&gt;&lt;P&gt;1  report ztx1811.&lt;/P&gt;&lt;P&gt;2  tables ztxlfa1.&lt;/P&gt;&lt;P&gt;3  data   f1(3) value 'AAA'.&lt;/P&gt;&lt;P&gt;4&lt;/P&gt;&lt;P&gt;5  ztxlfa1-lifnr = '1000'.&lt;/P&gt;&lt;P&gt;6  perform s1(ztx1812).&lt;/P&gt;&lt;P&gt;7  write: / 'f1 =', f1,&lt;/P&gt;&lt;P&gt;8         / 'lifnr =', ztxlfa1-lifnr.&lt;/P&gt;&lt;P&gt;&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; &lt;/P&gt;&lt;P&gt;&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;Listing 18.12  Subroutine Called from the Program in Listing 18.11&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1  report ztx1812.&lt;/P&gt;&lt;P&gt;2  tables ztxlfa1.&lt;/P&gt;&lt;P&gt;3  data   f1(3).&lt;/P&gt;&lt;P&gt;4&lt;/P&gt;&lt;P&gt;5  form s1.&lt;/P&gt;&lt;P&gt;6      f1 = 'ZZZ'.&lt;/P&gt;&lt;P&gt;7      ztxlfa1-lifnr = '9999'.&lt;/P&gt;&lt;P&gt;8      endform.&lt;/P&gt;&lt;P&gt;&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; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The code in Listing 18.11 produces the following output: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    f1 = AAA      &lt;/P&gt;&lt;P&gt; lifnr = 9999&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;Reward if helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sipra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 May 2007 14:14:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-subroutine/m-p/2264128#M491122</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-16T14:14:48Z</dc:date>
    </item>
    <item>
      <title>Re: calling a subroutine</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-subroutine/m-p/2264129#M491123</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you all. For helping me out.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 May 2007 14:20:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-subroutine/m-p/2264129#M491123</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-16T14:20:31Z</dc:date>
    </item>
    <item>
      <title>Re: calling a subroutine</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-subroutine/m-p/2264130#M491124</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 can use&lt;/P&gt;&lt;P&gt;PERFORM &amp;lt;subr&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;&lt;/P&gt;&lt;P&gt;OR&lt;/P&gt;&lt;P&gt;&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;&lt;/P&gt;&lt;P&gt;OR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SUBMIT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Calls an executable program of type 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Syntax&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SUBMIT &amp;lt;rep&amp;gt; [AND RETURN] [VIA SELECTION-SCREEN]&lt;/P&gt;&lt;P&gt;                          [USING SELECTION-SET &amp;lt;var&amp;gt;]&lt;/P&gt;&lt;P&gt;                          [WITH &amp;lt;sel&amp;gt; &amp;lt;criterion&amp;gt;]&lt;/P&gt;&lt;P&gt;                          [WITH FREE SELECTIONS &amp;lt;freesel&amp;gt;]&lt;/P&gt;&lt;P&gt;                          [WITH SELECTION-TABLE &amp;lt;rspar&amp;gt;]&lt;/P&gt;&lt;P&gt;                          [LINE-SIZE &amp;lt;width&amp;gt;]&lt;/P&gt;&lt;P&gt;                          [LINE-COUNT &amp;lt;length&amp;gt;].&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Calls the program &amp;lt;rep&amp;gt;. If you omit the AND RETURN addition, the current program is terminated. Otherwise, the data from the current program is retained, and processing returns to the calling program when &amp;lt;rep&amp;gt; has finished running. The other additions control the selection screen and set attributes of the default list in the called program. &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;Bhaskar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 May 2007 14:21:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-a-subroutine/m-p/2264130#M491124</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-16T14:21:28Z</dc:date>
    </item>
  </channel>
</rss>

