Index is not executing

Hi All.
I am executing a SQL on a table, I have three different indexes on three different column let say, table have a, b, c, d, e, f, g, h, i , j.
Index created on c, d, g
Column "C" and "D" have values in every row, while "G" dont have value in any row.
Index not executed when I wrote following where clause:
Case 1
Where C is not null
Case 2
Where D is not null
While index executed when I wrote where clause as
where "G" is not null;
Whats wrong with it?
Hassan

In some cases Oracle can also choose Fast Full Scan in case "C" and "D". Please look at the example below:
[email protected]> select index_name from user_indexes where table_name = 'PRODUCTS'
2 /
no rows selected
[email protected]> create index products_name_idx on products(prod_name) compute statistics;
Index created.
[email protected]> set autotrace traceonly explain statistics
[email protected]> select prod_name from products where prod_name is not null;
10000 rows selected.
Execution Plan
0 SELECT STATEMENT Optimizer=CHOOSE (Cost=14 Card=10000 Bytes=
250000)
1 0 INDEX (FAST FULL SCAN) OF 'PRODUCTS_NAME_IDX' (NON-UNIQUE)
(Cost=14 Card=10000 Bytes=250000)
Statistics
117 recursive calls
0 db block gets
775 consistent gets
51 physical reads
0 redo size
150267 bytes sent via SQL*Net to client
7825 bytes received via SQL*Net from client
668 SQL*Net roundtrips to/from client
0 sorts (memory)
0 sorts (disk)
10000 rows processed
Here there is no need to read table data because Oracle can satisfy this query using just data that is in the index blocks
Best Regards
Krystian Zieja / mob

