<?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: Create new index in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-new-index/m-p/1234317#M140255</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alia,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Path: SE11 -&amp;gt; Enter table name -&amp;gt; Display -&amp;gt; Indexes.&lt;/P&gt;&lt;P&gt;and follow this link which will show you step by step.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/cf/21eb47446011d189700000e8322d00/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/cf/21eb47446011d189700000e8322d00/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ferry Lianto&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 06 Apr 2006 02:18:48 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-04-06T02:18:48Z</dc:date>
    <item>
      <title>Create new index</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-new-index/m-p/1234314#M140252</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;How to create new index in table vbfa? and how to use this new index in select statement? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have problem in tuning performance for some reports and SAP has recommended us to create new index. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks alots&lt;/P&gt;&lt;P&gt;Alia&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Apr 2006 01:45:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-new-index/m-p/1234314#M140252</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-06T01:45:58Z</dc:date>
    </item>
    <item>
      <title>Re: Create new index</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-new-index/m-p/1234315#M140253</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can create your index via SE11, enter the table name, click change, choose Go To, Indexes.  Here create your index with the key fields that you want.  To use the index, your select statement WHERE clause, you must have the key fields of the index in the order that they appear in the index.  The "optimizer" will choose the index depending on your fields of the WHERE clause.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One thing to remember is that when you create indexes for tables, the update or insert of these tables may have a slower response then before,  I for one have never seen a big problem as of yet.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Apr 2006 01:49:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-new-index/m-p/1234315#M140253</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2006-04-06T01:49:58Z</dc:date>
    </item>
    <item>
      <title>Re: Create new index</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-new-index/m-p/1234316#M140254</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Alia,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can create index from SE11.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Few Imp points :&lt;/P&gt;&lt;P&gt;1 ) For an index to create , You have the necessary user authorizations and the user attribute NOT EXCLUSIVE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) Indexes provide access to the table data using non-key columns plus If duplicate keys have already been inserted in the table, it is no longer possible to create the index. You must identify the incorrect keys and delete them. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3) Having Multiple index on the same table will also effect the performance.&lt;/P&gt;&lt;P&gt;   You can create your own index also keeping in mind the above points.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check this may also help you&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/cf/21f0f0446011d189700000e8322d00/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/cf/21f0f0446011d189700000e8322d00/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;Sunny&lt;/P&gt;&lt;P&gt;Rewrd points, if found helpful&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Apr 2006 02:08:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-new-index/m-p/1234316#M140254</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-06T02:08:27Z</dc:date>
    </item>
    <item>
      <title>Re: Create new index</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-new-index/m-p/1234317#M140255</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alia,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Path: SE11 -&amp;gt; Enter table name -&amp;gt; Display -&amp;gt; Indexes.&lt;/P&gt;&lt;P&gt;and follow this link which will show you step by step.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/cf/21eb47446011d189700000e8322d00/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/cf/21eb47446011d189700000e8322d00/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ferry Lianto&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Apr 2006 02:18:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-new-index/m-p/1234317#M140255</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-06T02:18:48Z</dc:date>
    </item>
    <item>
      <title>Re: Create new index</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-new-index/m-p/1234318#M140256</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;Thanks a lot for the input. One question again that I am unclear. Report from SAP told us that : 'DB response time is OK and Total response time is high due to high wait time'. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What does it mean? I thought we are just concerned in DB response time when we want to tune program. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Alia&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Apr 2006 02:26:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-new-index/m-p/1234318#M140256</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-06T02:26:32Z</dc:date>
    </item>
    <item>
      <title>Re: Create new index</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-new-index/m-p/1234319#M140257</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe that means, that the execution of the statement isn't bad, but the system load prevents it from being executed in a timely fashion.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please make sure to award points for any helpful answers that you may received and mark as solved when solved completely.  Thanks.&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;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Apr 2006 02:32:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-new-index/m-p/1234319#M140257</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2006-04-06T02:32:18Z</dc:date>
    </item>
    <item>
      <title>Re: Create new index</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-new-index/m-p/1234320#M140258</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'd like to see what sort of select you're doing. Could you paste your code?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did OSS recommend the new index?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Apr 2006 02:53:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-new-index/m-p/1234320#M140258</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-06T02:53:58Z</dc:date>
    </item>
    <item>
      <title>Re: Create new index</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-new-index/m-p/1234321#M140259</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rob. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes they recommend us to create new index and following is the code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT vbelv posnv vbeln posnn vbtyp_n vbtyp_v &lt;/P&gt;&lt;P&gt;INTO TABLE i_vbfa2 FROM vbfa&lt;/P&gt;&lt;P&gt;FOR ALL ENTRIES IN i_data WHERE vbeln = i_data-vbeln AND posnn = i_data-posnr AND vbtyp_v = 'M'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alia&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Apr 2006 03:11:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-new-index/m-p/1234321#M140259</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-06T03:11:54Z</dc:date>
    </item>
    <item>
      <title>Re: Create new index</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-new-index/m-p/1234322#M140260</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Before creating an index, have a look at OSS note 185530.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Apr 2006 03:13:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-new-index/m-p/1234322#M140260</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-06T03:13:01Z</dc:date>
    </item>
    <item>
      <title>Re: Create new index</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-new-index/m-p/1234323#M140261</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It looks like your trying to retrieve invoice documents. Is that correct?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Apr 2006 03:24:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-new-index/m-p/1234323#M140261</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-06T03:24:57Z</dc:date>
    </item>
    <item>
      <title>Re: Create new index</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-new-index/m-p/1234324#M140262</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes you are right. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alia&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Apr 2006 03:31:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-new-index/m-p/1234324#M140262</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-06T03:31:45Z</dc:date>
    </item>
    <item>
      <title>Re: Create new index</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-new-index/m-p/1234325#M140263</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Couldn't you look at the invoices to determine what the reference document is?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Apr 2006 03:35:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-new-index/m-p/1234325#M140263</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-06T03:35:21Z</dc:date>
    </item>
    <item>
      <title>Re: Create new index</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-new-index/m-p/1234326#M140264</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rob. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to get invoice no based on sales order so the ref.doc is sales order. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there something wrong with the select?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;Alia&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Apr 2006 04:12:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-new-index/m-p/1234326#M140264</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-06T04:12:56Z</dc:date>
    </item>
    <item>
      <title>Re: Create new index</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-new-index/m-p/1234327#M140265</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's been quite a while since I looked at SD, but if you need the sales document based on the billing document, I think you should be selecting from VBRP, not VBFA. If you need the billing document based on the sales document, then yes, you should look at VBFA but selecting on VBELV not VBELN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You should always try to avoid adding an index to an SAP table - particulary ones like VBFA. It's an extremely large table and in addition to slowing down update processes, the index will take up a large portion of the table space for the table. So, you would also have to talk to your DBAs about this and see if they have anything to say about it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Apr 2006 13:40:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-new-index/m-p/1234327#M140265</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-06T13:40:31Z</dc:date>
    </item>
    <item>
      <title>Re: Create new index</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-new-index/m-p/1234328#M140266</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rob,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have talked to the DBA guy and they ask me to go ahead what SAP recommended to us. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Question again, If I have two indexes (for eq: Z01 and Z02), how to use the index Z02 in SQL statement? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you&lt;/P&gt;&lt;P&gt;Alia&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Apr 2006 08:12:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-new-index/m-p/1234328#M140266</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-07T08:12:17Z</dc:date>
    </item>
    <item>
      <title>Re: Create new index</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-new-index/m-p/1234329#M140267</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Alia,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;U can use the following option....&lt;/P&gt;&lt;P&gt;SELECT  x y z &lt;/P&gt;&lt;P&gt;INTO TABLE i_tab &lt;/P&gt;&lt;P&gt;FROM ZXYZ&lt;/P&gt;&lt;P&gt;WHERE abc = w_setclass &lt;/P&gt;&lt;P&gt;AND   def = w_setname &lt;/P&gt;&lt;P&gt;%_HINTS ORACLE 'INDEX("&amp;amp;TABLE&amp;amp;" "SETHEADER" "SETHEADER~2")'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Look at the SAP note 129385.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Apr 2006 09:35:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-new-index/m-p/1234329#M140267</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-07T09:35:08Z</dc:date>
    </item>
    <item>
      <title>Re: Create new index</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-new-index/m-p/1234330#M140268</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your database will decide the best index to use based on the select statement and the number of records. It's best not to use hints in a production environment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Apr 2006 13:32:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-new-index/m-p/1234330#M140268</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-07T13:32:30Z</dc:date>
    </item>
  </channel>
</rss>

