<?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 Orders by VDATU in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/orders-by-vdatu/m-p/8779452#M1678175</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a select-option for VBAK-VDATU.&amp;nbsp; I want to simply get all the orders that have a certain range for the requested delivery date.&amp;nbsp; Doing a simple (SELECT vbeln FROM vbak WHERE vdatu IN rvdatu) is really slow.&amp;nbsp; Does anyone know of a faster way to get this (either it be a view, etc.) without adding an index to VBAK?&amp;nbsp; I've looked for quite some time, and just can't find anything.&amp;nbsp; Any help would be appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CD&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 01 Jun 2012 17:58:50 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2012-06-01T17:58:50Z</dc:date>
    <item>
      <title>Orders by VDATU</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/orders-by-vdatu/m-p/8779452#M1678175</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a select-option for VBAK-VDATU.&amp;nbsp; I want to simply get all the orders that have a certain range for the requested delivery date.&amp;nbsp; Doing a simple (SELECT vbeln FROM vbak WHERE vdatu IN rvdatu) is really slow.&amp;nbsp; Does anyone know of a faster way to get this (either it be a view, etc.) without adding an index to VBAK?&amp;nbsp; I've looked for quite some time, and just can't find anything.&amp;nbsp; Any help would be appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CD&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Jun 2012 17:58:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/orders-by-vdatu/m-p/8779452#M1678175</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-06-01T17:58:50Z</dc:date>
    </item>
    <item>
      <title>Re: Orders by VDATU</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/orders-by-vdatu/m-p/8779453#M1678176</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Read &lt;STRONG&gt;SAP Note 185530 &lt;/STRONG&gt;for how to do efficient data retrieval for reporting for SD.&amp;nbsp; It contains references to SAP's proprietary index tables.&amp;nbsp; Use of these, or the search help tables or views, can be utilized for very rapid retrieval of orders, deliveries, etc.&amp;nbsp; IMHO, any new SD/LE report should begin with a review of 185530 for possible data sources....Once you have a pick list from these tables, or perhaps a join, you can proceed to populate the remaining data easily.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would always advise against adding indices to SD&amp;nbsp; tables, because of the sheer number of other data sources that can be joined to these tables.&amp;nbsp; Pick the VDATU field in VBAK, do a where used for views, match codes, etc..&amp;nbsp; You'll get back a useable list of options, but also check 185530.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Jun 2012 20:15:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/orders-by-vdatu/m-p/8779453#M1678176</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-06-01T20:15:52Z</dc:date>
    </item>
    <item>
      <title>Re: Orders by VDATU</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/orders-by-vdatu/m-p/8779454#M1678177</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for the reply.&amp;nbsp; I looked at the tables and it did help me in some other projects, but I couldn't find a good place to search via VDATU there.&amp;nbsp; However, there was a Z-table that another coder made awhile back that did have VDATU indexed.&amp;nbsp; Even though it's not an efficient way of doing things, it fits what I need.&amp;nbsp; Thanks again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CD&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Jun 2012 14:15:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/orders-by-vdatu/m-p/8779454#M1678177</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-06-15T14:15:10Z</dc:date>
    </item>
  </channel>
</rss>

