<?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 Indexname in Database in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/indexname-in-database/m-p/8612392#M1663255</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;creating an index on a table will result in nameschema like tablename~inx where inx is the three letter name you enter in SE11(Indexes).But: the indexname for the index in the database is limited in the dictionary to 18 chars. So some truncation occurs, eg the index Z10 on table ZSD_RU_CUSTOMLOG will result in ZSD_RU_CUSTOMLOGZ1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I thought the indexname in the database is stored in table DD12L in field DBINDEX, but in this case this field is blank? The index exists for sure and SE11  stated Index ZSD_RU_CUSTOMLOGZ1 exists in database system ORACLE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So where is this information stored? Unfortunetly, pressing F1 and F4 does not reveal any information where this comes from.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 24 Feb 2012 08:49:33 GMT</pubDate>
    <dc:creator>rainer_hbenthal</dc:creator>
    <dc:date>2012-02-24T08:49:33Z</dc:date>
    <item>
      <title>Indexname in Database</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/indexname-in-database/m-p/8612392#M1663255</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;creating an index on a table will result in nameschema like tablename~inx where inx is the three letter name you enter in SE11(Indexes).But: the indexname for the index in the database is limited in the dictionary to 18 chars. So some truncation occurs, eg the index Z10 on table ZSD_RU_CUSTOMLOG will result in ZSD_RU_CUSTOMLOGZ1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I thought the indexname in the database is stored in table DD12L in field DBINDEX, but in this case this field is blank? The index exists for sure and SE11  stated Index ZSD_RU_CUSTOMLOGZ1 exists in database system ORACLE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So where is this information stored? Unfortunetly, pressing F1 and F4 does not reveal any information where this comes from.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Feb 2012 08:49:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/indexname-in-database/m-p/8612392#M1663255</guid>
      <dc:creator>rainer_hbenthal</dc:creator>
      <dc:date>2012-02-24T08:49:33Z</dc:date>
    </item>
    <item>
      <title>Re: Indexname in Database</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/indexname-in-database/m-p/8612393#M1663256</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I found this in MSGTBF01:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;" AW: Manche generierte Indizes haben das Feld DD12V-DBINDEX
        " nicht gepflegt. &amp;gt;&amp;gt; Falls dies der Fall ist: bestimme
        "                                             Indexname neu.

        call function 'DD_INDEX_NAME'
             exporting
                  indexname = dd12v-indexname
                  tabname   = dd12v-sqltab
             importing
                  dbindex   = dd12v-dbindex.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So you would need to call this function to determine the name in case DD12L-DBINDEX is empty.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Feb 2012 09:11:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/indexname-in-database/m-p/8612393#M1663256</guid>
      <dc:creator>ThomasZloch</dc:creator>
      <dc:date>2012-02-24T09:11:52Z</dc:date>
    </item>
    <item>
      <title>Re: Indexname in Database</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/indexname-in-database/m-p/8612394#M1663257</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The logic lies inside the fm DD_LIST_INDEX &amp;amp; DB_GET_INDEXES. Place a debug point and check it&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Feb 2012 09:26:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/indexname-in-database/m-p/8612394#M1663257</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2012-02-24T09:26:51Z</dc:date>
    </item>
    <item>
      <title>Re: Indexname in Database</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/indexname-in-database/m-p/8612395#M1663258</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Brrrr, SAP Coding... data: sections inside an if-statement &lt;SPAN __jive_emoticon_name="sad"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Feb 2012 09:53:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/indexname-in-database/m-p/8612395#M1663258</guid>
      <dc:creator>rainer_hbenthal</dc:creator>
      <dc:date>2012-02-24T09:53:58Z</dc:date>
    </item>
    <item>
      <title>Re: Indexname in Database</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/indexname-in-database/m-p/8612396#M1663259</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Little late to reply, just to share the way the text "Index ZSD_RU_CUSTOMLOGZ1 exists in database system ORACLE" in SE11 is determined.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;If length of concatenated value of TABLENAME and INDEXNAME &amp;gt; 15&lt;/P&gt;&lt;P&gt; concatenate [tablename] [indexname] to [dbindex name variable] (of length 18).&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In your case, table length is already 16, as per above logic {dbindex name variable} will have truncated text.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See Program "LSDD0F02", sub-routine "DD_INDEX_NAME" called from Function module DB_EXISTS_INDEX.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, Vinod&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Feb 2012 10:33:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/indexname-in-database/m-p/8612396#M1663259</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-02-24T10:33:24Z</dc:date>
    </item>
  </channel>
</rss>

