Re-map table usage in Oracle9i Designer

Hi,
I have Web application in Designer. One of the module components has a table usage that is based on a view. After some initial testing, we determined that the view was not going to be fast enough for the application. We created a materialized view which solved our speed issue. However, our module component table usage is still referencing the original view. I tried to "copy object" on the module, which from what I've read allows the re-mapping of table usages. However, my client crashes when I click the remap button.
I'm using Oracle9i Designer 9.0.4.4.8.
Does anyone have any ideas, or possibly another way of accomplishing this task?
Thanks,
Chad

I'm trying to understand what you have and what you are trying to do. First of all, the Web PL/SQL generator requires you to generate Table APIs (TAPIs) for every table referenced in a module component. If you created one based on a view, the only way to get it to work is to generate a TAPI on the view, which Designer doesn't do natively. I've fooled Designer into generating a view TAPI by creating a table definition that looks exactly like the view and has the same name, and generating the TAPI for that table. Even then, I have to hand-modify the resulting TAPI to remove references to ROWID, since views don't have rowids.
I've never tried generating TAPI against a materialized view (MV) - it might work, since there really is a table to instantiate the MV, but it might require the same work around as the view.
As for the reference in the module component definition, I think you have to delete the old table reference and create a new one. I'm not sure what you are doing with "copy object". Remapping is usually done when you are copying an object from one application system to another, and want the references to point at equivalent objects in the new application system, not the objects in the old one.

