<?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: HR Macros in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/hr-macros/m-p/4124187#M986037</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;Like subroutines and function modules, macro modules can be used to modularize programs. Macro modules are frequently used in HR.&lt;/P&gt;&lt;P&gt;These macros are defined in program SAPDBPNP (include DBPNPMAC) with the keyword DEFINE. They can be used in any program that uses the logical database PNP.&lt;/P&gt;&lt;P&gt;If you want to use these macros in reports that do not use the logical database PNP, you must include program DBPNPMAC with the keyword INCLUDE. &lt;/P&gt;&lt;P&gt;You can also define your own macros. In accordance with the naming convention, the first two letters stand for the application. &lt;/P&gt;&lt;P&gt;Some macros are also stored in the Macros in ABAP Programs table (TRMAC)&lt;/P&gt;&lt;P&gt;Example of Macros are &lt;/P&gt;&lt;P&gt;RP_PROVIDE_FROM_LAST which is available in the include DBPNPMAC&lt;/P&gt;&lt;P&gt;RP-PROVIDE-FROM-FRST which is available in table TRMAC&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, 27 Jun 2008 05:31:38 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-06-27T05:31:38Z</dc:date>
    <item>
      <title>HR Macros</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hr-macros/m-p/4124186#M986036</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;&lt;/P&gt;&lt;P&gt;Anyone have some idea on HR Macros. What statements &lt;/P&gt;&lt;P&gt;are used for it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;suggest.&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;Sanket sethi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jun 2008 05:29:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hr-macros/m-p/4124186#M986036</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-27T05:29:32Z</dc:date>
    </item>
    <item>
      <title>Re: HR Macros</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hr-macros/m-p/4124187#M986037</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;Like subroutines and function modules, macro modules can be used to modularize programs. Macro modules are frequently used in HR.&lt;/P&gt;&lt;P&gt;These macros are defined in program SAPDBPNP (include DBPNPMAC) with the keyword DEFINE. They can be used in any program that uses the logical database PNP.&lt;/P&gt;&lt;P&gt;If you want to use these macros in reports that do not use the logical database PNP, you must include program DBPNPMAC with the keyword INCLUDE. &lt;/P&gt;&lt;P&gt;You can also define your own macros. In accordance with the naming convention, the first two letters stand for the application. &lt;/P&gt;&lt;P&gt;Some macros are also stored in the Macros in ABAP Programs table (TRMAC)&lt;/P&gt;&lt;P&gt;Example of Macros are &lt;/P&gt;&lt;P&gt;RP_PROVIDE_FROM_LAST which is available in the include DBPNPMAC&lt;/P&gt;&lt;P&gt;RP-PROVIDE-FROM-FRST which is available in table TRMAC&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, 27 Jun 2008 05:31:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hr-macros/m-p/4124187#M986037</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-27T05:31:38Z</dc:date>
    </item>
    <item>
      <title>Re: HR Macros</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hr-macros/m-p/4124188#M986038</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sanket,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Macro Modules&lt;/STRONG&gt;   &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Definition&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;An module that can be called within an ABAP program. &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Use&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Like subprograms and function modules, macro modules are a means of presenting programs in modular form. Macro modules (macros) are used often in the Human Resources application component (HR).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Defining and Calling Modules&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Two options are provided:&lt;/P&gt;&lt;P&gt;u2022	Macros can be defined in reports or includes using the ABAP command DEFINE. A macro can be used within a report or within an include. If a macro is used in a report, and the macro is defined in an include with the DEFINE command, the include must be integrated.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Macros have the following advantages:&lt;/STRONG&gt; &lt;/P&gt;&lt;P&gt;If a macro is changed, each report using this macro is automatically regenerated when it is executed.&lt;/P&gt;&lt;P&gt;u2022	Macros can also be defined as RMAC macros. The source code of these modules is stored in the function section of the control table TRMAC (Macros in ABAP Programs). The coding is grouped under a specific name in the table key.&lt;/P&gt;&lt;P&gt;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 RMAC modules should begin with a special character.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;The macros defined in the control table TRMAC can be used by all reports.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;When you change a RMAC macro in the &lt;STRONG&gt;table TRMAC,&lt;/STRONG&gt; the reports that use this macro are not regenerated automatically. You must regenerate them manually.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Some of thr Macros are...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;RP-APP-DEL-RECTK ---&amp;gt;  DEL MATCHCODE FOR RECURRING TASK

RP-APP-GET-RECTK  ---&amp;gt; GET MATCHCODE FOR RECURRING TASK

RP-CHECK-PASSWORD  ---&amp;gt; PASSWORD CHECK

RP-APP-VALID-STATUS  ---&amp;gt;  VALID STATUS of applicant

RP-SEL-APP-INIT   ---&amp;gt;  APPLICANT IN PROCESSING&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;raam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jun 2008 05:34:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hr-macros/m-p/4124188#M986038</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-27T05:34:28Z</dc:date>
    </item>
    <item>
      <title>Re: HR Macros</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hr-macros/m-p/4124189#M986039</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;  Refer&lt;/P&gt;&lt;P&gt;&lt;A href="https://forums.sdn.sap.com/click.jspa?searchID=13398210&amp;amp;messageID=3409763" target="test_blank"&gt;https://forums.sdn.sap.com/click.jspa?searchID=13398210&amp;amp;messageID=3409763&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;Kiran Sure&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jun 2008 05:38:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hr-macros/m-p/4124189#M986039</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-27T05:38:52Z</dc:date>
    </item>
  </channel>
</rss>

