Problem about Indexes missing in the database

Dear all,
We found a missing index in DB02 view of our sap system.
This missing index is a Secondary index,
and its name is S509-VAB.
We tried to create it in DB, but got below error log as below:
Index S509~VAB could not be set up in the database
Message no. DI 006
Diagnosis
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.
Procedure
For more information about the cause of the error, analyze the SQL error messages in this log.
Our question is How to Activate the index in the ABAP/4 Dictionary?
Anyone experienced,
Please kindly give advice.
Regards,
Allen

Hi Allen,
S509 is an information structure table. Data is populated into it post we do some necessary cutomizing and is mainly used for reporting purpose. I do not know what reports you are generating out of this. Hence difficult to say whether you can ignore this missing index or not.
I would suggest you to do the following
In se14, type the table name S509.
Go to indexes tab. Look for the list of indexes defined.
Select the index name VAB ( Which is missing in your case ).
1) check the status of this index ? Does it says "exists in database"
2) If point 1 is not valid then , select the option create in database button and create the index in the database.
Regards,
Deepak Kori

Similar Messages

  • Indexes missing in the database

    hello gurus
    Missing indexes. Check of 23.04.2007 20:11:16
           Indexes missing in the database
               Primary indexes                    0
               Secondary indexes                6
                   /BIC/F100067-160
                   /BIC/F100067-150
                   /BIC/F100067-140
                   /BIC/F100067-130
                   /BIC/F100067-120
                   /BIC/F100067-110
    This is my problem, I am facing in my database, can somebody help me to understand what is   Primary indexes,     Secondary indexes in the database
    whether they critical or non critical, what is the process so that we can rectify the
    indexes ?
    Waiting for your reply
    Thank You

    HI Shishir,
    <b>Here are the definitions for the following :</b>
    <b>Missing indexes</b> may occur if you ignore an error message when creating a table (table created, index not created) or if an index is deleted. The latter case may occur during an incorrect reorganization.
    <b>Difference between Primary and Secondary Index:</b>
    <b>Primary indexes</b> (ending with 0) ensure that the line keys (row keys) are unique. Missing primary indexes are therefore a critical problem.
    <b>Secondary indexes</b> (ending with 0) are used for particular scans and are only important for performance.
    To analyze the above use T-code DB02
    Regards
    <b>Vijay Kothapalli</b>

  • Hello apple I have the problem with my iPhone and my friends have this problem too. My iPhone have the problem about calling and answer the call. When I use my iPhone to call I can't hear anything from my iPhone but the person that I call can answer it bu

    Hello apple
    I have the problem with my iPhone and my friends have this problem too.
    My iPhone have the problem about calling and answer the call. When I use my iPhone to call I can't hear anything from my iPhone but the person that I call can answer it but when answer both of us can't hear anything and when I put my iPhone to my face the screen is still on and when I quit the phone application and open it again it will automatic call my recent call. And when my friends call me my iPhone didn't show anything even the missed call I'm only know that I missed the call from messages from carrier. Please check these problem I restored my iPhone for 4 time now in this week. I lived in Hatyai, Songkhla,Thailand and many people in my city have this problem.
    Who have this problem??

    Apple isnt here. this is a user based forum for technical questions. The solution is to restart, reset, and restore as new which is in the manual after that get it replaced for hard ware failure. if your within your one year warranty its replaced if it is out of the warranty then it is 199$

  • [SOLVED]problem about wc to check the amount of the processes through

    #problem about wc to check the amount of the processes through ps
    hi.this is the processes current
    $ps
    PID TTY TIME CMD
    2674 tty3 00:00:00 bash
    2689 tty3 00:00:00 mocp
    2746 tty3 00:00:00 ps
    $ps | wc -l
    5
    The problem:since there are 4 lines of ps output here,why wc -l shows the number "5"?
    And if i redirect ps to a file and then check the lines number with "wc -l",it's "4".
    $ps > out
    $cat out
    PID TTY TIME CMD
    2674 tty3 00:00:00 bash
    2689 tty3 00:00:00 mocp
    2753 tty3 00:00:00 ps
    $cat out | wc -l
    4
    Any idea?Thanks.
    Last edited by wanghonglou82 (2011-10-07 06:49:44)

    falconindy wrote:Working as intended. wc is running when you pipe ps to it.
    hi.thank you.
    The clue you bring here sounds reasonable.But a little more confusion to me comes around.I will check the bash rules for digest commands.thanks.

  • RoboHelp x5 TOC and index missing when the project is converted to RoboHelp 10

    As the title says, RoboHelp x5 TOC and index missing when the project is converted to RoboHelp 10. Any ideas for recovering or importing the x5 TOC and index?
    Before this is suggested, auto-create is not an option.

    Hi there
    Perhaps give this a try. From the Project Manager pod, right-click the Table of Contents area and choose "New Table of Contents". Give it a name and enable the "Copy existing Table of Contents" check box. Then click the Ellipsis icon on the far right side. See if you have a .HHC file in the folder. Odds are, you will. That will be the existing (missing) TOC.
    Hopefully that will work. If so, repeat the process for the index.
    I think when upgrading the project something goes wrong with naming.
    Let us know if this helps... Rick

  • /BIC/FFIN_PS_6 table is missing in the database

    Hello All,
    We were unable to Delete requests from FIN_PS_6 , as we perform the job it is getting terminated with DBIF_RSQL_TABLE_UNKNOWN message.
    Found out that table /BIC/FFIN_PS_6 is missing in the database. Any clues to find how this Table got deleted? logs or traces for this activity.
    Thanks & Regards,
    Madan

    Hi Vani,
      /BIC/FFIN_PS_6  seems to be a Fact table. So please activate the corresponding Infocube .
    Then try to work on it.
    Regards,
    James Harold.

  • Problems about How to Merge the Masthead and the Tool Area?

    I have been struggling for many weeks  about how to add  the ToolArea into the Masthead. Can someone please help me?
    I followed with the tutorial :[How to Merge the Masthead and the Tool Area|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f058ef9c-b211-2a10-4fad-8b88d5a1fe74?QuickLink=index&overridelayout=true]
    I followed every steps mentioned in the tutorial but end up with these:
    1.  In this tutorial there is a word:Just before the link table is ended, add another row for the tool area. Unfortunately I am not familiar with JSP so can anybody please tell me the accurate inserting location of this code.
    2. Besides I find there are some faults in this tutorial and It is non't very complete.
        For example the author have non't refer to two jar:
        I have copyed  the (com.sap.portal.navigation.masthead_core.jar, com.sap.portal.navigation.toolarea_core.jar).from the     standard par files and paste these JAR files in the PORTAL-INF / lib folder in the NWDS.
       who can tell me there are additional faults or complements about this tutorial?
    Please suggest.
    Best Regards
    lexian

    Hello Prashant:
       I have imported  the par file which you just send for me, Fortunately It is running OK!
       I am very happy,thank you very much,you give me a great help.
          I hope obtain you help for the future,you are a goo person.
         Thanks a lot!
         Best Wishes for you!
         lexian.
    Edited by: le xian on Apr 22, 2011 10:43 AM

  • Problem trying to log in the database

    Hi im new using oralce i just had installed it in a P4 3.0Ghz 2GB Ram Windows XP SP3.
    And when i try to login i got this error:
    ERROR:
    ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exist

    Hi,
    As you have said, you have installed the oracle. Does you have create the database during the installation or you have done only installation of oracle. If you have done only installation of oracle software then you need to create a database. If you have create the DB, with out any issues then with respect to the following error which you have posted then can couple reasons for that.
    You can get the information if you google it any how the following are the reasons for that.
    ORA-01034 "ORACLE not available"
    Cause: Oracle was not started up. Possible causes include the
    following:
    - The SGA requires more space than was allocated for it.
    - The operating-system variable pointing to the instance
    is improperly defined.
    Action: Refer to accompanying messages for possible causes and correct the problem mentioned in the other messages. If Oracle has been initialized, then on some operating systems, verify that Oracle was linked correctly. See
    the platform specific Oracle documentation.
    Try to go through the ORACLE Documentation, you can resolve your issue with out any concerns.
    - Pavan Kumar N

  • Entered DATA missing from the Database ( SEM CUBE )

    Hi,
    We are in the process of compiling the Annual Budget for 2011- 12. We
    are using BW-BPS for capturing the data.
    The Problem, is that we are not able see the Data entered in last two
    days. The users have entered the data in SEM-BPS layouts and saved it.
    Also they have executed the Queries through the Bex Analyzer which had
    the data till yesterday evening, but today if the user tries to refresh
    the query then the data is missing.
    The name of BW SEM-CUBE is "ZUCOPA_TC".
    Please suggest some solution.
    Thanks
    Nilesh

    Nilesh,
    someone might have run a delete function or another incorrectly configured planning function that deleted the data (or set records to zero).
    First, STOP any compression jobs on your planning InfoCubes. (If any compression job with zero eliminiation ran the past two days, the data is probably lost for good).
    Second, check in LISTCUBE if the data is still in the InfoCube. Make sure to select ALL fields for the output (including request id). If you are lucky, you will find all the deltas of changes that happened in the past days. If there was a delete (or similar) you should find these deltas, too. Now you can recreate the original data again (it's tedious but can be done).
    Whatever the outcome, you should implement some operational improvements to your planning applications:
    1) Create backup InfoCubes of your planning InfoCubes (fill with nightly DTP for example)
    2) Implement audit log of planning activities (see how-to guides)
    Both will give you a much better chance of recovering data in such cases.
    Good luck,
    Marc
    SAP Techology RIG

  • Installation: problem getting certificate to certify the database

    The problem I'm having is when I generate the certificate request for certifying the database.
    I get to step 3 (Generate Certificate Request), fill in the fields, click "Generate Certificate Request", and get an error pop up in an alert box:
    Exception ActiveVE [genCertRequest]:
    Code: 0x800a01fb (-2146827781)
    An exception occurred
    ActiveVE Failed, code = 507 (Voucher Engine unknown error - 507)
    ActiveVE TRACE:
    Any thoughts? Apparently the support person my Adobe UK contact would normally talk to is on leave until 9th July :/

    Just rechecked the version of the SP that's on the SQL server. In fact, it's already on SP4, so I'm not going to mess with it.
    Only thing I'm wondering is whether it's a firewall type blip, as we have the database server on an internal network segment, and the web server (with CS installed) "bridges" the two - i.e. it can see the www as well as the internal network (2 network cards).

  • Problem with displaying records from the database in a table ui element

    Hi,
    Iam creating an application which retrieves data from an oracle database. Iam able to connect to the database and retrieve the data in a result set. Then I try to set these values in a context node as follows,
    while (resultSet.next()) {
    String name = result.getString(1);
    String EmpId = result.getString(2);
    IEmpNode node = wdContext.nodeEmp();
    IEmpElement el = node.createEmpElement();
    el.setName(name);
    el.setEmpId(EmpId);
    node.addElement(el);
    where the context structure is emp(node)
                                   ---name(attribute)
                                   ---empId(attribute)
    Then I have bound the node emp to a table ui element.If I try to deploy this it comes up with Internal Server error.
    But if try this way, without creating a node, only with attributes name and empId,
    wdContext.currentContextElement.setName(name);
    wdContext.currentContextElement.setEmpId(EmpId);
    and binding the attributes to inputfields in the view, Iam able to see the last record in the database table.
    So where am I going wrong while using the table ui element?
    Regards,
    Rachel

    Hi
    Try this
    //Create the node in outer of while loop and bind to Table UIElement
    IEmpNode node = wdContext.nodeEmp();
    while (resultSet.next()) {
    String name = result.getString(1);
    String EmpId = result.getString(2);
    IEmpElement el = wdContext.createEmpElement();
    el.setName(name);
    el.setEmpId(EmpId);
    node.addElement(el);
    Kind Regards
    Mukesh

  • LoadDB problem: no version found for the database

    HEllo,
    I try to use the loadDB directive with an existing pool and wlst offline but I always receive the error "No version found for the database". I tried to create a pool with the console and use it as loading pool but that didn't worked.
    I saw in the script.log file that my pool was correctly found but it seems that it can't found the driverName attribute of my pool when trying to get version.
    I have checked and the drivername is correctly set.
    Any idea? I will post the complete stack and the script.log later.

    here is the full stack:
    com.bea.plateng.domain.script.jython.WLSTException: com.bea.plateng.domain.scrip
    t.ScriptException: No version is found for database:
    at com.bea.plateng.domain.script.jython.CommandExceptionHandler.handleEx
    ception(CommandExceptionHandler.java:33)
    at com.bea.plateng.domain.script.jython.WLScriptContext.handleException(
    WLScriptContext.java:897)
    at com.bea.plateng.domain.script.jython.WLScriptContext.loadDB(WLScriptC
    ontext.java:817)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.python.core.PyReflectedFunction.__call__(PyReflectedFunction.java
    at org.python.core.PyMethod.__call__(PyMethod.java)
    at org.python.core.PyObject.__call__(PyObject.java)
    at org.python.core.PyInstance.invoke(PyInstance.java)
    at org.python.pycode._pyx0.loadDB$22(initWls.py:98)
    at org.python.pycode._pyx0.call_function(initWls.py)
    at org.python.core.PyTableCode.call(PyTableCode.java)
    at org.python.core.PyTableCode.call(PyTableCode.java)
    at org.python.core.PyFunction.__call__(PyFunction.java)
    at org.python.pycode._pyx4.f$0(CCFF_offline.py:17)
    at org.python.pycode._pyx4.call_function(CCFF_offline.py)
    at org.python.core.PyTableCode.call(PyTableCode.java)
    at org.python.core.PyCode.call(PyCode.java)
    at org.python.core.Py.runCode(Py.java)
    at org.python.core.__builtin__.execfile_flags(__builtin__.java)
    at org.python.core.__builtin__.execfile(__builtin__.java)
    at org.python.core.__builtin__.execfile(__builtin__.java)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.python.core.PyReflectedFunction.__call__(PyReflectedFunction.java
    at org.python.core.PyReflectedFunction.__call__(PyReflectedFunction.java
    at org.python.core.PyObject.__call__(PyObject.java)
    at org.python.pycode._pyx3.f$0(<input>:1)
    at org.python.pycode._pyx3.call_function(<input>)
    at org.python.core.PyTableCode.call(PyTableCode.java)
    at org.python.core.PyCode.call(PyCode.java)
    at org.python.core.Py.runCode(Py.java)
    at org.python.core.Py.exec(Py.java)
    at org.python.util.PythonInterpreter.exec(PythonInterpreter.java)
    at org.python.util.InteractiveInterpreter.runcode(InteractiveInterpreter
    .java)
    at org.python.util.InteractiveInterpreter.runsource(InteractiveInterpret
    er.java)
    at org.python.util.InteractiveInterpreter.runsource(InteractiveInterpret
    er.java)
    at com.bea.plateng.domain.script.jython.WLST_offline.handleInteractiveMo
    de(WLST_offline.java:137)
    at com.bea.plateng.domain.script.jython.WLST_offline.main(WLST_offline.j
    ava:79)
    Caused by: com.bea.plateng.domain.script.ScriptException: No version is found fo
    r database:
    at com.bea.plateng.domain.script.ScriptExecutor.getSQLFiles(ScriptExecut
    or.java:2731)
    at com.bea.plateng.domain.script.ScriptExecutor.loadDB(ScriptExecutor.ja
    va:1056)
    at com.bea.plateng.domain.script.jython.WLScriptContext.loadDB(WLScriptC
    ontext.java:815)
    ... 40 more
    here is the script.log part:
    2007-01-23 08:50:12,127 INFO [main] com.bea.plateng.domain.script.ScriptExecutor - find JDBCConnectionPool "CCFFMainPool" as obj5
    2007-01-23 08:50:12,127 INFO [main] com.bea.plateng.domain.script.ScriptExecutor - succeed: find JDBCConnectionPool "CCFFMainPool" as obj5
    2007-01-23 08:50:12,127 INFO [main] com.bea.plateng.domain.script.ScriptExecutor - loadDB obj5
    2007-01-23 08:50:12,137 DEBUG [main] com.bea.plateng.domain.script.ScriptExecutor - ScriptExecutor JDBCInfo:
    DB2 Any:
         CCFF_L1-tables.sql
         Initial_Insert.sql
    2007-01-23 08:50:12,137 DEBUG [main] com.bea.plateng.domain.script.ScriptExecutor - Database name:

  • Question about secuting connection to the database

    Hi.
    I need to fix an Oracle Consulting custom solution that became incompatible with the new version of the application.
    What's the catch:
    this solution is basically a SQL*Plus script that resides on the filesystem and performs a bunch of commands to generate and load data from Views.
    My difficulty with this is that one of those commands is a CONNECT.
    I'm concerned about the security implications of performing an "open connect" via SQL*Plus command like this.
    My questions are:
    1) Is there a way to secure the SQL*Plus session so that its commands are not visible via a Trace or something else?
    2) What's the best way for me to perform that CONNECT command in a secure way, so that the user and password do not become visible?
    Thank you.

    I do not see the problem.. SQL*Plus is a client like any other client. VB. Java. Delphi.
    Such clients will also make use of a connect string to Oracle. In some cases they will prompt for username and password from the end-user - assuming Oracle schema authentication is used. In many cases they will automatically (via an internal hardcoded connect string) connect to an app schema and then use a USERS table to authenticate the end-user (and thus not use Oracle security).
    The biggest concern in this case is making this connect string visible. EXEs and DDLs can be dumped and ASCII strings extracted - and with it, potentially hardcoded username and passwords.
    In case of a SQL*PLus script, this is in clear text in the actual script itself. But unlike a VB EXE that runs in the wild (on some client PC somewhere), I would assume that in your case this maintenance process runs from a secure o/s account on a server.
    In that case, all that is needed to revoke read/write access to that script from all other o/s users on that server.
    Of course, this assumes that the actual SQL*Plus script uses the CONNECT command and not the sqlplus command line - as command line switches are visible via process monitors.
    Another option is not to use Oracle schema authentication for that maintenance process, but o/s authentication. In which case only that o/s user can logon to that schema and execute code. Thus no username and password to protect as the o/s account itself provides the protection.

  • Problem while updating record in the database

    I have created an entity object, view object and a form to show that. whenever i update some field in the form and try to commit the change, exception is thrown stating that-
    (oracle.jbo.DMLException) JBO-26080: Error while selecting entity for Countries
    ----- LEVEL 1: DETAIL 0 -----
    (java.sql.SQLException) [DataDirect][SQLServer JDBC Driver][SQLServer]FOR UPDATE cannot be specified on a READ ONLY cursor.

    I'm getting the same problem. Did you manage to fix this?

  • The problem about transient value in the EO

    I create a transient value in the EO and VO.
    And then linking the value between EO and VO. When running the page, I will get a error about NullPoint.
    I don't not what's wrong about this.
    Hoping your help. Thanks in advance.

    Whenever you change the attributes of the VO/EO, it is a good idea to check the attributes back in the XML and the RowImpl class that you've already generated.
    Also check for the sequence of the static final variables for each of the RowImpl attributes.
    HTH.

Maybe you are looking for