Similar Messages

  • Table usage in a module component necessary?

    hi,
    i would like to design a simply forms application. I need only two unbound text-fields (and two buttons) in a window.
    I create
    1. a module
    2. a module component
    3. four unbound items (two text; two button)
    4. I get the following generation error:
    CGEN-00041 ERROR: Module: MY_MODULE has no module components and/or table usages
    6. Ok, I create a table usage with one bound item (Rows Displayed = 1, Display = no)
    It is really necessary to create a table usage? I only need four unbound items(!!!)
    in a forms mask. The data will be not save in database, but they are important for a win_api_dialog in my application. I choose one of x tables in the base table usage window. Perhaps it is better to select the DUAL table!? Does anybody know an another solution without creating a table usage?
    best regards,
    tom rakete

    hi jflack, lennartv,
    I found a solution to generate a forms module without a table usage in the designer. After creating two unbound items I create an action item. I set the datasource type of the module component to >>none<<, because there is no table usage. Now the generation is successful.
    best regards,
    tom

  • LOV on  item on 2nd level lookup table usages - Designer 6i

    In Designer 6i, creating a module:
    In a module component, I have a lookup table usage which in turn has a lookup table usage against it ...etc
    e.g
    MCO
    - Base tab 1
    - Lookup tab 1
    - Lookup tab 2
    - Lookup tab 3
    Can I have an LOV fire up from and return into display items in lookup tab 2 and 3 ????
    Currently the generator sets any item from those table which I make INSERTable, back to Display only.

    Mr Short
    unless the behaviour has been changed in 6i, its not possible.

  • Message mapping: table lookup

    The requirement:
    Source message contains some keys and values, and target message has different keys. Values are simply mapped. no problem. but the mapping between source message keys and target message keys is a bit complicated so it is controlled in a seperate table. End users do maintainance jobs on the mapping table on a daily base.
    I checked some threads in this forum and I now understand that this kind of table lookup can be done using the combination of JCo, ABAP programs and ABAP tables, but what is the common way in dealing with such kind of requirement?

    You can use value mapping if you are not looking at picking up values from application system.It is just like SM30 transcation.You can get the info under SAP XI->Design and Configuration->Configuration->Value Mapping.
    If you are in SP13 you can use lookup API SAP XI->Design and Configuration->Design->Mapping look ups.

  • Lookup value mapping table through message mapping.

    Hello All,
    I am working on a graphical mapping (message mapping). When trying to map the source message to the target message, I need to find out it a particular <b>key</b> exists in the <b>value mapping table</b>. Depending on the result, I need to map different source fields to the target field.
    Is there any inbuilt function which will allow me to do a lookup on a value mapping table, or is it possible to lookup a value mapping table from a UDF?
    Please help!
    Warm Regards,
    Keerti

    Hi,
    Please see the below links for Value mapping ..
    Value mapping /people/sukumar.natarajan/blog/2006/10/23/accessing-value-mapping-defined-in-directory-using-java-functions
    Value mapping in XSLT /people/sreekanth.babu2/blog/2005/01/05/design-time-value-mappings-in-xslt
    Value Mapping replication - /people/sreekanth.babu2/blog/2005/02/23/value-mapping-replication
    Also see
    https://www.sdn.sap.com/irj/sdn/advancedsearch?query=value%20mapping%20in%20xi&cat=sdn_weblog
    /people/community.user/blog/2007/01/08/valuemapping-using-the-graphical-mapping-tool
    /people/alessandro.guarneri/blog/2006/03/27/sap-xi-lookup-api-the-killer
    https://www.sdn.sap.com/irj/sdn/advancedsearch?query=value%20mapping%20in%20xi&cat=sdn_weblog
    Regards
    Pradeep N

  • Accessing ID Value Mapping table in XSLT

    Hi Experts,
    In the XSLT mapping,I would like to access my value mapping table which i defined in ID .The purpose of ID value mapping here is, the table entries will be changing in future and i don want to use fix values, XML table  which is defined in runtime.
    I have gone through the blog
    /people/sreekanth.babu2/blog/2005/01/05/design-time-value-mappings-in-xslt
    which explians design value mapping table in XSLT.
    Is there any way to access Configuration Value Mapping table in XSLT? If yes, can you explain how should i achieve it ?

    Hi,
    you can use the xivmService to call ID val map tables.
    Use tha java function executeMapping, Its a standard SAP api.
    Declare the Service in XSLT at start
    <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:vm="com.sap.aii.mapping.value.api.XIVMService" version="1.0"> 
    Call the val mapping table using below template wherever required.
    <xsl:template name="ValueMapping">
    <xsl:param name="SenderParam"/>
    <xsl:value-of select="vm:executeMapping( 'SenderType', 'SenderTypeSchema', $SenderParam, 'receiverType', ReceiverTypeSchema')"/>
    </xsl:template>
    Call template like :
    <xsl:call-template name="ValueMapping">
    <xsl:with-param name="SenderParam">
    try it and let me know if you have any doubt.
    regards
    Inder
    Edited by: Kulwinder Grewal on Aug 12, 2009 11:36 PM

  • Issue with Value Mapping table

    Hi
    I want to upload a external value mapping table to XI.
    I do not want to code for it on the SAP R/3 side. and there might be more than 2000 value mappings. so can we upload a external mapping table.
    Is it possible?? if yes, then how??.
    Thanks
    Nikhil

    XI 3.0
    Hi,
    first of all one helpful information:
    You can see all data of the value mapping tables using the
    runtime workbench: Go to the IntegrationBuilder->
    Integration Monitoring->Cache Monitoring, select 'Search
    for Value-Mapping' and choose your context.
    The value mapping tables are located in the J2EE part of
    XI. You have to send your value mapping data to an Java proxy
    located in the J2EE part. First, the inbound proxies
    (synchronous and asynchronous) need to be activated.
    There are two urls, named in the docu, you have to call
    from a web browser:
    (asynchronous replication scenario)
    http://<Server>:<Port>/ProxyServer/register?ns=http://sap.com/xi/XI/System&interface=ValueMappingReplicationSynchronous&bean=localejbs/sap.com/com.sap.xi.services/ValueMappingApplicationSynchronous&method=valueMappingReplicationSynchronous
    (synchronous replication scenario)
    http://<Server>:<Port>/ProxyServer/register?ns=http://sap.com/xi/XI/System&interface=ValueMappingReplication&bean=localejbs/sap.com/com.sap.xi.services/ValueMappingApplication&method=valueMappingReplication
    You only need to perform this step once (for each
    installation).
    If you already have a sender for the mapping data, the
    next step is to configure the scenario in the directory
    Create a communication channel with
    Adapter type: XI
    Transport protocol: HTTP 1.0
    Message-Protocol: XI 3.0
    Adapter-Engine: Integration Server
    and host name and http port of the XI J2EE Engine and Path Prefix: /MessagingSystem/receive/JPR/XI
    The user XIAPPLUSER has the required permissions.
    For an asynchronous communication you can use the
    inbound interface ValueMappingReplication from the namespace http://sap.com/xi/XI/System.
    In that namespace there are also outbound interfaces you
    can use to generate a sender proxy and synchronous
    interfaces for the same purpose. Set the created communication channel as the receiver channel.
    You may need a mapping and so on depending on your
    sender. If you use the provided outbound interfaces there
    is no mapping required.
    The Data:
    You can create your own GUIDs using some function like GUID_CREATE in ABAP. You don't need to declare the context you use. Something like http://mycompany.com/Test should be ok.
    A sample in ABAP:
    CRM and R3 are the names of the business systems.
    data: lcl_value_mapping type ref to co_svmr_value_mapping_rep,
            ls_value_mappings type svmr_value_mapping_replication,
            ls_item type svmr_value_mapping_rep_item,
            lcl_system_fault type ref to cx_ai_system_fault.
      ls_item-operation = 'Insert'.
      ls_item-group_id = '315286378563858425463215845123548'.
      ls_item-context = 'http://Test'.
      ls_item-identifier-scheme = 'FormOfAddress'.
      ls_item-identifier-agency = 'CRM'.  <- Business System A
      ls_item-identifier-value = '2'.
      append ls_item to ls_value_mappings-value_mapping_replication-item.
      ls_item-operation = 'Insert'.
    Use the same guid for another value of the same group
      ls_item-group_id = '315286378563858425463215845123548'.
      ls_item-context = 'http://Test'.
      ls_item-identifier-scheme = 'FormOfAddress'.
      ls_item-identifier-agency = 'R3'. <- Business System B
      ls_item-identifier-value = '1'.
      append ls_item to ls_value_mappings-value_mapping_replication-item.
      create object lcl_value_mapping.
      try.
          call method lcl_value_mapping->execute_asynchronous
            exporting
              output = ls_value_mappings.
          commit work.
        catch cx_ai_system_fault into lcl_system_fault.
          write: 'Error: ', lcl_system_fault->errortext.
      endtry.
    See the XI documentation at SAP XI Design and Configuration Time -> Configuration -> Value Mapping -> Value mapping Replication for Mass Data.
    Hope that helps.
    Regards,
    Christian

  • Table usage in forms

    Hi,
    Is there a simple way to find out the tables used in a particular form (6i)?
    I have to make a list of the table usage per form (about 200 forms).
    The forms info is not stored in a database or in designer.
    Regards

    Hi,
    Is there a simple way to find out the tables used in a particular form (6i)?
    I have to make a list of the table usage per form (about 200 forms).
    The forms info is not stored in a database or in designer.
    Regards

  • Change table usage in a form

    Hello,
    I've been working on a project for a few months now, and in charge of building Forms.
    Just recently we upgraded our Designer 6.0 to Developer Suite 10g (Designer 9.0.4.5.6).
    In their infinite wisdom, the architects have chosen to rename some of the applications and following CDM-standards, all table definitions will have to be renamed also.
    As I am not keen on having to change all table usages in my forms manually, I would like to know if there is a way to do it in Designer itself.
    I know this wasn't possible in the older Designer version, so before I handled something like that in Forms Builder. But now another demand of the project is, to be able to have 100% generation for all forms, so that's not an option anymore.
    So, do I face a lot of work or can anyone give me something I can try?

    Hi,
    I'm sorry to say that maybe you have a lot of effort to pay.
    However, I think you have a tricky way that can help you solve your problem, but not considered a good solution. You can do remaping by overriding the default DML functionality of Form. In detail, you can override ON-INSERT,ON-UPDATE,ON-DELETE,ON-LOCK and ON-FETCH to replace the default SQL statements that Forms Builder automatically generates.
    In this case you just add these triggers to your changed modules, and that's all.
    Regards

  • OMWB 1.3 hangs while mapping tables from SQLServer 7

    I am converting a SQLServer 7 database to Oracle 8.1.7.
    As soon as the Oracle model creation process gets to Mapping tables, the OMWB hangs and has to be killed off.
    Any help would be appreciated.
    Here is the error log.
    ** Oracle Migration Workbench
    ** Release 1.3.0.0.0 Production
    ** ( Build 18072000 )
    ** ORACLE_HOME: C:\oracle\ora81
    ** user language: en
    ** user region: GB
    ** user timezone: GMT
    ** file encoding: Cp1252
    ** java version: 1.1.7.30o
    ** java vendor: Oracle Corporation
    ** o.s. arch: x86
    ** o.s. name: Windows NT
    ** o.s. version: 4.0
    ** Classpath:
    C:\oracle\ora81\Omwb\olite\Oljdk11.jar;C:\oracle\ora81\Omwb\olite\Olite40.jar;C:\Program Files\Oracle\jre\1.1.7\lib\rt.jar;C:\Program Files\Oracle\jre\1.1.7\lib\i18n.jar;C:\oracle\ora81\Omwb\jlib;C:\oracle\ora81\Omwb\plugins\SQLServer6.jar;C:\oracle\ora81\Omwb\plugins\Sybase.jar;C:\oracle\ora81\Omwb\plugins\MSAccess.jar;C:\oracle\ora81\Omwb\plugins\SQLAnywhere.jar;C:\oracle\ora81\Omwb\plugins\SQLServer7.jar;C:\oracle\ora81\Omwb\jlib\omwb-1_3_0_0_0.jar;C:\oracle\ora81\jdbc\lib\classes111.zip;C:\oracle\ora81\lib\vbjorb.jar;C:\oracle\ora81\jlib\ewt-swingaccess-1_1_1.jar;C:\oracle\ora81\jlib\ewt-3_3_6.jar;C:\oracle\ora81\jlib\ewtcompat-opt-3_3_6.zip;C:\oracle\ora81\jlib\share-1_0_8.jar;C:\oracle\ora81\jlib\help-3_1_8.jar;C:\oracle\ora81\jlib\ice-4_06_6.jar;C:\oracle\ora81\jlib\kodiak-1_1_3.jar
    ** Started : Thu Apr 25 11:07:29 GMT 2002
    ** The following plugins are installed:
    ** MS SQLServer 6.5 Release 1.3.0.0.0 Production
    ** MS SQLServer 7.0 Release 1.3.0.0.0 Production
    ** Sybase Adaptive Server 11 Release 1.3.0.0.0 Production
    Invalid CollisionInfo object created:
    _oracleID : 0
    _oracleModifiedObjectName : null
    _oracleObjectName : null
    _oracleObjectOwner : null
    _oracleObjectType : null
    _oracleNameSpaceType : null
    _collisionCount : 0
    java.lang.Exception
         at oracle.mtg.oracleModel.server.CollisionInfo.<init>(CollisionInfo.java:50)
         at oracle.mtg.oracleModel.server.CollisionManager.addObjectName(CollisionManager.java:273)
         at oracle.mtg.oracleModel.server.CollisionManager.compliantTableName(CollisionManager.java:777)
         at oracle.mtg.oracleModel.server.OracleModelImpl.insertTable(OracleModelImpl.java:3008)
         at oracle.mtg.sqlserver7.server.SQLServer7SourceModelMap._mapTables(SQLServer7SourceModelMap.java:1531)
         at oracle.mtg.sqlserver7.server.SQLServer7SourceModelMap.mapSourceModel(SQLServer7SourceModelMap.java:206)
         at oracle.mtg.sqlserver7.ui.SQLServer7CaptureWizard.map(SQLServer7CaptureWizard.java:252)
         at oracle.mtg.migrationUI.ActionMenuHandler._mapSourceModel(ActionMenuHandler.java:428)
         at oracle.mtg.migrationUI.ActionMenuHandler.run(ActionMenuHandler.java:167)
         at oracle.mtg.migration.WorkerThread.run(Worker.java:269)
    Invalid CollisionInfo object created:
    _oracleID : 0
    _oracleModifiedObjectName : null
    _oracleObjectName : null
    _oracleObjectOwner : null
    _oracleObjectType : null
    _oracleNameSpaceType : null
    _collisionCount : 0
    java.lang.Exception
         at oracle.mtg.oracleModel.server.CollisionInfo.<init>(CollisionInfo.java:50)
         at oracle.mtg.oracleModel.server.CollisionManager.addObjectName(CollisionManager.java:273)
         at oracle.mtg.oracleModel.server.CollisionManager.compliantColumnNames(CollisionManager.java:717)
         at oracle.mtg.oracleModel.server.OracleModelImpl._mapTableColumns(OracleModelImpl.java:6197)
         at oracle.mtg.oracleModel.server.OracleModelImpl.insertTable(OracleModelImpl.java:3014)
         at oracle.mtg.sqlserver7.server.SQLServer7SourceModelMap._mapTables(SQLServer7SourceModelMap.java:1531)
         at oracle.mtg.sqlserver7.server.SQLServer7SourceModelMap.mapSourceModel(SQLServer7SourceModelMap.java:206)
         at oracle.mtg.sqlserver7.ui.SQLServer7CaptureWizard.map(SQLServer7CaptureWizard.java:252)
         at oracle.mtg.migrationUI.ActionMenuHandler._mapSourceModel(ActionMenuHandler.java:428)
         at oracle.mtg.migrationUI.ActionMenuHandler.run(ActionMenuHandler.java:167)
         at oracle.mtg.migration.WorkerThread.run(Worker.java:269)
    Collisionmanager.addObjectName : removing invalid CollisionInfo object from bucket o
    Invalid CollisionInfo object created:
    _oracleID : 0
    _oracleModifiedObjectName : null
    _oracleObjectName : null
    _oracleObjectOwner : null
    _oracleObjectType : null
    _oracleNameSpaceType : null
    _collisionCount : 0
    java.lang.Exception
         at oracle.mtg.oracleModel.server.CollisionInfo.<init>(CollisionInfo.java:50)
         at oracle.mtg.oracleModel.server.CollisionManager.addObjectName(CollisionManager.java:372)
         at oracle.mtg.oracleModel.server.CollisionManager.compliantColumnNames(CollisionManager.java:717)
         at oracle.mtg.oracleModel.server.OracleModelImpl._mapTableColumns(OracleModelImpl.java:6197)
         at oracle.mtg.oracleModel.server.OracleModelImpl.insertTable(OracleModelImpl.java:3014)
         at oracle.mtg.sqlserver7.server.SQLServer7SourceModelMap._mapTables(SQLServer7SourceModelMap.java:1531)
         at oracle.mtg.sqlserver7.server.SQLServer7SourceModelMap.mapSourceModel(SQLServer7SourceModelMap.java:206)
         at oracle.mtg.sqlserver7.ui.SQLServer7CaptureWizard.map(SQLServer7CaptureWizard.java:252)
         at oracle.mtg.migrationUI.ActionMenuHandler._mapSourceModel(ActionMenuHandler.java:428)
         at oracle.mtg.migrationUI.ActionMenuHandler.run(ActionMenuHandler.java:167)
         at oracle.mtg.migration.WorkerThread.run(Worker.java:269)
    Collisionmanager.addObjectName : removing invalid CollisionInfo object from bucket o
    Invalid CollisionInfo object created:
    _oracleID : 0
    _oracleModifiedObjectName : null
    _oracleObjectName : null
    _oracleObjectOwner : null
    _oracleObjectType : null
    _oracleNameSpaceType : null
    _collisionCount : 0
    java.lang.Exception
         at oracle.mtg.oracleModel.server.CollisionInfo.<init>(CollisionInfo.java:50)
         at oracle.mtg.oracleModel.server.CollisionManager.addObjectName(CollisionManager.java:372)
         at oracle.mtg.oracleModel.server.CollisionManager.compliantColumnNames(CollisionManager.java:717)
         at oracle.mtg.oracleModel.server.OracleModelImpl._mapTableColumns(OracleModelImpl.java:6197)
         at oracle.mtg.oracleModel.server.OracleModelImpl.insertTable(OracleModelImpl.java:3014)
         at oracle.mtg.sqlserver7.server.SQLServer7SourceModelMap._mapTables(SQLServer7SourceModelMap.java:1531)
         at oracle.mtg.sqlserver7.server.SQLServer7SourceModelMap.mapSourceModel(SQLServer7SourceModelMap.java:206)
         at oracle.mtg.sqlserver7.ui.SQLServer7CaptureWizard.map(SQLServer7CaptureWizard.java:252)
         at oracle.mtg.migrationUI.ActionMenuHandler._mapSourceModel(ActionMenuHandler.java:428)
         at oracle.mtg.migrationUI.ActionMenuHandler.run(ActionMenuHandler.java:167)
         at oracle.mtg.migration.WorkerThread.run(Worker.java:269)
    Collisionmanager.addObjectName : removing invalid CollisionInfo object from bucket o
    Invalid CollisionInfo object created:
    _oracleID : 0
    _oracleModifiedObjectName : null
    _oracleObjectName : null
    _oracleObjectOwner : null
    _oracleObjectType : null
    _oracleNameSpaceType : null
    _collisionCount : 0
    java.lang.Exception
         at oracle.mtg.oracleModel.server.CollisionInfo.<init>(CollisionInfo.java:50)
         at oracle.mtg.oracleModel.server.CollisionManager.addObjectName(CollisionManager.java:372)
         at oracle.mtg.oracleModel.server.CollisionManager.compliantColumnNames(CollisionManager.java:717)
         at oracle.mtg.oracleModel.server.OracleModelImpl._mapTableColumns(OracleModelImpl.java:6197)
         at oracle.mtg.oracleModel.server.OracleModelImpl.insertTable(OracleModelImpl.java:3014)
         at oracle.mtg.sqlserver7.server.SQLServer7SourceModelMap._mapTables(SQLServer7SourceModelMap.java:1531)
         at oracle.mtg.sqlserver7.server.SQLServer7SourceModelMap.mapSourceModel(SQLServer7SourceModelMap.java:206)
         at oracle.mtg.sqlserver7.ui.SQLServer7CaptureWizard.map(SQLServer7CaptureWizard.java:252)
         at oracle.mtg.migrationUI.ActionMenuHandler._mapSourceModel(ActionMenuHandler.java:428)
         at oracle.mtg.migrationUI.ActionMenuHandler.run(ActionMenuHandler.java:167)
         at oracle.mtg.migration.WorkerThread.run(Worker.java:269)
    Collisionmanager.addObjectName : removing invalid CollisionInfo object from bucket o
    Invalid CollisionInfo object created:
    _oracleID : 0
    _oracleModifiedObjectName : null
    _oracleObjectName : null
    _oracleObjectOwner : null
    _oracleObjectType : null
    _oracleNameSpaceType : null
    _collisionCount : 0
    java.lang.Exception
         at oracle.mtg.oracleModel.server.CollisionInfo.<init>(CollisionInfo.java:50)
         at oracle.mtg.oracleModel.server.CollisionManager.addObjectName(CollisionManager.java:372)
         at oracle.mtg.oracleModel.server.CollisionManager.compliantColumnNames(CollisionManager.java:717)
         at oracle.mtg.oracleModel.server.OracleModelImpl._mapTableColumns(OracleModelImpl.java:6197)
         at oracle.mtg.oracleModel.server.OracleModelImpl.insertTable(OracleModelImpl.java:3014)
         at oracle.mtg.sqlserver7.server.SQLServer7SourceModelMap._mapTables(SQLServer7SourceModelMap.java:1531)
         at oracle.mtg.sqlserver7.server.SQLServer7SourceModelMap.mapSourceModel(SQLServer7SourceModelMap.java:206)
         at oracle.mtg.sqlserver7.ui.SQLServer7CaptureWizard.map(SQLServer7CaptureWizard.java:252)
         at oracle.mtg.migrationUI.ActionMenuHandler._mapSourceModel(ActionMenuHandler.java:428)
         at oracle.mtg.migrationUI.ActionMenuHandler.run(ActionMenuHandler.java:167)
         at oracle.mtg.migration.WorkerThread.run(Worker.java:269)
    Collisionmanager.addObjectName : removing invalid CollisionInfo object from bucket o
    Invalid CollisionInfo object created:
    _oracleID : 0
    _oracleModifiedObjectName : null
    _oracleObjectName : null
    _oracleObjectOwner : null
    _oracleObjectType : null
    _oracleNameSpaceType : null
    _collisionCount : 0
    java.lang.Exception
         at oracle.mtg.oracleModel.server.CollisionInfo.<init>(CollisionInfo.java:50)
         at oracle.mtg.oracleModel.server.CollisionManager.addObjectName(CollisionManager.java:372)
         at oracle.mtg.oracleModel.server.CollisionManager.compliantColumnNames(CollisionManager.java:717)
         at oracle.mtg.oracleModel.server.OracleModelImpl._mapTableColumns(OracleModelImpl.java:6197)
         at oracle.mtg.oracleModel.server.OracleModelImpl.insertTable(OracleModelImpl.java:3014)
         at oracle.mtg.sqlserver7.server.SQLServer7SourceModelMap._mapTables(SQLServer7SourceModelMap.java:1531)
         at oracle.mtg.sqlserver7.server.SQLServer7SourceModelMap.mapSourceModel(SQLServer7SourceModelMap.java:206)
         at oracle.mtg.sqlserver7.ui.SQLServer7CaptureWizard.map(SQLServer7CaptureWizard.java:252)
         at oracle.mtg.migrationUI.ActionMenuHandler._mapSourceModel(ActionMenuHandler.java:428)
         at oracle.mtg.migrationUI.ActionMenuHandler.run(ActionMenuHandler.java:167)
         at oracle.mtg.migration.WorkerThread.run(Worker.java:269)
    Collisionmanager.addObjectName : removing invalid CollisionInfo object from bucket o
    Invalid CollisionInfo object created:
    _oracleID : 0
    _oracleModifiedObjectName : null
    _oracleObjectName : null
    _oracleObjectOwner : null
    _oracleObjectType : null
    _oracleNameSpaceType : null
    _collisionCount : 0
    java.lang.Exception
         at oracle.mtg.oracleModel.server.CollisionInfo.<init>(CollisionInfo.java:50)
         at oracle.mtg.oracleModel.server.CollisionManager.addObjectName(CollisionManager.java:372)
         at oracle.mtg.oracleModel.server.CollisionManager.compliantColumnNames(CollisionManager.java:717)
         at oracle.mtg.oracleModel.server.OracleModelImpl._mapTableColumns(OracleModelImpl.java:6197)
         at oracle.mtg.oracleModel.server.OracleModelImpl.insertTable(OracleModelImpl.java:3014)
         at oracle.mtg.sqlserver7.server.SQLServer7SourceModelMap._mapTables(SQLServer7SourceModelMap.java:1531)
         at oracle.mtg.sqlserver7.server.SQLServer7SourceModelMap.mapSourceModel(SQLServer7SourceModelMap.java:206)
         at oracle.mtg.sqlserver7.ui.SQLServer7CaptureWizard.map(SQLServer7CaptureWizard.java:252)
         at oracle.mtg.migrationUI.ActionMenuHandler._mapSourceModel(ActionMenuHandler.java:428)
         at oracle.mtg.migrationUI.ActionMenuHandler.run(ActionMenuHandler.java:167)
         at oracle.mtg.migration.WorkerThread.run(Worker.java:269)
    java.lang.NullPointerException:
         at oracle.lite.poljdbc.POLJDBCPreparedStatement.setString(Unknown Source)
         at oracle.mtg.oracleModel.server.OracleModelImpl._insertObjInfo(OracleModelImpl.java:7348)
         at oracle.mtg.oracleModel.server.OracleModelImpl._insertObjInfo(OracleModelImpl.java:7311)
         at oracle.mtg.oracleModel.server.OracleModelImpl.insertTable(OracleModelImpl.java:3016)
         at oracle.mtg.sqlserver7.server.SQLServer7SourceModelMap._mapTables(SQLServer7SourceModelMap.java:1531)
         at oracle.mtg.sqlserver7.server.SQLServer7SourceModelMap.mapSourceModel(SQLServer7SourceModelMap.java:206)
         at oracle.mtg.sqlserver7.ui.SQLServer7CaptureWizard.map(SQLServer7CaptureWizard.java:252)
         at oracle.mtg.migrationUI.ActionMenuHandler._mapSourceModel(ActionMenuHandler.java:428)
         at oracle.mtg.migrationUI.ActionMenuHandler.run(ActionMenuHandler.java:167)
         at oracle.mtg.migration.WorkerThread.run(Worker.java:269)

    First of all I would suggest that you upgrade to the latest version of the Migration Workbench.
    http://otn.oracle.com/software/tech/migration/workbench/content.html Oracle Migration Workbench Release 2.0.2.0.0 for Windows
    This relase of the Migration Workbench was bundled with Oracle9i dependencies, however it will migrate to Oracle 8.1.7.
    The hanging issue you are currently getting may concern table names with spaces in them.
    If this does not work please send an email to [email protected] and include your error.log.
    hope this helps
    Dan

  • Fact to Fact linkage thru a map table

    Hi,
    I have a situation where in two fact tables are linked thru an intermediate map table. The purpose of doing so was to facilitatie an n:n relationship between f1 and f2. So this map table essentially has 3 columns viz pk, f1 key, f2 key. f1 and f2 has it's own sets of dimension tables attached to it. Of these some dimension tables are linked to the fact tables thru corresponding map tables to facilitate n:n relationships. So there are two types of map tables >> between two facts and between a fact and a dim. The reporting requirement is like this: attributes of f1,dimensions attched to f1, attributes of f2s attached to f1, dimensions attached to f2.
    The design is tricky and was done a long time ago and solutions are currently running on it. So a design change is not possible. Can somebody suggest an approach to tackle this kind of a relationship?
    Many thanks

    Hi,
    Many thanks for the suggestion.
    I'd declared the map tables that connected fact to dimension as bridge tables. When I do the same for a map table between two fact tables, the conistency check fails. I get "Internal error: Missing functional dependancy assosiation for column : Control Legal Entity.d_checker_date" Control legal entity is a dim table which is connected to the fact table thru a map table and d_checker_date is the first column in that table. If i delete this column the same error repeats for the next column.
    Any thoughts on this?

  • CDG-01141 ERROR: Module Component Table Usage ...  Table usage ... requires primary key column for referential integrity

    For some strange reason when I modified a form, (commented out some code in a when-window-activated trigger) I now get the following error.
    CDG-01141 ERROR: Module Component Table Usage GR1130A.CUSTOMER.GR_CUSTOMER.GC: Table usage GR_CUSTOMER requires primary key column for referential integrity
    I am sure this is not related to my change, but do not know what may have caused this or how to fix it.
    Anyone seen this error before? been able to fix it?
    Thanks!
    Windows 7
    Oracle Database 10g Enterprise Edition Release 10.2.0.3.0
    Designer Version 6.5.95.4.8

    You know that Developer/Designer 6i is not certified for Windows 7, right? Also, your version is not the latest one, so you can try to install the latest patch set first.
    >Table usage GR_CUSTOMER requires primary key column for referential integrity
    Check if there is a PK in the table definition (not in the database, but in Designer).

  • Error for table usage of diferent tablespace

    I have a module with a table usage of other tablespace, I'm tried generate but I'm getting a error on table usage (Designer doesn't found this table)
    I don't understand, How working with objects of other tablespaces?

    Mmhh... I don't think that's what OP is looking for... I'd change your solution as follows :select a.TABLESPACE_NAME,
           a.BYTES/1024/1024 MB_total,
           b.BYTES/1024/1024 + a.AVAIL/1024/1024 MB_free,
           round(((a.BYTES-b.BYTES-a.AVAIL)/a.BYTES)*100,2) percent_used
      from (select TABLESPACE_NAME,
           sum(decode(maxbytes,0,BYTES,maxbytes)) BYTES,
           sum(decode(maxbytes,0,BYTES,maxbytes)) - sum(bytes) AVAIL
              from dba_data_files
             group by TABLESPACE_NAME) a,
           (select TABLESPACE_NAME, sum(BYTES) BYTES
              from dba_free_space
             group by TABLESPACE_NAME) b
    where a.TABLESPACE_NAME = b.TABLESPACE_NAME
    order by 4 desc;

  • Re: getting the source tables into models in designer

    Hi all
    i need help while extracting the source table's to ODI designer
    my source: Oracle
    Question:
    i have given the source schema information. with that information i created logical and physical schema in topology manager.
    And trying to create a model to extract source tables to ODI.
    As i don't have all tables in the same schema (some tables were coming from different users and i don't have the information of those users) am unable to see the those tables when in selective reverse tab.
    i requested them to give select privileges for those tables in the schema which am using.
    after getting the select privileges for those tables.
    will i would be able to see those tables in selective reverse tab?
    Could some one guide me steps in this.
    Thanks

    917704 wrote:
    Hi Alastair
    firstly thank you for your reply.
    my soure is oracle erp.
    i cannot create physical/logical schemas for that user bez as it is head user in oracle erp, i dont have the access for that user.Hi, I've done change data capture from ebusiness suite using ODI, what we did was this :
    get a 'read only' database account set up in the ebiz suite database, this is your connecting user and your work schema (for CDC objects).
    grant select any table, or be more specific if you wish on the objects you need to read data from to ODI, then connect as your read only user but map the physical schemas as you wish.
    Back to your original question, a model can only have one logical schema, which in turn maps to one phyiscal schema - so I think your stuck needing to read across more than one schema on the source system.

  • Import conversion data table from SAP R/3 into value mapping table in XI

    Hi:
        Somebody knows how to import a table with conversion data that are in SAP R/3 and to take it to a value mapping table in XI?
        The purpose is to use a mapping table that can change in the future. Must I use a ABAP programming that retrieve data and build the value mapping table?
        If so, how I specify in the ABAP programming the group id, the scheme, the agency and the corresponding value?
        Please, help me.
        Regards!!!

    Hi David,
    please refer to this section in the help: http://help.sap.com/saphelp_nw04/helpdata/en/2a/9d2891cc976549a9ad9f81e9b8db25/content.htm
    There is an interface for mass replication of mapping data. The steps you need to carry out to use this are:
    +Activities
    To implement a value-mapping replication scenario, proceed as follows:
           1.      Register the Java (inbound) proxies.
    To do so, call the following URLs in the following order in your Internet browser:
    ¡        http://:/ProxyServer/register?ns=http://sap.com/xi/XI/System&interface=ValueMappingReplication&bean=localejbs/sap.com/com.sap.xi.services/ValueMappingApplication&method=valueMappingReplication (for the asynchronous replication scenario)
    ¡ http://:/ProxyServer/register?ns=http://sap.com/xi/XI/System&interface=ValueMappingReplicationSynchronous&bean=localejbs/sap.com/com.sap.xi.services/ValueMappingApplicationSynchronous&method=valueMappingReplicationSynchronous (for the synchronous replication scenario)
    You only need to perform this step once (for each installation).
           2.      Application programming
    The ABAP program must perform the following tasks:
    ¡        Read the value mapping data from the external table
    ¡        Call the outbound proxy used to transfer the data to a message, which is then sent to the Integration Server
           3.      Configuration of the replication scenario in the Integration Directory
    This involves creating all the configuration objects you need to execute the scenario successfully. One special aspect of the value-mapping replication scenario is that the receiver is predefined (it must be on the Integration Server). The sender, however, is not predefined in the replication scenario and can be defined to meet your individual requirements.
    For example, you can use the shipped ABAP proxies.
    In the case of the receiver communication channel, choose the adapter type XI. Ensure that you configure a channel for the Java proxy receiver in this case.
    Enter the path prefix /MessagingSystem/receive/JPR/XI for this purpose.
    +
    Regards
    Christine

