<?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 Difference between MACRO &amp; SUBROUTINE in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-macro-subroutine/m-p/3179726#M756973</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;What is the difference between MACRO &amp;amp; a SUBROUTINE?&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;Amruth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 19 Dec 2007 16:54:11 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-12-19T16:54:11Z</dc:date>
    <item>
      <title>Difference between MACRO &amp; SUBROUTINE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-macro-subroutine/m-p/3179726#M756973</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;What is the difference between MACRO &amp;amp; a SUBROUTINE?&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;Amruth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Dec 2007 16:54:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-macro-subroutine/m-p/3179726#M756973</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-19T16:54:11Z</dc:date>
    </item>
    <item>
      <title>Re: Difference between MACRO &amp; SUBROUTINE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-macro-subroutine/m-p/3179727#M756974</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Macros can only be used in the program the are defined in and only after the definition are expanded at compilation / generation. Subroutines (FORM) can be called from both the program the are defined in and other programs . A MACRO is more or less an abbreviation for some lines of code that are used more than once or twice. A FORM is a local subroutine (which can be called external). A FUNCTION is (more or less) a subroutine that is called external. Since debugging a MACRO is not really possible, prevent the use of them (I&amp;#146;ve never used them, but seen them in action). If the subroutine is used only local (called internal) use a FORM. If the subroutine is called external (used by more than one program) use a FUNCTION.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Dec 2007 16:55:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-macro-subroutine/m-p/3179727#M756974</guid>
      <dc:creator>former_member156446</dc:creator>
      <dc:date>2007-12-19T16:55:37Z</dc:date>
    </item>
    <item>
      <title>Re: Difference between MACRO &amp; SUBROUTINE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-macro-subroutine/m-p/3179728#M756975</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Amruth,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Macro&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Macros can only be used in the program that are defined in and only after the definition are expanded at compilation/generation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*Subroutine *&lt;/P&gt;&lt;P&gt;Subroutines (FORM) can be called from both the program that are defined in &amp;amp; other programs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A MACRO is more or less an abbrevation for some lines of code that are used more than once or twice.&lt;/P&gt;&lt;P&gt;A FORM is a local subroutine(which can be called external). A FUNCTION is(more or less) a subroutine that is called external.&lt;/P&gt;&lt;P&gt;Since debugging a MACRO is not really possbile, prevent the use if them(I've never used them, but seen them in action).&lt;/P&gt;&lt;P&gt;If the subroutine is used only local(called internal) use FORM. If the subroutine is called external(used by more than one program) use a FUNCTION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Chandru&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Dec 2007 16:56:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-macro-subroutine/m-p/3179728#M756975</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-19T16:56:49Z</dc:date>
    </item>
    <item>
      <title>Re: Difference between MACRO &amp; SUBROUTINE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-macro-subroutine/m-p/3179729#M756976</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There are macros which are defined globally - specifically in the HR module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;matt&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Dec 2007 17:19:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-macro-subroutine/m-p/3179729#M756976</guid>
      <dc:creator>matt</dc:creator>
      <dc:date>2007-12-19T17:19:40Z</dc:date>
    </item>
  </channel>
</rss>

