<?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 Fetching reversal document Created using FB60 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/fetching-reversal-document-created-using-fb60/m-p/6906530#M1482233</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;I have created an invoice using FB60 and reversed the same which is getting stored in RBKP table i have an existing code which returns the invoice reversed using created using mir0 the select query is as below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT lifnr xblnr bldat cputm  FROM rbkp     INTO TABLE i_reversal&lt;/P&gt;&lt;P&gt;           FOR ALL ENTRIES IN i_an_ven&lt;/P&gt;&lt;P&gt;           WHERE lifnr = i_an_ven-lifnr AND&lt;/P&gt;&lt;P&gt;                 bukrs = i_an_ven-bukrs AND&lt;/P&gt;&lt;P&gt;                 cpudt &amp;gt;= date_in AND&lt;/P&gt;&lt;P&gt;                 cputm &amp;gt;= time_in AND&lt;/P&gt;&lt;P&gt;                 stblg &amp;lt;&amp;gt; ' '.&lt;/P&gt;&lt;P&gt;I now want to fetch reverse document created using FB60 which is stored in table BKPF&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can any one let me know condition what i should apply to fetch the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OR the outline would be helpful&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 26 Apr 2010 05:18:44 GMT</pubDate>
    <dc:creator>former_member224405</dc:creator>
    <dc:date>2010-04-26T05:18:44Z</dc:date>
    <item>
      <title>Fetching reversal document Created using FB60</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fetching-reversal-document-created-using-fb60/m-p/6906530#M1482233</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;I have created an invoice using FB60 and reversed the same which is getting stored in RBKP table i have an existing code which returns the invoice reversed using created using mir0 the select query is as below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT lifnr xblnr bldat cputm  FROM rbkp     INTO TABLE i_reversal&lt;/P&gt;&lt;P&gt;           FOR ALL ENTRIES IN i_an_ven&lt;/P&gt;&lt;P&gt;           WHERE lifnr = i_an_ven-lifnr AND&lt;/P&gt;&lt;P&gt;                 bukrs = i_an_ven-bukrs AND&lt;/P&gt;&lt;P&gt;                 cpudt &amp;gt;= date_in AND&lt;/P&gt;&lt;P&gt;                 cputm &amp;gt;= time_in AND&lt;/P&gt;&lt;P&gt;                 stblg &amp;lt;&amp;gt; ' '.&lt;/P&gt;&lt;P&gt;I now want to fetch reverse document created using FB60 which is stored in table BKPF&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can any one let me know condition what i should apply to fetch the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OR the outline would be helpful&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Apr 2010 05:18:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fetching-reversal-document-created-using-fb60/m-p/6906530#M1482233</guid>
      <dc:creator>former_member224405</dc:creator>
      <dc:date>2010-04-26T05:18:44Z</dc:date>
    </item>
    <item>
      <title>Re: Fetching reversal document Created using FB60</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fetching-reversal-document-created-using-fb60/m-p/6906531#M1482234</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check the field BSTAT = 'B' in BKPF.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Apr 2010 05:29:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fetching-reversal-document-created-using-fb60/m-p/6906531#M1482234</guid>
      <dc:creator>Sandeep_Panghal</dc:creator>
      <dc:date>2010-04-26T05:29:19Z</dc:date>
    </item>
  </channel>
</rss>