Maybe you are looking for

  • Using variables in IP

    Hi, I would like to use some variables adminstrated by a user in IP. For example, we want the central user to select the fiscal year for the Integrated application. The only solution we found is to create a specific table where the user enters a fisc

  • Help in date format for transaction F-01

    Hello Experts, I am currently modifying a report wherein it posts document using transaction F-01. Now, I am getting an error wherein it says: Direct input date: Date 04162007 is incorrect. The document has not been created. Now, how can I modify it

  • Error loading Flat Filedata in Infopackage

    Hi Friends,           I'm trying to load a flat file , and after I schedule the infopackage, I get the follwoing error, I didnt get this problem earlier but now it is giving me this error -" The user defined conversion routine for the field ZXXXX att

  • How to use Satellite P100 with MS Vista and MS Bluetooth stack?

    I'm using my Sat P100 for more than one year. I just reinstalled Windows Vista Ultimate from scratch, and because I'm really not so much satisfied with Toshiba's Bluetooth stack, I'm trying to use original Microsoft's Bluetooth stack, which comes wit

  • Numbering table with parent grouping

    Hi, i have a table that i grouped by email in ssrs, and i would like to insert a row number, that will be by the parent grouping i tried using a solution from another question. ;with cte as (select *,dense_rank() over(order by row1) as rowID from @ta