<?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: report in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/report/m-p/2907984#M684167</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ritu,&lt;/P&gt;&lt;P&gt;try it like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tables: bkpf, bseg.&lt;/P&gt;&lt;P&gt;select-options: budat for bkpf-budat.&lt;/P&gt;&lt;P&gt;select * from bkpf where budat between '20070820' and '20071020'.&lt;/P&gt;&lt;P&gt;select * from bseg where belnr = bkpf-belnr.&lt;/P&gt;&lt;P&gt;write:/ bkpf-belnr, bkpf-budat,20 bkpf-blart,30 bseg-bschl,40 bseg-hkont.&lt;/P&gt;&lt;P&gt;endselect.&lt;/P&gt;&lt;P&gt;endselect.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, Dieter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 18 Oct 2007 07:44:39 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-10-18T07:44:39Z</dc:date>
    <item>
      <title>report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/report/m-p/2907981#M684164</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;sir &lt;/P&gt;&lt;P&gt;i correct my query but it is not give correct  answer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ables: bkpf, bseg.&lt;/P&gt;&lt;P&gt;select-options: budat for bkpf-budat.&lt;/P&gt;&lt;P&gt;select * from bkpf into bkpf where budat between '20070820' and '20071020'.&lt;/P&gt;&lt;P&gt;select * from bseg.&lt;/P&gt;&lt;P&gt;write:/, bkpf-budat,20 bkpf-blart,30 bseg-bschl,40 bseg-hkont.&lt;/P&gt;&lt;P&gt;endselect.&lt;/P&gt;&lt;P&gt;endselect.&lt;/P&gt;&lt;P&gt;ritu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Oct 2007 07:34:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/report/m-p/2907981#M684164</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-18T07:34:05Z</dc:date>
    </item>
    <item>
      <title>Re: report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/report/m-p/2907982#M684165</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I got a list. Try to optimize your selection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tables: bkpf, bseg.&lt;/P&gt;&lt;P&gt;select-options: budat for bkpf-budat.&lt;/P&gt;&lt;P&gt;select * from bkpf where budat in budat.&lt;/P&gt;&lt;P&gt;select * from bseg where belnr eq bfkp-belnr.&lt;/P&gt;&lt;P&gt;write:/, bkpf-budat,20 bkpf-blart,30 bseg-bschl,40 bseg-hkont.&lt;/P&gt;&lt;P&gt;endselect.&lt;/P&gt;&lt;P&gt;endselect.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Nicole&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Oct 2007 07:42:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/report/m-p/2907982#M684165</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-18T07:42:38Z</dc:date>
    </item>
    <item>
      <title>Re: report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/report/m-p/2907983#M684166</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Reetu..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why are u using the Nested SELECT statments.. It will give worst performance .&lt;/P&gt;&lt;P&gt;Better convert these queries using FOR ALL ENTRIES&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sample code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select-options: budat for bkpf-budat.&lt;/P&gt;&lt;P&gt;select * from bkpf into TABLE IT_bkpf where budat between '20070820' and '20071020'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If it_bkpf IS not initial.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select * from bseg into table IT_BSEG&lt;/P&gt;&lt;P&gt;FOR ALL ENTRIES IN IT_BKPF&lt;/P&gt;&lt;P&gt;WHERE &amp;lt;CONDITION OF COMMON FIELDS&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Endif.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if Helpful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Oct 2007 07:44:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/report/m-p/2907983#M684166</guid>
      <dc:creator>varma_narayana</dc:creator>
      <dc:date>2007-10-18T07:44:33Z</dc:date>
    </item>
    <item>
      <title>Re: report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/report/m-p/2907984#M684167</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ritu,&lt;/P&gt;&lt;P&gt;try it like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tables: bkpf, bseg.&lt;/P&gt;&lt;P&gt;select-options: budat for bkpf-budat.&lt;/P&gt;&lt;P&gt;select * from bkpf where budat between '20070820' and '20071020'.&lt;/P&gt;&lt;P&gt;select * from bseg where belnr = bkpf-belnr.&lt;/P&gt;&lt;P&gt;write:/ bkpf-belnr, bkpf-budat,20 bkpf-blart,30 bseg-bschl,40 bseg-hkont.&lt;/P&gt;&lt;P&gt;endselect.&lt;/P&gt;&lt;P&gt;endselect.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, Dieter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Oct 2007 07:44:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/report/m-p/2907984#M684167</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-18T07:44:39Z</dc:date>
    </item>
    <item>
      <title>Re: report</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/report/m-p/2907985#M684168</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ritu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select-options: budat for bkpf-budat.&lt;/P&gt;&lt;P&gt;select * from bkpf into TABLE IT_bkpf where budat between '20070820' and '20071020'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If not it_bkpf IS initial.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select * from bseg into table IT_BSEG&lt;/P&gt;&lt;P&gt;FOR ALL ENTRIES IN IT_BKPF&lt;/P&gt;&lt;P&gt;WHERE &amp;lt;CONDITION &amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Incase if u want to include these '20070820' and '20071020' dates also in the check then between will not work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;use this :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select * from bkpf into TABLE IT_bkpf where budat GE '20070820' and budat LE  '20071020'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if Useful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Chitra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Oct 2007 07:49:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/report/m-p/2907985#M684168</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-18T07:49:28Z</dc:date>
    </item>
  </channel>
</rss>

