<?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 FBL5n Copy in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/fbl5n-copy/m-p/6500575#M1421692</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Gurus.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have made a copy of fbl5n in open items. then i have called this copy from my report by this statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;SUBMIT zsnak_pending_submit
 WITH dd_kunnr IN kunnr
 WITH dd_bukrs EQ 'TPF'
 WITH pa_stida EQ budat
AND RETURN.

  CLEAR it_pos.
  IMPORT it_pos FROM MEMORY ID  'it_pos'.
  FREE MEMORY ID 'it_pos'.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i want my report to get the open items on two dates which is&lt;/P&gt;&lt;P&gt;1 which is entered in budat.&lt;/P&gt;&lt;P&gt;2 the last date of previous month.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;example if i have entered the date 30.11.2009 then the second date will be 31.10.2009.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the problem im facing is that im not getting the open items for the date on 31.10.2009.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can we use the submit query two times in the report?.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Saad Nisar.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 31 Dec 2009 09:43:21 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-12-31T09:43:21Z</dc:date>
    <item>
      <title>FBL5n Copy</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fbl5n-copy/m-p/6500575#M1421692</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Gurus.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have made a copy of fbl5n in open items. then i have called this copy from my report by this statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;SUBMIT zsnak_pending_submit
 WITH dd_kunnr IN kunnr
 WITH dd_bukrs EQ 'TPF'
 WITH pa_stida EQ budat
AND RETURN.

  CLEAR it_pos.
  IMPORT it_pos FROM MEMORY ID  'it_pos'.
  FREE MEMORY ID 'it_pos'.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i want my report to get the open items on two dates which is&lt;/P&gt;&lt;P&gt;1 which is entered in budat.&lt;/P&gt;&lt;P&gt;2 the last date of previous month.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;example if i have entered the date 30.11.2009 then the second date will be 31.10.2009.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the problem im facing is that im not getting the open items for the date on 31.10.2009.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can we use the submit query two times in the report?.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Saad Nisar.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Dec 2009 09:43:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fbl5n-copy/m-p/6500575#M1421692</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-12-31T09:43:21Z</dc:date>
    </item>
    <item>
      <title>Re: FBL5n Copy</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fbl5n-copy/m-p/6500576#M1421693</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Saad ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I dont understand why did you copied FBL5N ?? Just get the logic for getting open items ?&lt;/P&gt;&lt;P&gt;For that I dont see any need to copy the FBL5N. You can simply get the data from table BSID.&lt;/P&gt;&lt;P&gt;Now as far as logic for getting open items on a perticular date is concerned that you can get it from the field BUDAT of BSID.&lt;/P&gt;&lt;P&gt;To get the last date of previous month you can use FM RP_LAST_DAY_OF_MONTHS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please get back to me in case of you need more help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Nikhil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Dec 2009 09:59:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fbl5n-copy/m-p/6500576#M1421693</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-12-31T09:59:33Z</dc:date>
    </item>
  </channel>
</rss>