Similar Messages

  • PARCONV phase Index could not be created ERROR

    Upgrading Solution Manger 3.2 to 7.0  Windows Nt SQL Server 2000
    We are in teh PARCONV phase now and getting errors regarding tables with missing indexes.
    Example from PARCONV.ELG file:
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    CONVERSION ERRORS and RETURN CODE in NCONV00.TS3
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    2EEGT236 The SQL statement was not executed
    2EEDI006 Index " " could not be created completely in the database
      Long text:
        Cause
          It was not possible to create the index in the database.
          This could be caused by the fact that an index with the same name
          exists in the database, but it is unknown to the ABAP/4 Dictionary.
          Activating the index in the ABAP/4 Dictionary is possible, but it is
          not possible to create it in the database.
        System Response
        What to do
          For more information about the cause of the error, analyze the SQL
          error messages in this log.
    2EEGT221 Creation of secondary indexes for table "BBP_PDHGP" failed
      Long text:
        Cause
          There might be a SQL error.
        System Response
        What to do
          Check the SQL codes for errors.
    2EEGT239 Error in step "BBP_PDHGP-STEP6"
    2EEGT094 Conversion could not be restarted
      Long text:
        Cause
          The conversion could not be restarted, i.e. it was not possible to
          continue the conversion at the point where it was interrupted.
        System Response
        What to do
          Information about the cause of the error can be found in the restart
          log.
    2EEGT236 The SQL statement was not executed
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    I have gone into se14 the index name exists but the index doesn't exist on the database.  I've tried using the Create to create teh index on the databse but that fails with a name may already exist.
    How to I clear these errors?
    Thanks
    Laurie  McGinley

    It appears on all the ABAP Dictionary: Restart Log List, that the same error is occuring on creating the secondary indexes...
    Database error 170 at EXE
    Line 1: incorrect syntax near '('
    Same error occurs if I use the SE14 to "Continue Adjustment".
    Note 1180553 u2013 Syntax error 170 during index creation on SQL 2000 and
    Note 1346662 u2013 Avoid index creation errors in 7.0 EHP and higher upgrades.
    Note 1365755 - Scripts to fix fillfactor issues on SQLServer 2000
    These seem to be the key.... but...
    I ran the scripts in 1180553 ... no change in the errors.  In fact, there isn't a dbo.[TATAF~] table and the dbo.[TATAF] table doesn't have the 'With fillfactor" entry.  So i wonder if  I'm at a different phase?
    I'm looking at 1365755 and think I'd like to give that one a try, but it says to unpack the ZIP file in the <upgr dir>\abap\bin directory.  Well there isn't one.  I have the upgrade dir \usr\sap\put and its subdirectories, but no \abap\bin dir.
    So I'm not sure where to unpack this to give it a try.
    Perhaps it would be better to go back to teh beginning of the UPGRADE (after PREPARE) and start again?
    I didn't upgrade to SQL Server 2005 because the version of SolMan we are on isn't certified on it, so thought I'd get through the Sol Man upgrade then do SQLServer 2005... maybe need to rethink this to?
    I'm open you suggesions, ideas, answers!
    Thanks
    Laurie McGinley
    Edited by: Laurie McGinley on Sep 28, 2009 12:23 PM

  • Documents are marked for indexing but indexing is not happening

    Hi All,
    I have completed the configuration of Trex 7.10 ; and also I have tested the settings by executing the report "RCF_CHECK_SEARCH_SETTINGSu201D in SE38 and found no errors, but the problem here is documents are marked for indexing but not getting indexed.
    I need some help to resolve this issue
    Regards
    Siva

    Hi Siva,
    This should help http://wiki.sdn.sap.com/wiki/x/gQ8oCw

  • Condition not executed in Plan

    Hi,
    we´ve got a sql statement which looks like that:
    SELECT BplSegment.SalesOrg, WeeklyBplDataMeta.Line
    FROM BPLSEGMENT BplSegment
    LEFT OUTER JOIN BPLDATA WeeklyBplData
    INNER JOIN BPLDATAMETA WeeklyBplDataMeta
    ON WeeklyBplDataMeta.PKey=WeeklyBplData.BplDataMetaPKey
    ON WeeklyBplData.BplSegmentPKey=BplSegment.PKey
    And WeeklyBplDataMeta.Sheet='SegmentSummary'
    And WeeklyBplDataMeta.Line IN ('TotalSalesPlanned','TotalCostsPlanned','TotalQtyPlanned','ROI-BplPlanned')
    and BplSegment.SalesOrg=N'0001'
    WHERE BplSegment.BplMainPKey= '0010000000391eog'
    And BplSegment.SysPeriodPKey= '0010000000387wvy'
    The result of the query is wrong. It seems that the part WeeklyBplDataMeta.Line IN ('TotalSalesPlanned','TotalCostsPlanned','TotalQtyPlanned','ROI-BplPlanned') is not executed in plan.
    Wrong Plan:
    !http://img213.imageshack.us/img213/4500/planl.png!
    If we delete the bold part of the statement we receive the correct data! The IN (TotalSalesPlanned, ...) part is then executed in plan.
    Correct Plan:
    !http://img204.imageshack.us/img204/7740/plan2h.png!
    Why is the condition and BplSegment.SalesOrg=N'0001' so significant to the plan?
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Prod
    Thx,
    Alex

    Well, this is a bit hard to follow.
    When you say "The result of the query is wrong." do you mean the actual data returned from the query, or just the access plan of the query? I would assume the latter based on your query plan posting, but i'm really not sure.
    Also, it's not that i don't believe you, but i don't typically believe TOAD, ~insert front end tool here~, etc... when it comes to things like this. Can you provide the results using a copy/paste from SQLPLUS?
    An example would be (which you would run for BOTH statements you have) ...
    SQL?ALTER SESSION SET STATISTICS_LEVEL = ALL;
    Session altered.
    --YOUR QUERY WOULD REPLACE MY EXAMPLE QUERY
    SQL?select *
    from t1
    where col1 = 100;
      2    3 
          COL1      COL2
           100         0
    SQL?SELECT * FROM TABLE(DBMS_XPLAN.DISPLAY_CURSOR(NULL, NULL, 'ALLSTATS LAST'));
    PLAN_TABLE_OUTPUT
    SQL_ID     7z61ytum3h786, child number 0
    select * from t1 where col1 = 100
    Plan hash value: 2347959165
    | Id  | Operation              | Name  | Starts | E-Rows | A-Rows |   A-Time   | Buffers |
    |   1 |  TABLE ACCESS BY INDEX ROWID| T1    |        1 |         1 |      1 |00:00:00.01 |         4 |
    |*  2 |   INDEX UNIQUE SCAN         | T1_PK |        1 |         1 |      1 |00:00:00.01 |         3 |
    Predicate Information (identified by operation id):
       2 - access("COL1"=100)
    18 rows selected.
    SQL?Also, when posting, if you use the tags you can preserve the formatting of your code so it's easier to read.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • BAdi method not executing - IF_EX_RSR_OLAP_BADI~DEFINE

    dear all,
    I am trying to implement a virtual characteristics using BAdi and the article i'm using is this. However, when i try to put my breakpoint in the code it is not executing in either RSRT or RSRT2. Any idea why? Even if i put my breakpoint in the CASE statement to determine if it is the infocube i want to filter by, that does not get executed. Any idea why?
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/90b2babc-15ad-2d10-c4b2-bd3af67d86b1?quicklink=index&overridelayout=true
    thanks in advance for the reply friends.

    any body with any thoughts out there on this? thank you so much in advance for the reply.

  • "specified handle or index is not valid" on System.loadLibrary

    Hi,
    I have a WAS 6.40 installation on HPUX 11i. I am using a native method in one of the login modules I have made, but am getting the following error (stack trace shown below):
    [Jan 11, 2005 11:33:27 AM - 10 - Err] java.lang.UnsatisfiedLinkError: /usr/lib/libJDecrypt.sl: specified handle or index is not valid.
    [Jan 11, 2005 11:33:27 AM - 10 - Err] 0: java.lang.ClassLoader$NativeLibrary.load(Native Method)
    [Jan 11, 2005 11:33:27 AM - 10 - Err] 1: java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1611)
    [Jan 11, 2005 11:33:27 AM - 10 - Err] 2: java.lang.ClassLoader.loadLibrary(ClassLoader.java:1511)
    [Jan 11, 2005 11:33:27 AM - 10 - Err] 3: java.lang.Runtime.loadLibrary0(Runtime.java:795)
    [Jan 11, 2005 11:33:27 AM - 10 - Err] 4: java.lang.System.loadLibrary(System.java:834)
    [Jan 11, 2005 11:33:27 AM - 10 - Err] 5: com.netegrity.siteminder.sap.webas.util.JavaDecrypt.<clinit>(JavaDecrypt.java:56)
    [Jan 11, 2005 11:33:27 AM - 10 - Err] 6: com.netegrity.siteminder.sap.webas.jaas.SiteMinderLoginModule.<clinit>(SiteMinderLoginModule.java:146)
    [Jan 11, 2005 11:33:27 AM - 10 - Err] 7: sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    [Jan 11, 2005 11:33:27 AM - 10 - Err] 8: sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    [Jan 11, 2005 11:33:27 AM - 10 - Err] 9: sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    [Jan 11, 2005 11:33:27 AM - 10 - Err] 10: java.lang.reflect.Constructor.newInstance(Constructor.java:274)
    [Jan 11, 2005 11:33:27 AM - 10 - Err] 11: java.lang.Class.newInstance0(Class.java:308)
    [Jan 11, 2005 11:33:27 AM - 10 - Err] 12: java.lang.Class.newInstance(Class.java:261)
    [Jan 11, 2005 11:33:27 AM - 10 - Err] 13: com.sap.engine.services.security.login.LoginContextFactory.initializeLoginContext(LoginContextFactory.java:160)
    [Jan 11, 2005 11:33:27 AM - 10 - Err] 14: com.sap.engine.services.security.login.FastLoginContext.login(FastLoginContext.java:127)
    [Jan 11, 2005 11:33:27 AM - 10 - Err] 15: com.sap.engine.services.servlets_jsp.server.runtime.context.SessionServletContext.doLogin(SessionServletContext.java:619)
    [Jan 11, 2005 11:33:27 AM - 10 - Err] 16: com.sap.engine.services.servlets_jsp.server.runtime.context.SessionServletContext.checkUser(SessionServletContext.java:294)
    [Jan 11, 2005 11:33:27 AM - 10 - Err] 17: com.sap.engine.services.servlets_jsp.server.runtime.context.ApplicationContext.checkMap(ApplicationContext.java:403)
    [Jan 11, 2005 11:33:27 AM - 10 - Err] 18: com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.checkRequest(HttpHandlerImpl.java:67)
    [Jan 11, 2005 11:33:27 AM - 10 - Err] 19: com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:780)
    [Jan 11, 2005 11:33:27 AM - 10 - Err] 20: com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:239)
    [Jan 11, 2005 11:33:27 AM - 10 - Err] 21: com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
    [Jan 11, 2005 11:33:27 AM - 10 - Err] 22: com.sap.engine.services.httpserver.server.Processor.request(Processor.java:147)
    [Jan 11, 2005 11:33:27 AM - 10 - Err] 23: com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:37)
    [Jan 11, 2005 11:33:27 AM - 10 - Err] 24: com.sap.engine.core.cluster.impl6.session.UnorderedChannel$MessageRunner.run(UnorderedChannel.java:71)
    [Jan 11, 2005 11:33:27 AM - 10 - Err] 25: com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
    [Jan 11, 2005 11:33:27 AM - 10 - Err] 26: java.security.AccessController.doPrivileged(Native Method)
    [Jan 11, 2005 11:33:27 AM - 10 - Err] 27: com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:94)
    [Jan 11, 2005 11:33:27 AM - 10 - Err] 28: com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:162)
    Strangely when I try to load the .sl library from a test application outside WAS it loads perfectly. Have tested a similar DLL on a WAS setup on Windows. It works fine there.
    regards,
    Vishal

    Hi Markus,
    Thanks for pointing out the problem. I was suspecting the same too.
    Unfortunately we are also using some third party libraries, which happen to be 32-bit. Would need a workaround somehow.
    Could you mention the location from where u got the info regarding PAM on HPUX? As in where is it documented etc.?
    regards,
    Vishal

  • My compiled program will not execute on my PC.

    I am new to Java so is there anyone out there who can help me with a problem. I have a compiled Java program, the basic Hello World beginner's file. The file will compile, but not execute. It will execute on other computers, but not mine. Can anyone help me? I would greatly appreciate it. Oh yeah, I'm using jdk1.5.0_07. Thanks.

    Download JAVA Software Developement Kit (SDK previously JDK) from http://java.sun.com/javase/downloads/index.jsp
    Install the executable file just downloaded.
    Search for command.exe file inside C:\Windows\System32 and copy it to the 'bin' folder inside the jdk folder (say C:\Program Files\Java\jdk1.5.0_08\bin ).
    Now double click open the command.exe file and ( something like this will be displayed c:\PROGRA~1\.....\BIN>) type edit autoexec.bat
    Now type set path=%path%; c:\jdk..complete path (in my case set path=%path%;C:\Program Files\Java\jdk1.5.0_08\bin\autoexec.bat). For more info on setting path http://www.javacoffeebreak.com/tutorials/gettingstarted/part1b.html
    Save the file and exit.
    Thats it! Happy programming...
    -Madhu.
    Message was edited by:
    Madhu84

  • Trex Index could not be created HTTP server error: 503 (Errorcode 7266)

    Hi Friends,
    I have installed EP6.0 SP15 on one machine and Trex 6.1 on another machine.All the services are green in the Trex monitor.And also i am able to get a reply from http://host:30205/TrexHttpServer/TREXISAPIExt.dll?CMD=PING.Connection sucessful.While creating my first index in Index Administration i get this error message.
    "Index could not be created; creating index failed: HTTP server error: 503 (Errorcode 7266)."
    Please tell me as to what steps i am missing and also where can i see the log message in portal.
    Thanks
    Sidharath

    hi friends,
    I went through the settings of trex services on server and found out that even after installing IIS 6.0 it was showing the path of Apache that that is i think the reason that httpserver is green but it is not using the CPU resources.I will share the setting with you.
    [queueserver]
    executable=TREXQueueServer.exe
    arguments=-port 30204
    startdir=C:\usr\sap\trex_02
    starttime=5000
    instances=1
    #hp_32:environment=_M_ARENA_OPTS=1:256,_M_SBA_OPTS=512:100:16
    As the executable for queserver is there so it is using cpu resources.
    [apache]
    executable=httpd
    arguments=-d C:\usr\sap\trex_02/Apache -R C:\usr\sap\trex_02/Apache/libexec -F
    startdir=C:\usr\sap\trex_02/Apache/bin
    instances=1
    As there is no folder for apache in trex installation so i think it is not working.Please check the setting in Trex Administration->Configration->Choose name server and on the right botton of it is edit services.Double click it and you will see the settings as i have shown above.Please share the settings with me as i will be then able to work with trex.
    Do i have to install Apache instead of IIS6.0.Please guide me.
    Thanks
    Sidharath

  • Developing site to use external javascript files for server access. my ain.js file just displays and does not execute. Why?

    My ain.js file is meant to work on and access server files for tracking all visitors to the site I am developing.
    One way to access it, in my plan, is to use index.htm. when I open index.htm it displays correctly and presents a link to ain.js with a query line (?a=zzzzz--e2).
    The entire file is displayed; but not executed.
    Short of building my own server (prior to publishing what I am developing) how do you propose I test what I have written?
    As a retiree, I have limited funds (the purpose of developing a website is meant to coorect that).

    This forum is for Firefox user support, very few of our contributors are developers.
    Try posting at the Web Development / Standards Evangelism forum at MozillaZine. The helpers over there are more knowledgeable about web page development issues with Firefox. <br />
    http://forums.mozillazine.org/viewforum.php?f=25 <br />
    You'll need to register and login to be able to post in that forum.

  • Shtml/servlet not executing in defaultFilename

    Has anyone encountered the case where a servlet tag (<servlet
    name=snoop>
    </servlet>) doe not execute inside a defaultFilename of index.shtml?
    Servlet Doesn't Execute
    If the the request URL is of the form http://www.domain.com, it does not
    work.
    Servlet Does Execute
    It does work if the full URL is used http://www.domain.com/index.shtml
    When it does not work, the default page is still getting served.
    However, the servlet has not executed and the servlet tags are still
    inside the html (see below). TIA.
    John Hogan
    Meetu.Com
    p.s. (index.shtml has been set as the defaultFilename in
    weblogic.properties)
    weblogic.httpd.initArgs.file=defaultFilename=index.shtml
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
    <html>
    <head>
    <title>Testing</title>
    </head>
    <body>
    <servlet name=snoop>
    </servlet>
    </body>
    </html>
    [att1.html]

    I came up with a solution, but your options are something to consider, and probably more efficient too. Thank you for that.
    This might not be the best solution, but I left the include of the servlet in the jsp page, passed the request parameter to the servlet, servlet calls db, checks value, if no results, servlet sets a request attribute, retrieve attribute within the jsp, direct the page using a redirect in the jsp.
    Servlet example -
       //get request parameter
      String snr = request.getParameter("snr");
      //call database, query table
      if(!rs.next()) { //value not found
        request.setAttribute("valid","no");
      } else {
        //continue executing servlet methods
    //.... JSP example -
    //include servlet, pass request parameter "snr"
    //get request attribute, check value
    String valid = (String)request.getParameter("valid");
    if(valid.equals("no")) {
       response.sendRedirect("PageNotFound.jsp");
    } else {
      //continue processing page
    //...This works, but maybe I should look into ways (as you suggested) to improve it. In answer to your question, yes, the request parameter is always required. I will need to look into ServletFilter to learn more about that.
    Thank you for the reply and expertise.

  • BPM send step not executed in BPM (after Message split)

    Hello everybody,
    we use BPM:
    We have a paralell Block which should send the rows of a multiline element. In SXMB_BPE_MONI the send step is not executed?
    Any idea?
    Thanks  lot, regards Mario

    HI,
    Go to SXMB_MONI_BPE->and check the workflow log (technical details).and go to SXI_CACHE and check the return code of the Integration Process. It should be zero. If not try to activate the same
    If there is no error then go with like this-
    Also check the Syntax in Integration Repository with F7. Change the IP and activate it. If there is no syntax errors.
    Then reimport the IP into Directory and then test your scenario
    Regards,
    Moorthy

  • MS Office Report (Report Generation toolkit) is not executable​, Xnode broken?

    Hi, I am trying to generate an excel report, and I figured it would be easier to use the MS Office report VI, but I am getting the broken arrow saying the SubVI is not executable and that the library that defines the xnode is broken... here is a screensot attached, I already uninstall and reinstall the report generation toolkit and still the same... this is what I found on NI: "This error occurs when the library that defines the XNode you used is broken. To correct this error, reconfigure the XNode." but no idea how to reconfigure xnode
    Attachments:
    Error.png ‏67 KB

    What version of LabVIEW are you using?
    What is the nature of your Report?  What should it look like?  What kind of data should it contain?
    Can you show us some code that you've tried to use?  If so, include the code as either a Snippet or as a VI attachment (so we can plug it into our own LabVIEW installations and experiment with it).
    I generally find that the Report Generation Toolkit is a very easy way to generate Excel Workbooks.  I work primarily with LabVIEW 2012 and LabVIEW 2014.
    Bob Schor

  • I recieve the following error when running an executable ("This VI is not Executable. The full development version of Labview is required to fix the errors"

    I recieve the following error when trying to build and run a labview executable. I am able to build the executable but when trying to run the executable, a pop up window comes up asking the user to select a dll. (please see screen shot attached). Once the DLL is selected, I get the error that This VI is not Executable. The full development version of Labview is required to fix the errors. (please see screen shot attached). I have also attached a snapshot of the project window.
    I have the professional development system
    I can run the main VI
    all the required DLL's are in the dependencies section of the project window.
    I am trying to find the root cause of this error but to no avail. can anyone give me a clue to what i am missing here. Any suggestions on where i should look to find the problem ?
    Thanks in advance to all labview users for your help
    Attachments:
    project window.PNG ‏36 KB

    other PNG
    Attachments:
    Broken Arrow on EXE.PNG ‏179 KB

  • I get a "vi is not executable" error when building an application.

    I have an ongoing project that has worked fine in the past when building an application. I have recently added some report generation toolkit vis(Excel) and get an error for some of the ni vis and some of my own that call lower level excel vis. The error is that he vi is not executable, however they run fine in the development environment. I do not get this error if I save all vi's into one llb with save with options command and then build. However, when I try to run the app, this error re-appears. Also, do I have to add the dynamically loaded vi's that are part of the toolkit in my build script? Could this be the cause of the problem? If so, what's the best way to find all of them? Any suggestions?

    You have hit in on the nail! You do need to add the dynamically loaded VIs when you are creating an executable from your VI. You need to add _wordsub.lib and _exclsub.lib as dynamically loaded VIs into your executable. Try this and let us know if you have any more problems with it.
    J.R. Allen

  • Primary index does not exist in database but shows in SE14?

    I added a couple of key fields to a Z table and activated it. Every thing went well - adjusted it with SE14 also.
    When I checked the Runtime object - it is OK.
    When I checked Database Object, it is showing that the Primary Index does not exist in Database but SE14 says that the Priamry Index exists in Database.
    Please advise how to correct this. I saw another psoting when I searched per this error message: "Indexes: Inconsistent with DDIC source" . It tells to create this index at Database but need to know the steps.
    pl advise.
    (reposting here)
    Edited by: Venkatabby on Mar 26, 2008 4:05 PM

    hi,
    To create a index for a table,
    go to se11->click on Indexes tab and create  a primary index.
    Indexes speed up data selection from the database. They consist of selected fields of a table, of which a copy is then made in sorted order. If you specify the index fields correctly in a condition in the WHERE or HAVING clause, the system only searches part of the index (index range scan).
    The system automatically creates the primary index. It consists of the primary key fields of the database table. This means that for each combination of fields in the index, there is a maximum of one line in the table. This kind of index is also known as UNIQUE.
    If you cannot use the primary index to determine the result set because, for example, none of the primary index fields occur in the WHERE or HAVINGclauses, the system searches through the entire table (full table scan). For this case, you can create secondary indexes, which can restrict the number of table entries searched to form the result set.
    You create secondary indexes using the ABAP Dictionary. There you can create its columns and define it as UNIQUE.
    reward points if useful.
    regards
    sandhya

Maybe you are looking for