How to transport Secondary Index, If I created it via DB02-directly on DB?

Hi Experts,
For curiosity, wuld like to know that,
How to transport the Secondary Index, If I created it via DB02 i.e. directly on DB?
thanq.

Hi srikhar,
1. How to transport the Secondary Index, If I created it via DB02 i.e. directly on DB?
Now, There is no question of transport,
bcos what u will transport.
We can only transport objects which
are created from r/3 data dictionary etc.
regards,
amit m.

Similar Messages

  • How many secondary index you can create on table

    hi,
    how many secondary index you can create on table?
    thanks,
    raj

    Hi,
    Maximun number of indexes for a table can be 9.
    check this FAQ
    http://www.sap-img.com/abap/important-abap-faq.htm
    Regards,
    Vinodh

  • How to delete secondary indexes

    Hello Guru's.
    I want to delete secondary indexes for my copa cube ZCOPA_CO1.where to see the secondary indexes for this cube..please give me step by step for deleting secondary indexes as well as creating secondary indexes .Its really urgent please give me some good suggestions on this as i was stuck up with this issue.......waiting for your valuable suggestions on this...
    Thanks.
    sri.

    Hi,
    Secondary index: Additional indexes could be created considering the most frequently accessed dimensions of the table.
    How to create secondary index :
    1. Go to se11 --> Enter Tablename --> Display --> Click on "Indexes" button on Application Toolbar --> Select "Table Fields" button --> Select field on which you want to create index on (Compound index can be created on more than 1 table).
    Generally indexes are created at database level to optimize performance (Select Non-unique Index --> Index on all database systems)
    Hope it helps
    Regards
    Srikanth

  • How to use secondary index

    Hi abapers,
    Iam creating secondary index for the database table MSEG. ....How to write select query for the secondary index that i have created..
    Regards,
    Ramya

    how to create secondary index in tables
    https://forums.sdn.sap.com/click.jspa?searchID=933015&messageID=2971112
    Guidelines to create secondary index
    https://forums.sdn.sap.com/click.jspa?searchID=933015&messageID=2009801
    Secondary index;
    http://help.sap.com/saphelp_47x200/helpdata/en/cf/21eb2d446011d189700000e8322d00/content.htm
    this will definitely help you, dont forget to award points if found helpful

  • How to transport table Index

    Hi All,
    Any ideas how to transport a table index on an IO, we can create the index but its not allowing us to change the package name, its still in $tmp.
    Thanks in advance,
    BW Dev.

    Hi,
    You will have to collect it. Choose the table on which your index you have created.
    From the menu option select GOTO --> Object directory entry.
    You will be displayed with $tmp as package. Make change in the pacakage to the relevant one.
    On Executing the change you will be prompted with a request no. select the one. and transport to your required system.
    Hope this helps!!!

  • How to find Secondary Index

    Hi Friends,
    I have a select query, my where condition is built on3 secondary indexes. So how do i know which secondary index is going to is taken into consideration first time and fetches the data.
    KNK.

    Hi ,
      You can find it using ST05.
    1. Open ST05. Activate trace.
    2. Open se38 in other window and run the program.
    3. In ST05 deactivate the trace and display the trace.
    There we can find the indexes used.
    Only one can use the trace at one point of time. In the trace all the operations which the server did at that time will be displayed. Search for your program and find the result.

  • How to Transport of Indexes and Crawlers ?

    Hi Experts,
    We want to transport indexes and crawlers from dev to poc server. but not sure of any method. So, can anybody suggest me a method to transport the indexe and crawlers.
    Can somebody please help me in this matter ?
    Regards,
    Archana.

    Hi Archana,
        It's not possible. Only you can transport taxonomies, indexes and crawlers must be created again.
    Patricio.

  • How to transport portal index

    Hi All,
    I have question about transport portal index.
    For transport portal content (e.g. iview, page, workset, role) could transport via
    System admin> System configuration> Transport> Export or Import right!
    But I wonder how can I transport index (web index) to my productive environment because my development and productive use deferent TREX.
    Many thanks for all suggest.
    Regards,
    Kanok-on K.

    sorry miss understand
    our site use only one trex

  • How to Transport Variance Forms and Reports(created in KKO4 and KKO1)

    Hello Experts,
    I searched for the following but could not find matching  answer.Will you, therefore, suggest on the following
    1. I created form in KKO4/5
    2. Then I created report under above form in transaction KKO1
    I did above in development and now need to transport it to quality and then to production after testing
    When I select menu Form -> Transport in KKO5, system prompts for customizing request.
    Which options(subobjects) should I select? should I select Key figures ( I used standard available key figures in form defination)
    After above customizing request for form, I selected menu Report -> Transport in KKO2 to transport the report. It prompted for subobject selection
    (a) Report defination (This is by default selected and greyed out),(b) Report form, (c) Key figures , (d) Transport all languages
    Which subobjects should be selected out of above.
    After above selection for reports, system is prompting for workbench request creation, during WB request creation system is also giving 'prompt for customizing request' creation and by default displaying customizing request created for Form. Should such customizing requiest be part of WB request?
    Secondly, I have created 8 forms and more than one report under of the these forms. Should the menu Form/Report -> Transport be selected for each form/report in same transport request? Is only that particular form/Report included in the Transport Request or does it include all existing/standard forms/reports also in transport request.
    Your earliest help is greatly appreciated. Thank you in advance

    Hi Jose
    Thank you very much for the reply
    Could you please elaborate on "if any configuration maintained at
    sub-objects level"
    What I am worrying about is my transport request should not overwrite anything in quality and production systems. It should take only forms and reports that I add/select in it.
    I am following the below steps Please correct me if I am going wrong
    1) Create new formS in KKO4
    2) Create one or more reportS in KKO1 under each of above forms
    3) In KKO5 (report painter: Change From screen), select the form that I created in step (1), select menu Edit->Transport form, I get the pop up to select the dependent objects for form. Here I select sub object - Form/Layout, Key Figures, Transport All Languages. On choosing Enter, I get pop up "Prompt for customizing request”. I create new request
    4) In KKO5 I select second form I created in step (1) and follow the activities mentioned in step (3) but select the same customizing request. This way I add all the form I created in one customizing request
    5) In KKO2, select the report that I created in step (2) select menu Report -> Transport I get pop up selection of Dependent objects for Report. Here I select sub object – Report Definition, Report Form, Key Figures, Transport All Languages. On choosing Enter, I get pop up "Prompt for workbench request. I create new request. When I choose enter on this pop up system automatically gives pop for "Prompt for customizing request” and by default displays cust. request created in step (3). Should I select Continue/Enter here?
    And Does it mean both customizing and WB request are clubbed?
    What is the sequence of transporting them?
    Thank you in advance
    Regards
    Anand

  • Error when recreate secondary indexes

    hi all
    in db02 i have two missing secondary indexes.
    when i try recreate :
    in db02  select missing index -> choose processing type: direct processing -> create
    i have error :
    Internal error 1  in module DD_LONGNPROT_NAME_GET occurred
    Diagnosis
    An unexpected SQL error occurred in the ABAP/4 Dictionary interface.
    System response
    A system log entry has been written. This gives more precise information about where the termination occurred and the reason for the termination. The current transaction has been cancelled.
    Procedure
    Please check the system log and eliminate the cause of the SQL error.
    in sm21 no errors
    in db alert log no errors
    how can resolve this problem?
    thanks

    Hi Andrey,
    Please try to active the secondary indexes  in transaction SE14. Please gothrough the note 1248769 as how to active the
    indexes.
    Many thanks.
    Mohammed Hussain.

  • Strange problem while building a secondary index.

    Hi,
    I have a strange problem in creating a secondary index which is a part of primary data.
    I tested my program and a working sample program
    My data scheme looks like:
       Key = unique string
       Data = structure {
                        time_t timestamp;
        Secondary Key = timestamp in data (NOT unique)
    My BDB environment flags is "DB_CREATE | DB_INIT_CDB | DB_INIT_MPOOL | DB_THREAD"
    The primary DB is created as BTREE with a custom key compare function provided by calling DB->set_bt_compare.
    int my_key_compare(DB *db, const DBT *key1, const DBT *key2)
         const char *k1_v = (const char *)key1->data;
         const char *k2_v = (const char *)key2->data;
         return strcmp(k1_v, k2_v);
    The secondary Index DB is created as BTREE while permitting duplication. (DB_DUPSORT)
    It has two custom callback functions; one for data compare, the other for extracting a data from the primary data.
    int my_extract_timestamp(DB *db, const DBT *primary_key, const DBT *primary_data, DBT *secdondary_key)
         secondary_key->data = ( (MY_DATA *)(primary_data->data))->timestamp;
         secondary_key->size = sizeof(time_t);
         return 0;
    int my_secondary_dup_compare(DB *db, const DBT *key1, const DBT *key2)
         time_t      k1_v = *(time_t *)key1->data;
         time_t      k2_v = *(time_t *)key2->data;
         return k1_v - k2_v;
    The function 'my_extract_timestamp' is set by calling DB->associate().
    My problem is 'my_secondary_dup_compare' function called with a strange DBT values.
    I think the values should point to the value provided from my_extract_timestamp(), but they pointed to
    the key which provided when calling DB->put on the primary DB.
    Could somebody help me ?
    Any help highly appreciated.

    Hi,
    In the secondary database, the key is what you extract and the data is the key of the primary database. As your primary key is a unique string, your data in secondary database is also a unique string. The DB->set_dup_compare sets the comparison function for the duplicate data, so you are comparing time stamps on unique strings, not on what you extract.
    As you are comparing the time stamps which are the keys of secondary database, I guess here you want to set the bt_compare function instead of the dup_compare for the secondary database.
    Also, about this sentence:
    secondary_key->data = ( (MY_DATA *)(primary_data->data))->timestamp;
    The DBT.data should be an address, but this is a value here instead of an address.
    Regards,
    Winter, Oracle Berkeley DB

  • Missing secondary index after TDMS data deletion

    We have done a TDTIM transfer to a single client system. The deletion technique used by TDMS is Drop-insert technique.
    During our initial analysis, we found that many of the secondary indices are not re-created by TDMS at database level. For many few tables the secondary indices are re-created at the database level.
    Will TDMS delete and re-create the secondary index for re-created (droped & created) tables during data deletion in receiver system ?
    Why did TDMS re-create secondary indices for few tables and why it didnot re-create secondary indices for few other tables?
    Thanks
    Praven

    Indexes are deleted from the receiver only in cases when they were not present at the DB level in the receiver system
    prior to TDMS run. This is to avoid any kind of error/exceptions when records are inserted into the table.
    You need to create these indexes manually.
    In order to do so, you can follow the steps below:
    1. Execute transaction DB02.
    2. Select the button "missing indexes". A list of 1091 is shown
    3. Place the cursor on the line "secondary indexes" and hit F9
    4. Now hit "create on DB".
    5. A popup will ask if you want to do a mass select. Press "Yes"
    6. A further Popup will then ask for background processing. Say "Yes".
    Best Regards,
    Rupam

  • Use secondary index in internal tables.

    what are the uses of secondary index in internal table?

    http://help.sap.com/saphelp_nw04/helpdata/en/cf/21eb47446011d189700000e8322d00/content.htm
    Creating Secondary Indexes
    Proceed as follows to create a secondary index on a table:
    In the field maintenance screen for the table, choose Goto --> Indexes.
    1. If you went to the field maintenance screen of the table in display mode, only correct the index (and not the table).
    If indexes already exist on the table, a list of these indexes is displayed. Choose Create. A dialog box appears in which you must enter the three-place index identifier. If there are no indexes, go directly to the dialog box.
    2. Enter the index identifier and choose Continue.
    You will go to the maintenance screen for indexes.
    3. Enter an explanatory short text in the field Short text.
    Choose TabFields.
    4. A list of all the fields of the table is displayed.
    5. Select the fields which you want to copy to the index.
    6. Choose Copy.
    The selected fields are copied to the index.
    7. If the values in the index fields already uniquely identify each record of the table, select Unique index.
    A unique index is automatically created on the database during activation because a unique index also has a functional meaning (prevents double entries of the index fields).
    8. If it is not a unique index, leave Non-unique index selected. In this case you can use the corresponding radio buttons to define whether the index should be created automatically on the database for all database systems, for selected database systems or for no database system.
    9. If you chose For selected database systems, you must specify these systems.
    You have two possibilities here:
    List of inclusions: The index is only created automatically during activation for the database systems specified in the list. The index is not created on the database for the other database systems.
    List of exclusions: The index is not created automatically on the database during activation for the specified database systems. The index is automatically created on the database for the other database systems.
    Click on the arrow symbol behind the radio buttons. A dialog box appears in which you can define up to 4 database systems. Use the corresponding radio buttons to decide whether this list should be treated as a list of inclusions or exclusions.
    10. Activate the index with Index ® Activate. The activation log tells you about the flow of the activation. Call it with Utilities ® Act.log. If an error occurred when activating the secondary index, you will automatically go to this log.
    The secondary index is automatically created on the database during activation if the corresponding table has already been created there and index creation was not excluded for the database system.
    Reward points if useful.

  • How to revert back of secondary indexes created?

    Hi all,
                     I have craeted secondary indexes in development and they have been transported into quality and production. Some dumps are coming in the production because of these secondary indexes.
    Please guide me how to revert back those secondary indexes from production(means to keep original with out that secondary indexes?)
    Please give me solution.
    Regards,
    Lokesh

    Hello,
    The best way to do this is delete the indexes again in DEV and create a transport request.
    Transport this request to QA and PRD and the index will be deleted.
    Via SE14 you can also delete the index immed in PRD.
    SE14 will only delete the index from the database (shortdumps will disappear then).
    Afterwards you can still use SE11 to delete the index from the SAP repository as well.
    Success.
    Wim
    Edited by: Wim Van den Wyngaert on Nov 20, 2009 1:08 PM

  • How to create Secondary Index?

    Hello All
    Can anyone let me know how to create secondary indexes?
    I hope Primary Indexes are being created automatically?V can'nt able to create this.
    regards
    balji

    Hi,
    1) Go to Se11 select table /BI0/A<ODS>00 > Utilities> Data bse Object --> Check.
    2) If you are using ODS Active table in any Start routine ,Make sure that the order of objects to be seleccted (select statement) should be in same order of index fields.
    In Query, Use RSRT to know the SQL statement of the Query .and follow same logic explained above.
    3) No need to create Secondary Index for Cube.
    4) IT recreates the Index.
    With rgds,
    Anil Kumar Sharma .P

Maybe you are looking for