<?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: Provide statement in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/provide-statement/m-p/1061349#M91968</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;RP_PROVIDE_FROM_LAST can only be used to select 1 infotype (i.e. &lt;/P&gt;&lt;P&gt;table record) at a time. It uses the selection dates specified and &lt;/P&gt;&lt;P&gt;returns the correct record for those dates.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 24 Nov 2005 06:44:24 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2005-11-24T06:44:24Z</dc:date>
    <item>
      <title>Provide statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/provide-statement/m-p/1061348#M91967</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I need to get more information on RP-PROVIDE-FROM-LAST  .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Nov 2005 06:39:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/provide-statement/m-p/1061348#M91967</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-24T06:39:46Z</dc:date>
    </item>
    <item>
      <title>Re: Provide statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/provide-statement/m-p/1061349#M91968</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;RP_PROVIDE_FROM_LAST can only be used to select 1 infotype (i.e. &lt;/P&gt;&lt;P&gt;table record) at a time. It uses the selection dates specified and &lt;/P&gt;&lt;P&gt;returns the correct record for those dates.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Nov 2005 06:44:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/provide-statement/m-p/1061349#M91968</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-24T06:44:24Z</dc:date>
    </item>
    <item>
      <title>Re: Provide statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/provide-statement/m-p/1061350#M91969</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The macro RP_PROVIDE_FROM_LAST is used to&lt;/P&gt;&lt;P&gt;retrieve the last entry of the current period in the table header entry from an internal&lt;/P&gt;&lt;P&gt;infotype table (here p0001 and p0002).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rp_provide_from_last p0032 space from-date to-date will return the last record of infty 32 valid between from-date and to-date, rp_provide_from_frst the first.&lt;/P&gt;&lt;P&gt;You might want to check whether reading was successful, to do so use pnp-sw-found (pnp-sw-found = '1' means reading was successful.)&lt;/P&gt;&lt;P&gt;Please note, that the macros will only provide data, that has been selected by the logical database pnp before, so if you make restrictions regarding validity date on the selection-screen of pnp.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Nov 2005 06:47:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/provide-statement/m-p/1061350#M91969</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-24T06:47:12Z</dc:date>
    </item>
    <item>
      <title>Re: Provide statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/provide-statement/m-p/1061351#M91970</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jayasree,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is a predifined Macro, RP-PROVIDE-FROM-LAST is used to get required record into the header line of the internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You need to pass the follwing Parameters to this Macro.&lt;/P&gt;&lt;P&gt;Subtype: If the Infotype has any subtypes, pass the required subtype.  Else pass SPACE as the Subtype.&lt;/P&gt;&lt;P&gt;PN-BEGDA and PN-ENDDA are the dates selected on the selection screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Say you need to get the latest record from Infotype 0000&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RP-PROVIDE-FROM-LAST P0000 SPACE PN-BEGDA PN-ENDDA.&lt;/P&gt;&lt;P&gt;If PNP-SW-F0UND = 1.&lt;/P&gt;&lt;P&gt;*--Atleast one record found&lt;/P&gt;&lt;P&gt;Move P0000 to your Final Internal table.&lt;/P&gt;&lt;P&gt;Endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope you r cleared with the Provide Statement.&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;&lt;/P&gt;&lt;P&gt;Sudhakar.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Nov 2005 06:49:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/provide-statement/m-p/1061351#M91970</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-24T06:49:51Z</dc:date>
    </item>
  </channel>
</rss>

