<?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 DB02 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/db02/m-p/9995972#M1803890</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Team,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In DB02 transaction, on clicking tab ' Missing Indexes ', i need to diplay the primary index and secondary index count in abap report. So can you let me know if ant function module available or any standard reports to get this counts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Gururaj.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 28 Jan 2014 10:32:25 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2014-01-28T10:32:25Z</dc:date>
    <item>
      <title>DB02</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/db02/m-p/9995972#M1803890</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Team,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In DB02 transaction, on clicking tab ' Missing Indexes ', i need to diplay the primary index and secondary index count in abap report. So can you let me know if ant function module available or any standard reports to get this counts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Gururaj.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jan 2014 10:32:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/db02/m-p/9995972#M1803890</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-01-28T10:32:25Z</dc:date>
    </item>
    <item>
      <title>Re: DB02</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/db02/m-p/9995973#M1803891</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Gururaj.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; For primary index: Table &lt;STRONG&gt;DD03L&lt;/STRONG&gt; &lt;STRONG&gt;(&lt;/STRONG&gt;Pass &lt;STRONG&gt;TABNAME&lt;/STRONG&gt; = table name and &lt;STRONG&gt;KEYFLAG&lt;/STRONG&gt; = 'X' to get the count)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; For secondary index: Table &lt;STRONG&gt;DD12V&lt;/STRONG&gt; (Pass &lt;STRONG&gt;SQLTAB&lt;/STRONG&gt; = table name to get the count)&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jan 2014 10:39:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/db02/m-p/9995973#M1803891</guid>
      <dc:creator>Arun_Prabhu_K</dc:creator>
      <dc:date>2014-01-28T10:39:29Z</dc:date>
    </item>
    <item>
      <title>Re: DB02</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/db02/m-p/9995974#M1803892</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;Looked at these tables DD03L and DD12V.&lt;/P&gt;&lt;P&gt;But if i check DB02 transaction and click the tab "Missing indexes", the counts are different.&lt;/P&gt;&lt;P&gt;Attached the screen shot for reference. Here Primary index is 0 and Secondary index is 3.&lt;/P&gt;&lt;P&gt;i want to display only these 3 names in my report and if i cross check this this object name in DD12V for secondary index, the ibject does not exist in the table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know how to get these counts.&lt;/P&gt;&lt;P&gt;&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;Gururaj.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jan 2014 11:17:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/db02/m-p/9995974#M1803892</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-01-28T11:17:23Z</dc:date>
    </item>
    <item>
      <title>Re: DB02</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/db02/m-p/9995975#M1803893</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Actually I am not used to &lt;STRONG&gt;DB02&lt;/STRONG&gt; tcode functionality.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;To get secondary index count of a table:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Just pass the table name to field &lt;STRONG&gt;SQLTAB&lt;/STRONG&gt; of table DD12V.&lt;/P&gt;&lt;P&gt;I am getting the records correctly.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jan 2014 11:31:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/db02/m-p/9995975#M1803893</guid>
      <dc:creator>Arun_Prabhu_K</dc:creator>
      <dc:date>2014-01-28T11:31:07Z</dc:date>
    </item>
    <item>
      <title>Re: DB02</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/db02/m-p/9995976#M1803894</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm not getting the counts correctly.&amp;nbsp; On clicking, 'Missing indexs, the counts for primary and secondary is different. Also i dont want to pass any table name specifically for field SQLTAB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyways thanks for support.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Gururaj.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jan 2014 12:04:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/db02/m-p/9995976#M1803894</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-01-28T12:04:23Z</dc:date>
    </item>
    <item>
      <title>Re: DB02</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/db02/m-p/9995977#M1803895</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could try to use native SQL commands, select from &lt;SPAN class="L0S52"&gt;&lt;A href="http://docs.oracle.com/cd/B19306_01/server.102/b14237/statviews_2105.htm"&gt;dba_tables&lt;/A&gt; &lt;SPAN class="L0S52"&gt;or &lt;A href="http://docs.oracle.com/cd/B19306_01/server.102/b14237/statviews_1069.htm"&gt;dba_indexes&lt;/A&gt;&lt;/SPAN&gt;&lt;/SPAN&gt; (After an &lt;A href="http://docs.oracle.com/cd/E11882_01/server.112/e41084/statements_4005.htm#SQLRF01105"&gt;analyze statement&lt;/A&gt;) Either use &lt;A href="http://help.sap.com/abapdocu_731/en/abennativesql.htm"&gt;native SQL&lt;/A&gt; or an ADBC class &lt;A href="http://help.sap.com/abapdocu_702/en/abenadbc.htm"&gt;CL_SQL*&lt;/A&gt;. Then cross the result with SAP ddic table like DD02L or DD12L.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raymond&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jan 2014 12:24:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/db02/m-p/9995977#M1803895</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2014-01-28T12:24:37Z</dc:date>
    </item>
  </channel>
</rss>

