<?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: macros in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/macros/m-p/2051058#M422773</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;9 only&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 06 Mar 2007 10:36:54 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-03-06T10:36:54Z</dc:date>
    <item>
      <title>macros</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/macros/m-p/2051053#M422768</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;in macros maximum of how many parameters we can pass?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Mar 2007 10:32:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/macros/m-p/2051053#M422768</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-06T10:32:21Z</dc:date>
    </item>
    <item>
      <title>Re: macros</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/macros/m-p/2051054#M422769</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt; Up to 9&lt;/P&gt;&lt;P&gt;Refer&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04s/helpdata/en/64/fe4efc8d9c4b1a83eec2bbb14ea213/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04s/helpdata/en/64/fe4efc8d9c4b1a83eec2bbb14ea213/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;Santosh&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Santosh Kumar Patha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Mar 2007 10:34:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/macros/m-p/2051054#M422769</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-06T10:34:23Z</dc:date>
    </item>
    <item>
      <title>Re: macros</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/macros/m-p/2051055#M422770</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;Upto 9&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;anji&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Mar 2007 10:35:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/macros/m-p/2051055#M422770</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-06T10:35:34Z</dc:date>
    </item>
    <item>
      <title>Re: macros</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/macros/m-p/2051056#M422771</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Within a macro, you can use up to nine placeholders &amp;amp;1 ... &amp;amp;9 instead of language elements and operands. These placeholders must be replaced by fixed words when the macro is inserted.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Mar 2007 10:35:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/macros/m-p/2051056#M422771</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-06T10:35:41Z</dc:date>
    </item>
    <item>
      <title>Re: macros</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/macros/m-p/2051057#M422772</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;We can pass 1 to 9  place holders in a Macro i.e maximum of 9 only&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;amp;1 to &amp;amp; 9&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards Rk&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Mar 2007 10:36:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/macros/m-p/2051057#M422772</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-06T10:36:01Z</dc:date>
    </item>
    <item>
      <title>Re: macros</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/macros/m-p/2051058#M422773</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;9 only&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Mar 2007 10:36:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/macros/m-p/2051058#M422773</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-06T10:36:54Z</dc:date>
    </item>
    <item>
      <title>Re: macros</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/macros/m-p/2051059#M422774</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Shweta,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At max u can pass 9 parameters.&lt;/P&gt;&lt;P&gt;Macros If you want to reuse the same set of statements more than once in a program, you can include them in a macro. For example, this can be useful for long calculations or complex WRITE statements. You can only use a macro within the program in which it is defined, and it can only be called in lines of the program following its definition. The following statement block defines a macro &amp;lt;macro&amp;gt;: DEFINE &amp;lt;macro&amp;gt;. &amp;lt;statements&amp;gt; END-OF-DEFINITION. You must specify complete statements between DEFINE and END-OF-DEFINITION. These statements can contain up to nine placeholders (&amp;amp;1, &amp;amp;2, ..., &amp;amp;9). You must define the macro before the point in the program at which you want to use it. Macros do not belong to the definition part of the program. This means that the DEFINE...END-OF-DEFINITION block is not interpreted before the processing blocks in the program. At the same time, however, macros are not operational statements that are executed within a processing block at runtime. When the program is generated, macro definitions are not taken into account at the point at which they are defined. For this reason, they do not appear in the overview of the structure of ABAP programs. A macro definition inserts a form of shortcut at any point in a program and can be used at any subsequent point in the program. As the programmer, you must ensure that the macro definition occurs in the program before the macro itself is used. Particular care is required if you use both macros and include programs, since not all include programs are included in the syntax check (exception: TOP include). To use a macro, use the following form: &amp;lt;macro&amp;gt; [&amp;lt;p1&amp;gt; &amp;lt;p2&amp;gt; ... &amp;lt;p9&amp;gt;]. When the program is generated, the system replaces &amp;lt;macro&amp;gt; by the defined statements and each placeholder &amp;amp;i by the parameter &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please look at the following documentation and examples on macros&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.builderau.com.au/news/soa/Unleash_the_power_of_macros_in_ABAP/0,339028227,320276178,00.htm" target="test_blank"&gt;http://www.builderau.com.au/news/soa/Unleash_the_power_of_macros_in_ABAP/0,339028227,320276178,00.htm&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Priyanka.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Mar 2007 10:36:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/macros/m-p/2051059#M422774</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-06T10:36:55Z</dc:date>
    </item>
  </channel>
</rss>

