Corrupted table and associated mappings

I believe I caused a problem by reimporting a table into the owb. All the mappings with the table became undeployable and any new mappings with table were undeployable and created hanging sessions when attempting to deploy. Export and Import also led to an error. Tried deleting table and importing again but have fear in my heart now.
Cannot import from exported file. This is the error:
MDL1407: Cannot import TABLE with business name <T_DETAILS> matching by object identifier because a TABLE <MER.MER.T_DETAILS> with the same physical name <T_DETAILS> but different object identifier already exists.
Do i need to start wacking packages in my target schema or the owb schema?
Thanks,

Hi,
The object which you are going to import having different object identifier.
Try changing the parameters while Importing as follows.
Import option as "Add new metadata and replace existing objects"
Match By as "Physical Names"
If the problem still exists, remove the object which you are going to import from OWB and try.
If you feel problem, then take a backup snapshot for safer side.
Hope this helps.
Best Regards,
Gowtham Sen.

Similar Messages

  • Regd K9RR3D2000003 table and associated SAP IMG

    Hello Gurus,
    I am looking at the table K9RR3D2000003 - Derivation rule:COPA Revenue type derivation from SO Type. Can someone please tell me the Transaction and SAP IMG path to access this table and to make entries.
    Thanks and Regards,
    SNK.

    I Could trace this out. It is in Transaction KEDR.
    Thanks,
    SNK.

  • Unable to print main window and associated secondary windows in next page

    Hi All,
    iam print line items values in first page by using main window (table) and associated  terms &condition in second window(template).
    But i want terms & condition to printed in other page.I tried to create COMMAND to manually trigger second page but it doest work.
    Kindly suggest.
    Attached is snap shot of current output(Shaded region are space of dat window).Also attached is overlapping of main and secondary windows.
    Since i need to increase the above template sizes i shifted main window and other 2 secondary window downwards so i wanted them to print in next page.

    Hi abhijeet,
    Add Programming lines before Command before loop statement,
    In that Count the itab using describe table.
    Add condition if count EQ Sy-tabix.
    pass to command line.
    Try this,
    Regards,
    Venkat.

  • Comparing columns in table and triggers

    hi masters,
    i have oracle 10g in Linux and us PL/SQL developer to access database, ia m not a developer, but am assigned task to compare columns in table and associated trigger.
    let me explain, we have 800 tables, and each table essentially have a trigger created on it. the condition is that each trigger on table should include each column in table, that is columns in table and trigger should be same.
    now i don't understand how to compare them, rather can you suggest any query for the same?? and comparing 800 tables manually will be tedious job...
    i am unable to compare trigger columns with that of tables..
    how can we achieve this???
    any suggestions??
    thanks and regards
    VD

    Hi,
    A good starting point could be consult user_triggers view. Example:
    Connected to Oracle Database 10g Enterprise Edition Release 10.2.0.1.0
    Connected as hr
    SQL> desc user_triggers
    Name              Type           Nullable Default Comments                                                                   
    TRIGGER_NAME      VARCHAR2(30)   Y                Name of the trigger                                                        
    TRIGGER_TYPE      VARCHAR2(16)   Y                Type of the trigger (when it fires) - BEFORE/AFTER and STATEMENT/ROW       
    TRIGGERING_EVENT  VARCHAR2(227)  Y                Statement that will fire the trigger - INSERT, UPDATE and/or DELETE        
    TABLE_OWNER       VARCHAR2(30)   Y                Owner of the table that this trigger is associated with                    
    BASE_OBJECT_TYPE  VARCHAR2(16)   Y                                                                                           
    TABLE_NAME        VARCHAR2(30)   Y                Name of the table that this trigger is associated with                     
    COLUMN_NAME       VARCHAR2(4000) Y                The name of the column on which the trigger is defined over                
    REFERENCING_NAMES VARCHAR2(128)  Y                Names used for referencing to OLD, NEW and PARENT values within the trigger
    WHEN_CLAUSE       VARCHAR2(4000) Y                WHEN clause must evaluate to true in order for triggering body to execute  
    STATUS            VARCHAR2(8)    Y                If DISABLED then trigger will not fire                                     
    DESCRIPTION       VARCHAR2(4000) Y                Trigger description, useful for re-creating trigger creation statement     
    ACTION_TYPE       VARCHAR2(11)   Y                                                                                           
    TRIGGER_BODY      LONG           Y                Action taken by this trigger when it fires                                 
    SQL> select * from user_triggers;
    TRIGGER_NAME                   TRIGGER_TYPE     TRIGGERING_EVENT                                                                 TABLE_OWNER                    BASE_OBJECT_TYPE TABLE_NAME                     COLUMN_NAME                                                                      REFERENCING_NAMES                                                                WHEN_CLAUSE                                                                      STATUS   DESCRIPTION                                                                      ACTION_TYPE TRIGGER_BODY
    TRGTEST                        BEFORE STATEMENT INSERT                                                                           HR                             TABLE            DEPARTMENTS                                                                                                     REFERENCING NEW AS NEW OLD AS OLD                                                                                                                                 ENABLED  trgTest                                                                          PL/SQL      DECLARE
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  before insert on departments                                                                   -- local variables here
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             BEGIN
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 nul;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             END trgTest;
    UPDATE_JOB_HISTORY             AFTER EACH ROW   UPDATE                                                                           HR                             TABLE            EMPLOYEES                                                                                                       REFERENCING NEW AS NEW OLD AS OLD                                                                                                                                 ENABLED  update_job_history                                                               PL/SQL      BEGIN
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  AFTER UPDATE OF job_id, department_id ON employees                                           add_job_history(:old.employee_id, :old.hire_date, sysdate,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  FOR EACH ROW                                                                              
    SECURE_EMPLOYEES               BEFORE STATEMENT INSERT OR UPDATE OR DELETE                                                       HR                             TABLE            EMPLOYEES                                                                                                       REFERENCING NEW AS NEW OLD AS OLD                                                                                                                                 ENABLED  secure_employees                                                                 PL/SQL      BEGIN
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  BEFORE INSERT OR UPDATE OR DELETE ON employees                                               secure_dml;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             END secure_employees;
    RK_ALT_BEF_TRG                 AFTER EVENT      ALTER                                                                            HR                             SCHEMA                                                                                                                           REFERENCING NEW AS NEW OLD AS OLD                                                                                                                                 ENABLED  rk_alt_bef_trg                                                                   PL/SQL      BEGIN
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                AFTER ALTER ON HR.SCHEMA                                                                         dbms_output.put_line('AFTER Schema trigger fired');
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 dbms_output.
    SQL> Regards,

  • Need to know schema name and table name associated with a column-URGENT

    Hi folks,
    I need to know the schema name and the table name associated with a column. Though jdbc has the api to getTableName and getSchemaName, some database vendor like oracle does return empty upon call of mentioned methods. I found that oracle driver does not support that ……
    Can any one give me the solution? It is urgent. Or do you suggest any third pary jdbc driver which can provide those?
    Thanks
    Angelina

    Angelina,
    Your question has been discussed several times previously in this forum. Search this forum's archives for "getTableName". Oracle JDBC driver does not implement this (because "it is not feasible" -- according to Oracle).
    First of all, I would suggest that you could probably change your application's logic so that you would not need this functionality (but I guess that is not feasible either, right :-)
    Alternatively, you could try querying the Oracle database data dictionary.
    Good Luck,
    Avi.

  • References between source tables and mappings

    Hi,
    I'm looking for a table, view etc. in the repository which shows me references between source table and mappings?
    cheers,
    Bernhard

    Here's another one:
    http://www.nicholasgoodman.com/bt/blog/2005/04/01/owb-sources-and-targets-sql/
    select
    distinct 'TARGET',
    comp.map_name,
    comp.data_entity_name,
    comp.operator_type
    from
    all_iv_xform_map_components comp,
    all_iv_xform_map_parameters param
    where
    lower(operator_type)
    in ('table', 'view', 'dimension', 'cube')
    and param.map_component_id = comp.map_component_id
    and param.source_parameter_id is not null
    UNION
    select
    distinct 'SOURCE',
    t1.c1,
    t1.c2,
    t1.c3
    from
    (select
    comp.map_name c1,
    comp.data_entity_name c2,
    comp.operator_type c3,
    max(param.source_parameter_id) c4
    from
    all_iv_xform_map_components comp,
    all_iv_xform_map_parameters param
    where
    lower(operator_type) in
    ('table', 'view', 'dimension', 'cube')
    and param.map_component_id = comp.map_component_id
    group by
    comp.map_name, comp.data_entity_name, comp.operator_type) t1
    where t1.c4 is null
    order by 2,1

  • Search help on table and its associated text table.

    Hi Experts,
    I am trying to create a serach help on T161-BSART field.
    I have to restrict the table entries from T016 with some conditions and so I cannot use the standard F4 help.
    To display the text also in the F4 help to the user, I have created a database view on tables T161 and T161T and associated it with my search help.
    But I am unable to put the language ( T016T-SPRAS ) as login language , thus I am getting multiple entries in the F4 help for all languages maintained in the table.
    Is there some way to restrict the database view on logon language or I will have to craete a search help exit.
    Thanks in advance.

    Please create a "help view" in the selection condition tab put your condition as System variables, i.e. fields of structure SYST, can also be defined for maintenance and help views. You can also use the prefix SY- instead of the prefix SYST-, that is SYST-LANGU and SY-LANGU are the same.

  • Shipping point field and associated table...

    Hi,
    Can someone tell me the field and table asscoiated with shipping point ?
    Also which transaction code we use for printing smartform for Bill of Lading ?
    Thanks.
    Regards,
    Tushar.

    Hi Tushar,
    some of the related tables which i found for Shipping point are <b>VTTK & VTTP</b> tables
    For the required tables and fields download this document from
    http://www.sap-img.com/sap-download/sap-tables.zip
    and look at the SD tables tables to know the shipping details..
    Reward if it helps
    Regards,
    Santosh

  • How to fetch the data from a pl/sql table and varray, with some example

    I want to fetch the data using a cursor from Pl/sql table and varry and I want to update the data.
    Please provide me some example.

    PL/SQL Table  - please note that, right term is Associative Array.
    Presumably you are referring to the 'often heated' back-and-forth that sometimes goes on in the forums when people refer to ANY PL/SQL type using a term with the word 'table' in it?
    Curious that you then show an example of a nested table!
    type emp_tab is table of employees%rowtype;
    The 'right term' for that is 'nested table'. The following would be an 'associative array' or 'index-by table'
    type emp_tab is table of employees%rowtype INDEX BY PLS_INTEGER;
    Those used to be called 'PL/SQL tables' or 'index-by tables' but 'associative array' is the current term used.
    Associative Arrays
    An associative array (formerly called PL/SQL table or index-by table) is a set of key-value pairs. Each key is a unique index, used to locate the associated value with the syntax variable_name(index).
    The data type of index can be either a string type or PLS_INTEGER.
    Since the Oracle docs often use 'PL/SQL table' or 'index-by table' it isn't unusual for someone asking a question to use those terms also. Technically the types may not be 'tables' but it's clear what they mean when they use the term.
    In PL/SQL the term 'nested table' is still used even though the PL/SQL collection is not really a table. SQL does have nested tables where the data is actually stored in a table. The PL/SQL  'nested table' type can be used as the source/destination of the SQL data from a nested table so that may be why Oracle uses that term for the PL/SQL type.
    The doc that SKP referenced refers to this use:
    Nested Tables
    In the database, a nested table is a column type that stores an unspecified number of rows in no particular order. When you retrieve a nested table value from the database into a PL/SQL nested table variable, PL/SQL gives the rows consecutive indexes, starting at 1.

  • BPM question - Delete all entries in a table and Insert data

    Hello,
    I'm new to PI BPM and have this scenario to implement.
    I'm supposed to delete all entries in a table and then insert data to the same table.
    Is BPM necessary? If it is, what is the best practice to implement my scenario?
    I want to make sure that all entries were successfully deleted before insert data.
    How do I check if all entries in the table were deleted successfully before
    initiating insert.
    Thank you.
    -Won

    Hi Won,
    Yes, this is possible without BPM.
    You have to create 2 separate mappings, each for deleting & inserting the records.
    You will have 2 different Interface mappings as well.
    But in ID, create a single interface determination.
    In that, configure Deletion interface mapping first and in the second row, configure Insertion interface mapping.
    Please make sure that the parameter 'Mainain Order At runtime' is checked in interface determination.
    -Supriya.

  • MS Access Web App: corrupted table, cannot open in Access anymore

    **tldr: How can I delete a corrupted table that prevents me from opening my Web App in Access?**
    I used the Access desktop client to create a new table with approx 20 lookup fields. When I tried saving the table, I received an error message about too many indices. So I set the index option to "no" for all the lookup fields and tried to close
    the "edit table view". However, I was not able to close the edit table view anymore. After trying for a while, I used the task manager to terminate Access.
    Now, when I try to open my app in Access by clicking the "customize in Access" button on the web, I receive several error messages:
     1. Operation failed: the table xxx contains too many indices. Delete some indices and try again. (this error message appears about 5 times)
     2. Microsoft Access can not create the table
     3. A problem occurred when trying to access a property or method of the OLE object.
    Next, I'm at the Access start screen. My application does not open.
    So, is there any other way I can delete the corrupted table without opening it through the Access client? Maybe directly accessing the SQL server? The database is configured to allow read/write connections, becasue I connected to the tables from an Access Desktop
    Database, but I'm not sure if I can delete a table or fields that way. Any help is greatly appreciated!
    [I translated the error messages from German, so they might be slightly different in the English version]

    **tldr: How can I delete a corrupted table that prevents me from opening my Web App in Access?**
    I used the Access desktop client to create a new table with approx 20 lookup fields. When I tried saving the table, I received an error message about too many indices. So I set the index option to "no" for all the lookup fields and tried to close
    the "edit table view". However, I was not able to close the edit table view anymore. After trying for a while, I used the task manager to terminate Access.
    Now, when I try to open my app in Access by clicking the "customize in Access" button on the web, I receive several error messages:
     1. Operation failed: the table xxx contains too many indices. Delete some indices and try again. (this error message appears about 5 times)
     2. Microsoft Access can not create the table
     3. A problem occurred when trying to access a property or method of the OLE object.
    Next, I'm at the Access start screen. My application does not open.
    So, is there any other way I can delete the corrupted table without opening it through the Access client? Maybe directly accessing the SQL server? The database is configured to allow read/write connections, becasue I connected to the tables from an Access Desktop
    Database, but I'm not sure if I can delete a table or fields that way. Any help is greatly appreciated!
    [I translated the error messages from German, so they might be slightly different in the English version]
    Not sure, but you may have to many indexes created, see below article:
    Indexes on a Table
    Hope its not corrupted though. If so, I hope you have a backup in place.
    Try to Compact & Repair and also check below article: 
    Recovering from Corruption
    Hope this helps,
    Daniel van den Berg | Washington, USA | "Anticipate the difficult by managing the easy"
    Please vote an answer helpful if they helped. Please mark an answer(s) as an answer when your question is being answered.

  • Lookup Table and Target Table are the same

    Hi All,
    I have a requirement in which I have to lookup the target table and based on the records in it, I need to load a new record into the target table.
    Being very specific,
    Suppose I have a key column which when changes I want to generate a new id and then insert this new value.
    The target table record structure looks like this
    list_id list_key list_name
    1 'A' 'NAME1'
    1 'A' 'NAME2'
    1 'A' 'NAME3'
    2 'B' 'NAME4'
    2 'B' 'NAME5'
    As shown the target table list_id changes only when the list key changes. I need to generate the list_id value from within OWB mapping.
    Can anyone throw some light as to how this can be done in OWB???
    regards
    -AP

    Hello, AP
    You underestimate the power of single mapping :) If you could tolerate using additional stage table (with is definitly recomended in case your table from example will account a lot of rows).
    You underestimate the power of single mapping :) It you could tolerate using additional stage table (witch is definitely recommended in case your table from example will account a lot of rows), you could accomplish all you need within one mapping and without using PLSQL function. This is true as far as you could have several targets within one mapping.
    Source ----------------------------------------------------- >| Join2 | ---- > Target 2
    |------------------------ >|Join 1| --> Lookup table -->|
    Target Dedup >|
    Here “Target” – your target table. “Join 1“ – operator covers operations needed to get existing key mapping (from dedup) and find new mappings. Results are stored within Lookup Table target (operation type TRUNCATE/INSERT).
    “Join 2” is used to perform final lookup and load it into the “Target 2” – the same as “Target”
    The approach with lookup table is fast and reliable and could run on Set base mode. Also you could revisit lookup table to find what key mapping are loaded during last load operation.
    Serhit

  • How to create tables and relationship between ?

    Hello everybody,<o:p></o:p>
    I have three table with structures as follow:<o:p></o:p>
    <o:p> </o:p>
    Table1
    contains information on ledger accounts,and
    Table2 contains Groups of the detailed
    accounts.
    When defining ledger
    accounts , we must associated them with
    groups of detailed accountsthat
    are
    set
    by the
    Check
    boxes. groups of detailed accounts are three
    levels, At each level, there are fifteen
    groups as follow:
    1_others ,2_People ,3_companies ,4_
    Cost centers ,5_projects ,6_
    Letter of Credits ,7_ Current
    Accounts ,8_
    Banking facilities ,9_
    Commodity ,10_ Branches
    aggregation ,11_ Purchase
    Contract
    Services ,12_
    Sales Contract
    Services ,13_
    Export Products ,14_
    Control account ,15_
    Months.Table3 contains detailed accounts information that should associated with groups of detailed accounts(fifiteen groups).
    In addition, we
    have in our program four combobox,
    detailed accounts must be
    linked to the detailed groups
    so that, by selecting one ledger account in combobox1 it should display detailed accounts of level1 in combobox2 ,detailed accounts of level2
    in combobox3 and detailed accounts of level3 in combobox4.<o:p></o:p>
    <o:p> </o:p>
    How
    to design tables and the relationships between them, so
    with select the ledger account I can see the detailed
    accounts of per level in other comboboxes?<o:p></o:p>
    <o:p> </o:p>
    I've
    spent
    a lot of time
    on this
    subject
    but
    I have
    not been able
    to
    solve this problem.<o:p></o:p>
    Please help me,<o:p></o:p>
    Best regards.<o:p></o:p>

    I am guessing....I hope it is helpful...
    >1_others ,2_People ,3_companies ,4_
    Cost centers ,5_projects ,6_
    Letter of Credits ,7_ Current
    Accounts ,8_
    Banking facilities ,9_
    Commodity ,10_ Branches
    aggregation ,11_ Purchase
    Contract
    Services ,12_
    Sales Contract
    Services ,13_
    Export Products ,14_
    Control account ,15_
    Months.
    Setup a table for each.
    >Table3 contains detailed accounts information that should associated with groups of detailed accounts(fifiteen groups).
    Setup the AccountDetail(1,2,3 level) tables with 15 NULLABLE FOREIGN KEYs. If some group is not applicable for an FK, keep the value NULL, otherwise enter a valid PK value.
    >Table1
    contains information on ledger
    accounts,and Table2 contains
    Groupsof the detailed
    accounts
    Setup LedgerAccount tables.
    Setup LedgerDetailXref table with FOREIGN KEYS to LedgerAccount & AccountDetail(1,2,3) tables.
    FOREIGN KEY examples: http://www.sqlusa.com/bestpractices2005/bankdatabase/
    Kalman Toth Database & OLAP Architect
    SQL Server 2014 Design & Programming
    New Book / Kindle: Exam 70-461 Bootcamp: Querying Microsoft SQL Server 2012

  • Heap tables and index organized tables

    I performing migration from mssql server to oracle 10gr2 rdbms, in mssql all tables have clustered pk, index. Is it necessary to use index organized tables for that migration, or enough ordinal heap organized tables and what differences between those tables, and mssql tables
    Thanx

    In Oracle, the typical table is a standard 'heap' table. Stuff goes into the heap table randomly, and randomly comes out.
    An Index Organizaed Tables is somewhat similar to a Cluster Index in SS. It can have some performance advantages over heap tables - when the heap table has an associated index on the primary key.
    The IOT can also have some disadvantages, such as the need for an Overflow table to handle the extra data when a row doesn't conveniently fit in a block (implying multiple I/Os), and an extra translation table if bitmap indexes are required (implying extra I/Os).
    An unintelligent developer will generally believe that Oracle and SQL Server are the same - after all they both run SQL - and will attempt to port by a simple translation of syntax.
    An intelligent developer will test both styles of tables, during a port. Such a developer will also be quick to learn about the changes in internals (such as locking mechanisms) and will realize that different styles of coding are required for many application situations.
    I recommend reading Tom Kyte's books to get handle on pros and cons as well as testing techniques to help a developer become intelligent.

  • SSMS is not listing table and views objects though the objects are listed when I execute TSql string "SELECT * FROM sys.Tables"

    I have a db, call it xyz.mdb
    It suddenly is that SSMS is not listing the table objects nor the Views.  SELECT * FROM sys.Tables and SELECT * FROM sys.Views work very fine.  But when I click on the tables node, on Objects Explorer, Only the Systems Tables and File Tables folders
    show. 
    Other DBs on same SQL instance do not show same problem.  They are all working very fine.
    I have backed up and restored this db on other computers and the behaviour is the same.  Incidentally right-clicking the db and clicking Properties throws up this error message.
    -------------------------------------------------------------------------Error!
    Cannot show requested dialog.
    Property Size is not available for Database '[Pliny E DB - NOA 2014]'. This property may not exist for this object, or may not be retrievable due to insufficient access rights.  (Microsoft.SqlServer.Smo)
    For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&ProdVer=11.0.3000.0+((SQL11_PCU_Main).121019-1325+)&EvtSrc=Microsoft.SqlServer.Management.Smo.ExceptionTemplates.PropertyCannotBeRetrievedExceptionText&EvtID=Size&LinkId=20476
    --------------------------------------------------------------------------------End>
    When I try to Refrresh the Tables node on Object Explorer, I get this other:
    ------------------------------Error!
    SQL Server detected a logical consistency-based I/O error: incorrect checksum (expected: 0x9090d9b7; actual: 0x909001b4). It occurred during a read of page (1:1173) in database ID 21 at offset 0x0000000092a000 in file 'c:\Databases\Clients\NOA\Pliny E DB -
    NOA 2014.mdf'.  Additional messages in the SQL Server error log or system event log may provide more detail. This is a severe error condition that threatens database integrity and must be corrected immediately. Complete a full database consistency check
    (DBCC CHECKDB). This error can be caused by many factors; for more information, see SQL Server Books Online. (Microsoft SQL Server, Error: 824)
    For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft%20SQL%20Server&EvtSrc=MSSQLServer&EvtID=824&LinkId=20476
    ------------------------------End>
    The Help link of course is not valid any more.
    Many thanks
    Vie
    @Abuja
    Vie

    Your database is corrupted and you need to run.
    DBCC CHECKDB
    You already have a backup so do it...
    This link will provide you with more information:
    http://msdn.microsoft.com/en-us/library/ms176064.aspx

Maybe you are looking for