<?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: Macro Doubt in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/macro-doubt/m-p/1932911#M386140</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;Macros can only be used in the program they are defined in and only after the definition are expanded at compilation/generation. A macro is more or less an abbreviation for some lines of code that are used more than once or twice. Since debugging a macro is not really possible, prevent the use of them.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Please check this link for more information on macro.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw2004s/helpdata/en/9f/db972835c111d1829f0000e829fbfe/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw2004s/helpdata/en/9f/db972835c111d1829f0000e829fbfe/frameset.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>Thu, 01 Mar 2007 16:33:41 GMT</pubDate>
    <dc:creator>ferry_lianto</dc:creator>
    <dc:date>2007-03-01T16:33:41Z</dc:date>
    <item>
      <title>Macro Doubt</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/macro-doubt/m-p/1932910#M386139</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;Please anyone can explain me about these three MACROs of functions i mean to say what these macros into , and how it will work , for what we will use this macros.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; these things i wanted to know&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rp_set_data_interval 'P0014' pn-begda pn-endda.&lt;/P&gt;&lt;P&gt;rp_provide_from_last p0001 space pn-begda pn-endda.&lt;/P&gt;&lt;P&gt; rp-read-t001p p0001-werks p0001-btrtl space.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in Advance&lt;/P&gt;&lt;P&gt;Sheethal.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Mar 2007 16:28:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/macro-doubt/m-p/1932910#M386139</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-01T16:28:33Z</dc:date>
    </item>
    <item>
      <title>Re: Macro Doubt</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/macro-doubt/m-p/1932911#M386140</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;Macros can only be used in the program they are defined in and only after the definition are expanded at compilation/generation. A macro is more or less an abbreviation for some lines of code that are used more than once or twice. Since debugging a macro is not really possible, prevent the use of them.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Please check this link for more information on macro.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw2004s/helpdata/en/9f/db972835c111d1829f0000e829fbfe/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw2004s/helpdata/en/9f/db972835c111d1829f0000e829fbfe/frameset.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>Thu, 01 Mar 2007 16:33:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/macro-doubt/m-p/1932911#M386140</guid>
      <dc:creator>ferry_lianto</dc:creator>
      <dc:date>2007-03-01T16:33:41Z</dc:date>
    </item>
    <item>
      <title>Re: Macro Doubt</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/macro-doubt/m-p/1932912#M386141</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;lt;b&amp;gt;rp_set_data_interval 'P0014' pn-begda pn-endda.&amp;lt;/b&amp;gt;It set the date period for the Infotype 0014 selection in the report to the dates mentioned in the macro.&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;rp_provide_from_last p0001 space pn-begda pn-endda.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;It retreives the latest record of Infotype 0001 between the date range pn-begda &amp;amp; pn-endda.&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;rp-read-t001p p0001-werks p0001-btrtl space.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;It reads the database table  t001p for the values Werks = p0001-werks &amp;amp; btrtl = p0001-btrtl.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;~Suresh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Mar 2007 16:34:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/macro-doubt/m-p/1932912#M386141</guid>
      <dc:creator>suresh_datti</dc:creator>
      <dc:date>2007-03-01T16:34:18Z</dc:date>
    </item>
    <item>
      <title>Re: Macro Doubt</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/macro-doubt/m-p/1932913#M386142</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;Are these macros are defined locally or in the table TRMAC??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check in the program for DEFINE rp_set_data_interval..where rp_set_data_interval is the macro defined in the program...'P0014' pn-begda pn-endda should be the parameters to the macro..You can check the code inside DEFINE..END-OF-DEFINITION..&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;Naren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Mar 2007 16:36:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/macro-doubt/m-p/1932913#M386142</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-01T16:36:34Z</dc:date>
    </item>
    <item>
      <title>Re: Macro Doubt</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/macro-doubt/m-p/1932914#M386143</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Some more info on Macros...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Macro contains some part of source code which will be useful for no.of applications. You can get the list of macros in the table TRMAC.&lt;/P&gt;&lt;P&gt;Whenever you are using the macros ,check whether you have included the relevant logical database in program attributes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Macros can also be defined as TRMAC macros. The source code of these modules is stored in the function section of the control table TRMAC. This code is grouped under a specific name in the table key. According to conventions, the first two letters of the name must stand for the application. The rest of the name is freely definable. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Customer-specific macro modules should begin with a special character. The macros defined in the control table TRMAC can be used by all reports.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Mar 2007 17:28:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/macro-doubt/m-p/1932914#M386143</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-01T17:28:46Z</dc:date>
    </item>
  </channel>
</rss>

