<?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 macro help in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/macro-help/m-p/2000035#M407004</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hallow &lt;/P&gt;&lt;P&gt; i wonder if some one now about macro that bring al the data he find in table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ex. rp_provide_from_last &lt;/P&gt;&lt;P&gt;bring just the last data thet he find in table &lt;/P&gt;&lt;P&gt;i wont macro that bring all the data&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 21 Mar 2007 14:28:49 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-03-21T14:28:49Z</dc:date>
    <item>
      <title>macro help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/macro-help/m-p/2000035#M407004</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hallow &lt;/P&gt;&lt;P&gt; i wonder if some one now about macro that bring al the data he find in table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ex. rp_provide_from_last &lt;/P&gt;&lt;P&gt;bring just the last data thet he find in table &lt;/P&gt;&lt;P&gt;i wont macro that bring all the data&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Mar 2007 14:28:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/macro-help/m-p/2000035#M407004</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-21T14:28:49Z</dc:date>
    </item>
    <item>
      <title>Re: macro help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/macro-help/m-p/2000036#M407005</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Antonio,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RP_PROVIDE_FROM_LAST macro will give the last value in the infotype for the given BEGDA and ENDDA. &lt;/P&gt;&lt;P&gt;Instead perhaps you can do something like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
...

DATA: BEGIN OF i_tab1,
        pernr like pa0105-pernr,
        usrid like pa0105-usrid,
        abkrs like pa0001-abkrs,
        plans like pa0001-plans,
        agr_name like agr_users-agr_name,
END OF i_tab1.


GET pernr.

PROVIDE * FROM p0105 BETWEEN 01011900 AND 12319999.
MOVE-CORRESPONDING p0105 TO i_tab1.
ENDPROVIDE.

...
&lt;/CODE&gt;&lt;/PRE&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, 21 Mar 2007 14:35:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/macro-help/m-p/2000036#M407005</guid>
      <dc:creator>ferry_lianto</dc:creator>
      <dc:date>2007-03-21T14:35:27Z</dc:date>
    </item>
    <item>
      <title>Re: macro help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/macro-help/m-p/2000037#M407006</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;or you can simply use the loop at..&lt;/P&gt;&lt;P&gt;for intotype 0001, I would use&lt;/P&gt;&lt;P&gt;get pernr&lt;/P&gt;&lt;P&gt;clear p0001.&lt;/P&gt;&lt;P&gt;loop at p0001.&lt;/P&gt;&lt;P&gt;**&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;end-of-selection.&lt;/P&gt;&lt;P&gt;~Suresh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Mar 2007 14:45:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/macro-help/m-p/2000037#M407006</guid>
      <dc:creator>suresh_datti</dc:creator>
      <dc:date>2007-03-21T14:45:27Z</dc:date>
    </item>
  </channel>
</rss>

