TopLink Map issue

Hi all
i m very new to ADF ...
while creating one toplink i selected emp as my table .it asks for toplinkmap in the wizard so i created new and it took some value by default.
now when i rebuild this project it gives following error
TopLink Map 'tlMap1' -> One of the packages is incomplete.
Package dataprj -> One of the descriptors in this package is incomplete.
Descriptor Emp -> No primary keys specified in APPS.EMP table.
End TopLink Map 'tlMap1'
pls help me out to fix this issue.

hi user530923
Maybe you should look for the "EMP" node in the "Offline Database Sources" node of your JDeveloper project (using the Applications Navigator in JDeveloper).
If you right-click that "EMP" node, you can select "Properties...". The Edit Offline Table dialog should show. Select "Primary Key Information" on the left. Has a primary key been defined?
You could also check "Decriptor Info" tab for your "Emp" descriptor. Select "Application Sources" > "TopLink" > "tlMap1" in your JDeveloper project, in the Structure pane double-click the "Emp" descriptor and check "Primary Keys" on the "Decriptor Info" tab.
success
Jan Vervecken

Similar Messages

  • Exceptions while Opening a older toplink map in toplink 11g workbench

    Hi
    I have a toplink map used with toplink 10g. Now that after moving to toplink 11g I am unable to open the map using workbench. I am getting the following exception while opening.
    Inputs to solve this probelm are welcomed.
    oracle.toplink.workbench.framework.OpenException: Exception [TOPLINK-106] (Oracle TopLink - 11g (11.1.1.0.1) (Build 081030)): oracle.toplink.exceptions.DescriptorException
    Exception Description: The method [legacySetDatabasePlatformNameForTopLink] on the object is throwing an exception.
    Argument: [null]
    Internal Exception: java.lang.reflect.InvocationTargetException
    Target Invocation Exception: java.lang.IllegalArgumentException: missing database platform named: null
    Mapping: oracle.toplink.mappings.DirectToFieldMapping[databasePlatformName-->platform-name]
    Descriptor: XMLDescriptor(oracle.toplink.workbench.mappingsmodel.db.MWDatabase --> [DatabaseTable(database)])
         at oracle.toplink.workbench.mappingsplugin.MappingsPlugin.open(MappingsPlugin.java:293)
         at oracle.toplink.workbench.framework.internal.FrameworkApplication.open(FrameworkApplication.java:689)
         at oracle.toplink.workbench.framework.internal.FrameworkNodeManager.openCallback(FrameworkNodeManager.java:341)
         at oracle.toplink.workbench.framework.internal.RunnableProjectLoader.run2(RunnableProjectLoader.java:76)
         at oracle.toplink.workbench.framework.internal.RunnableProjectLoader.run(RunnableProjectLoader.java:63)
         at java.lang.Thread.run(Thread.java:595)
    Caused by: Exception [TOPLINK-106] (Oracle TopLink - 11g (11.1.1.0.1) (Build 081030)): oracle.toplink.exceptions.DescriptorException
    Exception Description: The method [legacySetDatabasePlatformNameForTopLink] on the object is throwing an exception.
    Argument: [null]
    Internal Exception: java.lang.reflect.InvocationTargetException
    Target Invocation Exception: java.lang.IllegalArgumentException: missing database platform named: null
    Mapping: oracle.toplink.mappings.DirectToFieldMapping[databasePlatformName-->platform-name]
    Descriptor: XMLDescriptor(oracle.toplink.workbench.mappingsmodel.db.MWDatabase --> [DatabaseTable(database)])
         at oracle.toplink.exceptions.DescriptorException.targetInvocationWhileSettingValueThruMethodAccessor(DescriptorException.java:1702)
         at oracle.toplink.internal.descriptors.MethodAttributeAccessor.setAttributeValueInObject(MethodAttributeAccessor.java:202)
         at oracle.toplink.mappings.DatabaseMapping.setAttributeValueInObject(DatabaseMapping.java:1228)
         at oracle.toplink.mappings.DatabaseMapping.readFromRowIntoObject(DatabaseMapping.java:1118)
         at oracle.toplink.internal.descriptors.ObjectBuilder.buildAttributesIntoObject(ObjectBuilder.java:277)
         at oracle.toplink.sdk.SDKAggregateObjectMapping.buildCompositeObject(SDKAggregateObjectMapping.java:58)
         at oracle.toplink.mappings.foundation.AbstractCompositeObjectMapping.valueFromRow(AbstractCompositeObjectMapping.java:231)
         at oracle.toplink.mappings.DatabaseMapping.readFromRowIntoObject(DatabaseMapping.java:1117)
         at oracle.toplink.internal.descriptors.ObjectBuilder.buildAttributesIntoObject(ObjectBuilder.java:277)
         at oracle.toplink.internal.descriptors.ObjectBuilder.buildObject(ObjectBuilder.java:582)
         at oracle.toplink.internal.descriptors.ObjectBuilder.buildObject(ObjectBuilder.java:439)
         at oracle.toplink.internal.descriptors.ObjectBuilder.buildObject(ObjectBuilder.java:389)
         at oracle.toplink.queryframework.ObjectLevelReadQuery.buildObject(ObjectLevelReadQuery.java:511)
         at oracle.toplink.queryframework.ReadObjectQuery.executeObjectLevelReadQuery(ReadObjectQuery.java:433)
         at oracle.toplink.queryframework.ObjectLevelReadQuery.executeDatabaseQuery(ObjectLevelReadQuery.java:874)
         at oracle.toplink.queryframework.DatabaseQuery.execute(DatabaseQuery.java:674)
         at oracle.toplink.queryframework.ObjectLevelReadQuery.execute(ObjectLevelReadQuery.java:835)
         at oracle.toplink.queryframework.ReadObjectQuery.execute(ReadObjectQuery.java:397)
         at oracle.toplink.internal.sessions.AbstractSession.internalExecuteQuery(AbstractSession.java:2260)
         at oracle.toplink.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:1074)
         at oracle.toplink.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:1058)
         at oracle.toplink.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:1017)
         at oracle.toplink.internal.sessions.AbstractSession.readObject(AbstractSession.java:2822)
         at oracle.toplink.workbench.mappingsio.legacy.PersistenceTools50.readMWProjectNamed(PersistenceTools50.java:323)
         at oracle.toplink.workbench.mappingsio.legacy.LegacyIOFacade.read50Project(LegacyIOFacade.java:21)
         at oracle.toplink.workbench.mappingsio.ProjectReader.readLegacyProject(ProjectReader.java:248)
         at oracle.toplink.workbench.mappingsio.ProjectReader.read(ProjectReader.java:104)
         at oracle.toplink.workbench.mappingsio.ProjectIOManager.read(ProjectIOManager.java:59)
         at oracle.toplink.workbench.mappingsplugin.MappingsPlugin.open(MappingsPlugin.java:289)
         ... 5 more
    Caused by: java.lang.reflect.InvocationTargetException
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at oracle.toplink.internal.descriptors.MethodAttributeAccessor.setAttributeValueInObject(MethodAttributeAccessor.java:174)
         at oracle.toplink.mappings.DatabaseMapping.setAttributeValueInObject(DatabaseMapping.java:1228)
         at oracle.toplink.mappings.DatabaseMapping.readFromRowIntoObject(DatabaseMapping.java:1118)
         at oracle.toplink.internal.descriptors.ObjectBuilder.buildAttributesIntoObject(ObjectBuilder.java:277)
         at oracle.toplink.sdk.SDKAggregateObjectMapping.buildCompositeObject(SDKAggregateObjectMapping.java:58)
         at oracle.toplink.mappings.foundation.AbstractCompositeObjectMapping.valueFromRow(AbstractCompositeObjectMapping.java:231)
         at oracle.toplink.mappings.DatabaseMapping.readFromRowIntoObject(DatabaseMapping.java:1117)
         at oracle.toplink.internal.descriptors.ObjectBuilder.buildAttributesIntoObject(ObjectBuilder.java:277)
         at oracle.toplink.internal.descriptors.ObjectBuilder.buildObject(ObjectBuilder.java:582)
         at oracle.toplink.internal.descriptors.ObjectBuilder.buildObject(ObjectBuilder.java:439)
         at oracle.toplink.internal.descriptors.ObjectBuilder.buildObject(ObjectBuilder.java:389)
         at oracle.toplink.queryframework.ObjectLevelReadQuery.buildObject(ObjectLevelReadQuery.java:511)
         at oracle.toplink.queryframework.ReadObjectQuery.executeObjectLevelReadQuery(ReadObjectQuery.java:433)
         at oracle.toplink.queryframework.ObjectLevelReadQuery.executeDatabaseQuery(ObjectLevelReadQuery.java:874)
         at oracle.toplink.queryframework.DatabaseQuery.execute(DatabaseQuery.java:674)
         at oracle.toplink.queryframework.ObjectLevelReadQuery.execute(ObjectLevelReadQuery.java:835)
         at oracle.toplink.queryframework.ReadObjectQuery.execute(ReadObjectQuery.java:397)
         at oracle.toplink.internal.sessions.AbstractSession.internalExecuteQuery(AbstractSession.java:2260)
         at oracle.toplink.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:1074)
         at oracle.toplink.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:1058)
         at oracle.toplink.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:1017)
         at oracle.toplink.internal.sessions.AbstractSession.readObject(AbstractSession.java:2822)
         at oracle.toplink.workbench.mappingsio.legacy.PersistenceTools50.readMWProjectNamed(PersistenceTools50.java:323)
         at oracle.toplink.workbench.mappingsio.legacy.LegacyIOFacade.read50Project(LegacyIOFacade.java:21)
         at oracle.toplink.workbench.mappingsio.ProjectReader.readLegacyProject(ProjectReader.java:248)
         at oracle.toplink.workbench.mappingsio.ProjectReader.read(ProjectReader.java:104)
         at oracle.toplink.workbench.mappingsio.ProjectIOManager.read(ProjectIOManager.java:59)
    Caused by: java.lang.IllegalArgumentException: missing database platform named: null
         at oracle.toplink.workbench.platformsmodel.DatabasePlatformRepository.platformNamed(DatabasePlatformRepository.java:334)
         at oracle.toplink.workbench.mappingsmodel.db.MWDatabase.setDatabasePlatformNameForTopLink(MWDatabase.java:1013)
         at oracle.toplink.workbench.mappingsmodel.db.MWDatabase.legacySetDatabasePlatformNameForTopLink(MWDatabase.java:1133)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at oracle.toplink.internal.descriptors.MethodAttributeAccessor.setAttributeValueInObject(MethodAttributeAccessor.java:174)
         at oracle.toplink.mappings.DatabaseMapping.setAttributeValueInObject(DatabaseMapping.java:1228)
         at oracle.toplink.mappings.DatabaseMapping.readFromRowIntoObject(DatabaseMapping.java:1118)
         at oracle.toplink.internal.descriptors.ObjectBuilder.buildAttributesIntoObject(ObjectBuilder.java:277)
         at oracle.toplink.sdk.SDKAggregateObjectMapping.buildCompositeObject(SDKAggregateObjectMapping.java:58)
         at oracle.toplink.mappings.foundation.AbstractCompositeObjectMapping.valueFromRow(AbstractCompositeObjectMapping.java:231)
         at oracle.toplink.mappings.DatabaseMapping.readFromRowIntoObject(DatabaseMapping.java:1117)
         at oracle.toplink.internal.descriptors.ObjectBuilder.buildAttributesIntoObject(ObjectBuilder.java:277)
         at oracle.toplink.internal.descriptors.ObjectBuilder.buildObject(ObjectBuilder.java:582)
         at oracle.toplink.internal.descriptors.ObjectBuilder.buildObject(ObjectBuilder.java:439)
         at oracle.toplink.internal.descriptors.ObjectBuilder.buildObject(ObjectBuilder.java:389)
         at oracle.toplink.queryframework.ObjectLevelReadQuery.buildObject(ObjectLevelReadQuery.java:511)
         at oracle.toplink.queryframework.ReadObjectQuery.executeObjectLevelReadQuery(ReadObjectQuery.java:433)
         at oracle.toplink.queryframework.ObjectLevelReadQuery.executeDatabaseQuery(ObjectLevelReadQuery.java:874)
         at oracle.toplink.queryframework.DatabaseQuery.execute(DatabaseQuery.java:674)
         at oracle.toplink.queryframework.ObjectLevelReadQuery.execute(ObjectLevelReadQuery.java:835)
         at oracle.toplink.queryframework.ReadObjectQuery.execute(ReadObjectQuery.java:397)
         at oracle.toplink.internal.sessions.AbstractSession.internalExecuteQuery(AbstractSession.java:2260)
         at oracle.toplink.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:1074)
         at oracle.toplink.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:1058)
         at oracle.toplink.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:1017)
         at oracle.toplink.internal.sessions.AbstractSession.readObject(AbstractSession.java:2822)
         at oracle.toplink.workbench.mappingsio.legacy.PersistenceTools50.readMWProjectNamed(PersistenceTools50.java:323)
         at oracle.toplink.workbench.mappingsio.legacy.LegacyIOFacade.read50Project(LegacyIOFacade.java:21)
         at oracle.toplink.workbench.mappingsio.ProjectReader.readLegacyProject(ProjectReader.java:248)
         at oracle.toplink.workbench.mappingsio.ProjectReader.read(ProjectReader.java:104)
         at oracle.toplink.workbench.mappingsio.ProjectIOManager.read(ProjectIOManager.java:59)
         at oracle.toplink.workbench.mappingsplugin.MappingsPlugin.open(MappingsPlugin.java:289)
         at oracle.toplink.workbench.framework.internal.FrameworkApplication.open(FrameworkApplication.java:689)
         at oracle.toplink.workbench.framework.internal.FrameworkNodeManager.openCallback(FrameworkNodeManager.java:341)
         at oracle.toplink.workbench.framework.internal.RunnableProjectLoader.run2(RunnableProjectLoader.java:76)
         at oracle.toplink.workbench.framework.internal.RunnableProjectLoader.run(RunnableProjectLoader.java:63)
         at java.lang.Thread.run(Thread.java:595)
    Sree

    Hi Sree,
    If you could email me a copy of the whole mapping workbench project, I can probably fix this issue for you.
    Thanks,
    Les

  • Toplink mapping generator hangs...

    I am using the preview 1013 Jdev version with a MySQL DB. The connection to the DB works fine.
    When I try to generate the toplink mapping for a single small test table, the "generating offline database objects" progress bar just keeps going back and forth and the process hangs and I have to kill Jdev from the Task Manager.
    Is this a known bug in the preview or am I doing something wrong?
    Thanks much for any insight.
    David Littman

    David,
    This is a known issue (bug 4373381) and will be addressed in the production version
    Thanks
    Prashanth

  • TopLink map a field which name in low case

    I used Oracle ADF to modeling my database table. My table name and all filed names are in low cases. I used TopLink Create Java Objects from Tables wizard to crate Java objects from my table, and created map. In the TopLink mapping, the query keys are in low cases. But when my session bean execute the named query, the query statement from executeQuery doesn't put double quotes around the filed name and table name. The query statement like: select name from space. So it will cause error like "java.sql.SQLException: ORA-00942: table or view does not exist". The query statement should like:
    select "name" from "space";
    Can anyone tell me where to edit the mapping or customize code to put double quotes around field name and table name?

    I'm not sure if the JDev UI has an option to output table and field names with quotes. You could use a SessionCustomizer in your TopLink sessions.xml file to iterate over the Session's descriptors and change each of their table and field names to include the " character.
    In general you will make you life much easier if you just create the tables and field using normal upper case or case insensitive names.
    It would be nice to have an easier way to quote all table and field names, please feel free to log this issues on EclipseLink Bugzilla.
    James : http://www.eclipselink.org

  • JDev 9.0.5.2 Error When Opening TopLink Mapping Project

    I was in the middle of mapping my classes and realized that I needed some more attributes. So I added the attributes to my classes, closed the IDE (since this is generally the only way to get the TopLink Mapping Project to notice the changes), and now, when I reopen the IDE, I get the following:
    Exception [TOPLINK-98] (OracleAS TopLink - 10g (9.0.4) (Build 031126)): oracle.toplink.exceptions.DescriptorException
    Exception Description: The underlying descriptor callback method [postBuild], with parameter (DescriptorEvent), triggered an exception.
    Internal Exception: java.lang.reflect.InvocationTargetException
    Target Invocation Exception: java.lang.NullPointerException
    Descriptor: XMLDescriptor(oracle.toplink.workbench.model.MWProject --> [DatabaseTable(project)])
            at oracle.toplink.exceptions.DescriptorException.targetInvocationWhileEventExecution(DescriptorException.java:1364)
            at oracle.toplink.publicinterface.DescriptorEventManager.executeEvent(DescriptorEventManager.java:133)
            at oracle.toplink.internal.descriptors.ObjectBuilder.buildAttributesIntoObject(ObjectBuilder.java:179)
            at oracle.toplink.internal.descriptors.ObjectBuilder.buildObject(ObjectBuilder.java:331)
            at oracle.toplink.queryframework.ObjectLevelReadQuery.buildObject(ObjectLevelReadQuery.java:226)
            at oracle.toplink.queryframework.ReadObjectQuery.execute(ReadObjectQuery.java:344)
            at oracle.toplink.queryframework.DatabaseQuery.execute(DatabaseQuery.java:498)
            at oracle.toplink.queryframework.ReadQuery.execute(ReadQuery.java:111)
            at oracle.toplink.publicinterface.Session.internalExecuteQuery(Session.java:1968)
            at oracle.toplink.publicinterface.Session.executeQuery(Session.java:1096)
            at oracle.toplink.publicinterface.Session.executeQuery(Session.java:1048)
            at oracle.toplink.publicinterface.Session.readObject(Session.java:2502)
            at oracle.toplink.workbench.ui.WorkbenchSession.getMWProjectNamed(WorkbenchSession.java:270)
            at oracle.toplink.addin.persistence.MWJDeveloperPersistence.open(MWJDeveloperPersistence.java:200)
            at oracle.toplink.tsceditor.persistence.PersistenceManager.open(PersistenceManager.java:942)
            at oracle.toplink.addin.manager.MWJDeveloperMediator.openMWProject(MWJDeveloperMediator.java:167)
            at oracle.toplink.addin.manager.MWJDeveloperMediator.locateAndOpenProjectImp(MWJDeveloperMediator.java:691)
            at oracle.toplink.addin.manager.MWJDeveloperMediator.locateAndOpenProject(MWJDeveloperMediator.java:665)
            at oracle.toplink.addin.manager.MWJDeveloperMediator.getMWProjectAndOpenIfNecessary(MWJDeveloperMediator.java:1098)
            at oracle.toplink.addin.manager.MWJDeveloperMediator.getMWProjectAndOpenIfNecessary(MWJDeveloperMediator.java:1070)
            at oracle.toplink.addin.appnav.JProjectObserver.handleObjectOpened(JProjectObserver.java:115)
            at oracle.toplink.addin.appnav.JProjectObserver.update(JProjectObserver.java:65)
            at oracle.ide.IdeSubject.notifyObservers(IdeSubject.java:215)
            at oracle.ide.model.DefaultDocument.notifyObservers(DefaultDocument.java:273)
            at oracle.ide.addin.UpdateMessage.fireObjectOpened(UpdateMessage.java:543)
            at oracle.ide.model.DataNode.fireObjectOpened(DataNode.java:191)
            at oracle.ide.model.DataNode$1.run(DataNode.java:168)
            at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
            at java.awt.EventQueue.dispatchEvent(EventQueue.java:454)
            at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
            at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
            at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
            at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
            at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
    Caused by: java.lang.reflect.InvocationTargetException
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:324)
            at oracle.toplink.publicinterface.DescriptorEventManager.executeEvent(DescriptorEventManager.java:125)
            ... 32 more
    Caused by: java.lang.NullPointerException
            at oracle.toplink.workbench.model.desc.MWMappingDescriptor.classHierarchyChangedFor(MWMappingDescriptor.java:758)
            at oracle.toplink.workbench.model.MWProject.classHierarchyChangedFor(MWProject.java:1086)
            at oracle.toplink.workbench.model.meta.MWClass.setSuperclass(MWClass.java:877)
            at oracle.toplink.workbench.model.meta.MWClass.setInterface(MWClass.java:837)
            at oracle.toplink.workbench.model.meta.MWClass.resetStubInterface(MWClass.java:2398)
            at oracle.toplink.workbench.model.meta.MWClass.resetStubInterfaces(MWClass.java:2386)
            at oracle.toplink.workbench.model.meta.MWClassRepository.resetStubInterfaces(MWClassRepository.java:1385)
            at oracle.toplink.workbench.model.meta.MWClassRepository.postProjectBuild(MWClassRepository.java:1380)
            at oracle.toplink.workbench.model.MWModelObject.postProjectBuild(MWModelObject.java:522)
            at oracle.toplink.workbench.model.MWProject.postBuild(MWProject.java:1646)
            ... 37 moreIn the IDE I get a much shorter version of the excpetion, the above is what I see on the commandline from which the IDE was launched.
    I can no longer work on my mappings project at all.

    John,
    You mentioned "I closed the IDE so that the TopLink project would pick up the changes..."
    1. We need to find out why you needed to close the IDE? Was TopLink mapping editor not picking up your changes?
    2. I am sure you did not modified .java outside of Jdev, but in case if you did, let me know.
    3. After removing a superclass attribute, did you save all changes?
    4. We tried various combinations, but were unable to reproduce the project reopen issue that you mentioned was fixed by changing the ClassDescriptor.xml. It would be extremely helpful if you could either send us (anuj dot k dot jain at oracle dot com) a project that can reproduce this issue, or outline the exact steps.

  • Best practices TopLink Mapping Workbench multi-user + CVS?

    This might be a very important issue, in our decision whether or not to choose TopLink --
    How well is multi-user development and CVS supported when using the TopLink Mapping Workbench? Are there best practices regarding this use case?
    Thanks.

    We have no problem with the workbench and CVS. Only a couple of our developers are responsible for the mappings so we havn't really run into concurrent edits. It's pure XML so a decent mergetool with XML support should let you resolve conflicts pretty easily.

  • Status of Integrated TopLink Mapping?

    OK, so I've had a few problems with the integrated TopLink mapping:
    Mapping Project Scalability?
    JDev 9.0.5.2 Error When Opening TopLink Mapping Project
    I filed a TAR for the second issue, and was told:
    "We are seeing some problems with the integrated Mapping Workbench. The problem is that the integrated is a new product, that is not as mature as the stand alone version. So in order to get you moving, I would suggest that you use the stand alone Mapping Workbench. Its more stable and is a more mature product."
    I'm actually having other problems with the standalone product that I didn't have in the integrated one, but that's another issue:
    inherited attributes
    Is this Oracle's official line on the TopLink integration? Use it till it doesn't work then redo everything in another product that uses different files and setup etc? Sorry for the tone of this post, but as you can see, I'm getting very frustrated. I had hoped that the performance and stability of the integrated TopLink would be fixed for the production release, but I'm finding it almost as troublesome as the preview...

    I've hit another one. As I said, I was redoing my mappings with the integrated mapping tools. I edited a couple of my classes to change some attributes from related object types to ValueHolderInterface. I closed the IDE so that the TopLink project would pick up the changes. When I try to open my mapping project I get this:
    java.lang.NullPointerException
            at oracle.toplink.workbench.ui.WorkbenchSession.getMWProjectNamed(WorkbenchSession.java:274)
            at oracle.toplink.addin.persistence.MWJDeveloperPersistence.open(MWJDeveloperPersistence.java:200)
            at oracle.toplink.tsceditor.persistence.PersistenceManager.open(PersistenceManager.java:942)
            at oracle.toplink.addin.manager.MWJDeveloperMediator.openMWProject(MWJDeveloperMediator.java:167)
            at oracle.toplink.addin.manager.MWJDeveloperMediator.locateAndOpenProjectImp(MWJDeveloperMediator.java:691)
            at oracle.toplink.addin.manager.MWJDeveloperMediator.locateAndOpenProject(MWJDeveloperMediator.java:665)
            at oracle.toplink.addin.manager.MWJDeveloperMediator.getMWProjectAndOpenIfNecessary(MWJDeveloperMediator.java:1098)
            at oracle.toplink.addin.manager.MWJDeveloperMediator.getMWProjectAndOpenIfNecessary(MWJDeveloperMediator.java:1070)
            at oracle.toplink.addin.appnav.JProjectObserver.handleObjectOpened(JProjectObserver.java:115)
            at oracle.toplink.addin.appnav.JProjectObserver.update(JProjectObserver.java:65)
            at oracle.ide.IdeSubject.notifyObservers(IdeSubject.java:215)
            at oracle.ide.model.DefaultDocument.notifyObservers(DefaultDocument.java:273)
            at oracle.ide.addin.UpdateMessage.fireObjectOpened(UpdateMessage.java:543)
            at oracle.ide.model.DataNode.fireObjectOpened(DataNode.java:191)
            at oracle.ide.model.DataNode$1.run(DataNode.java:168)
            at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
            at java.awt.EventQueue.dispatchEvent(EventQueue.java:454)
            at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
            at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
            at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
            at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
            at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)Local Exception Stack:
    Exception [TOPLINK-98] (OracleAS TopLink - 10g (9.0.4) (Build 031126)): oracle.toplink.exceptions.DescriptorException
    Exception Description: The underlying descriptor callback method [postBuild], with parameter (DescriptorEvent), triggered an exception.
    Internal Exception: java.lang.reflect.InvocationTargetException
    Target Invocation Exception: java.lang.StackOverflowError
    Descriptor: XMLDescriptor(oracle.toplink.workbench.model.MWProject --> [DatabaseTable(project)])
            at oracle.toplink.exceptions.DescriptorException.targetInvocationWhileEventExecution(DescriptorException.java:1364)
            at oracle.toplink.publicinterface.DescriptorEventManager.executeEvent(DescriptorEventManager.java:133)
            at oracle.toplink.internal.descriptors.ObjectBuilder.buildAttributesIntoObject(ObjectBuilder.java:179)
            at oracle.toplink.internal.descriptors.ObjectBuilder.buildObject(ObjectBuilder.java:331)
            at oracle.toplink.queryframework.ObjectLevelReadQuery.buildObject(ObjectLevelReadQuery.java:226)
            at oracle.toplink.queryframework.ReadObjectQuery.execute(ReadObjectQuery.java:344)
            at oracle.toplink.queryframework.DatabaseQuery.execute(DatabaseQuery.java:498)
            at oracle.toplink.queryframework.ReadQuery.execute(ReadQuery.java:111)
            at oracle.toplink.publicinterface.Session.internalExecuteQuery(Session.java:1968)
            at oracle.toplink.publicinterface.Session.executeQuery(Session.java:1096)
            at oracle.toplink.publicinterface.Session.executeQuery(Session.java:1048)
            at oracle.toplink.publicinterface.Session.readObject(Session.java:2502)
            at oracle.toplink.workbench.ui.WorkbenchSession.getMWProjectNamed(WorkbenchSession.java:270)
            at oracle.toplink.addin.persistence.MWJDeveloperPersistence.open(MWJDeveloperPersistence.java:200)
            at oracle.toplink.tsceditor.persistence.PersistenceManager.open(PersistenceManager.java:942)
            at oracle.toplink.addin.manager.MWJDeveloperMediator.openMWProject(MWJDeveloperMediator.java:167)
            at oracle.toplink.addin.manager.MWJDeveloperMediator.locateAndOpenProjectImp(MWJDeveloperMediator.java:691)
            at oracle.toplink.addin.manager.MWJDeveloperMediator.locateAndOpenProject(MWJDeveloperMediator.java:665)
            at oracle.toplink.addin.manager.MWJDeveloperMediator.getMWProjectAndOpenIfNecessary(MWJDeveloperMediator.java:1098)
            at oracle.toplink.addin.manager.MWJDeveloperMediator.getMWProjectAndOpenIfNecessary(MWJDeveloperMediator.java:1070)
            at oracle.toplink.addin.appnav.JProjectObserver.handleObjectOpened(JProjectObserver.java:115)
            at oracle.toplink.addin.appnav.JProjectObserver.update(JProjectObserver.java:65)
            at oracle.ide.IdeSubject.notifyObservers(IdeSubject.java:215)
            at oracle.ide.model.DefaultDocument.notifyObservers(DefaultDocument.java:273)
            at oracle.ide.addin.UpdateMessage.fireObjectOpened(UpdateMessage.java:543)
            at oracle.ide.model.DataNode.fireObjectOpened(DataNode.java:191)
            at oracle.ide.model.DataNode$1.run(DataNode.java:168)
            at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
            at java.awt.EventQueue.dispatchEvent(EventQueue.java:454)
            at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
            at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
            at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
            at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
            at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
    Caused by: java.lang.reflect.InvocationTargetException
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:324)
            at oracle.toplink.publicinterface.DescriptorEventManager.executeEvent(DescriptorEventManager.java:125)
            ... 32 more
    Caused by: java.lang.StackOverflowError

  • Vulnerability - Oracle toplink mapping workbench password algorithm

    Could someone from Oracle post security contact info. This is regarding a possible vulnerability in TopLink referred to in this posting:
    http://marc.theaimsgroup.com/?l=bugtraq&m=107531028325112&w=2
    I would like to know Oracle's response to this item before I publish a report to our clients.
    Thanks,
    Mark Hoffman

    It has come to our attention that a 3rd party has published the algorithm used to obfuscate a database password stored in the runtime configuration file (project.xml or java source file) generated by the TopLink Mapping Workbench version 9.0.3.
    This database password is NOT used when TopLink is using an application server’s database connection pool and this issue does not apply. In this case TopLink uses a specified data source name and the application server manages the database password.
    For those not using the app server connection pool, the obfuscation is not meant to offer encryption protection for the password stored in the file. It is a mechanism meant to make the password in the file unreadable to the naked eye. It is not a replacement for proper file permission and access control to protect the file.
    It is an optional convenience feature that customers have requested as they have found it to be useful during development and internal testing. The only way the password is saved in the file is if the option that is explicitly marked “Save Password (Unencrypted)” is used.
    For encrypted security protection using technology such as Java Cryptography Extension (JCE), the unencrypted password can be set using APIs provided in the TopLink runtime libraries. A code example follows:
    boolean shouldLoginSession = false;
    DatabaseSession session = null;
    session = (DatabaseSession)SessionManager.getManager().getSession("MySessionName", shouldLoginSession);
    String password = //retrieve the password as an unencrypted string from somewhere
    session.getLogin().setPassword(password); //note this assumes that the user is already set in the project
    session.login();
    Guidelines:
    1.     If you are using the application server’s database connection pool, this issue does not apply. TopLink simply specifies a data source name and the application server manages, stores and encrypts the password.
    2.     If you are not using the application server’s database connection pool, use the optional Mapping Workbench feature to store the password in the project.xml or java source file for development or internal testing purposes only if there is proper file permission and access control to protect the file.
    3.     For deployment or unsecured development environments utilize the TopLink API’s provided that allow secure password encryption technology to be used.
    This issue only applies to version 9.0.3 and prior; in 9.0.4 the TopLink Mapping Workbench uses JCE to encrypt the file.
    Regards,
    Dennis Leung
    Oracle Corp.

  • XSLT mapping issue in parent child relation

    Hi Guys,
    i have one XSLT mapping issue. Mapping scenario is from IDoc to file.
    IDoc structure is as below
    <ZLOIPRO1>
      <E1AFKOL>
         <A></A>
         <B></B>
         <E1RESBL>
             <MATNR>1</MATNR>
             <CHARG>1</CHARG>
             <ZSBL>
                 <MTART>ABC</MTART>
             </ZSB>
         </E1RESBL>
         <E1RESBL>
             <MATNR>2</MATNR>
             <CHARG>2</CHARG>
             <ZSBL>
                 <MTART>ZHA1</MTART>
             </ZSB>
         </E1RESBL>
         <E1RESBL>
             <MATNR>3</MATNR>
             <CHARG>3</CHARG>
             <ZSBL>
                 <MTART>ZHA1</MTART>
             </ZSB>
         </E1RESBL>
      </E1AFKOL>
    </ZLOIPRO1>
    As you can see 'E1RESBL' is repeatative. Now my issue is i need to select 'MATNR' and 'CHARG' from 'E1RESBL' segment when first occurance of 'ZSBL/MTART' with value 'ZHA1' appears. i.e. my output would be MATNR = 2 and CHARG = 2.
    I hope i am clear. Please let me know if any solution for this.

    Hi,
    Try this
    <xsl:if test="./ZSBL/MTART == 'ZHA1'">
    <xsl:for-each select="./E1RESBL">
      <MATNR>
       <xsl:value-of select="./MATNR"/>
      </MATNR>
      <BATCH>
       <xsl:value-of select="./CHARG"/>
      </BATCH>
    </xsl:for-each>
    </xsl:if>
    You might need to do some changes in the above.
    Thanks,
    Prakash

  • EA4500 – Smart Wi-Fi interface and Windows Network Map issues

    I purchased this Router about 2 weeks ago as a phased upgrade of our Home Network, primarily to enhance media streaming. It has the latest firmware preinstalled from the factory. Prior to the purchase and installation of the EA4500 Router I replaced my old Motorola SurfBoard SB6120 DOCSIS 3.0 Cable Modem with a Motorola SurfBoard SB6141 DOCSIS 3.0 Cable Modem. My old Linksys E2000 Router worked perfectly with the SB6141, with the exception that the E2000 wasn’t IPv6 enabled, but does have 10/100/1000Base-T Ethernet (RJ-45) and Internet ports.
    The EA4500 has been installed for about 10 days and seems to have improved local network speeds and I don’t seem to be having any Internet connectivity issues. However, there are some disturbing issues with the EA4500 and the AE3000 I purchased. There are 11 devices connected through the Router; a Dell Desktop (wireless with the AE3000), a Dell Desktop (Ethernet), a Dell Laptop (wireless), 2 Canon Printers (1 Ethernet and 1 Wireless), 2 Western Digital 1TB MyBookLive Network Drives (both Ethernet), a WD TV Live Streaming Media Player (wireless), an Apple TV media player (wireless), an iPad (wireless), and an Android Smartphone (wireless).
    Issue 1 – The Linksys Smart Wi-Fi interface appears to be unreliable at times!!! I’ve read about this problem here on the Community involving the EA6500, so I don’t know if this is a Linksys Server issue, as suggested in a few responses, or a bug in the Router firmware, or defective hardware. However, when the interface locks up, it can’t be accessed from a wireless or wired connection. Usually, powering down the Router and then powering it back up and restart will allow it to function again. However, at times before the interface completely locks up it shows either just a white screen or the security screen will show no firewall features enabled. This is a little scary, so I’ll do a complete reset and setup; this is becoming a pain in the rear!!!!! Is there any hope for this being fixed, in this Router, not the next generation??????????
    Issue 2 - All of my network devices show up in the Router’s Device List. Except for the Apple devices they also show up, when they are online, in Windows 7 Explorer under Network and when you click on Network they are correctly displayed as Computers, Media Devices, Network Infrastructure, or Storage. However, when you click on “Open Network and Sharing Center” and then click on “See Full Map”; it fails with the response “Windows cannot create the network map. Responses from other devices on the network are delayed or there is an incompatible router on the network”; no device map is shown. When I follow the link for more information, the only thing that stands out is “A device on the network, such as a hub or switch, is not working properly or is not compatible with the Link Layer Topology Discovery (LLTD) protocol, which Windows uses to create the map. To fix this problem, disable the device, turn it off, or remove it from your network”. All of my network devices showed up on the Network Map with the old E2000. This issue is the same on all of my computers, either wired or wireless. Any known solutions for this, or is it as Windows suggests; an incompatible Router????
    Thanks in advance for any insight or solutions. With the issues I’m having with the EA4500 and the AE3000; they are both probably going back to Amazon.

    thebluemamba_24; Thank you for your suggestion; I finally found time yesterday to perform an extensive evaluation before I return the Router. However, rather than trying to add devices manually, my rationale was if the EA4500 can’t process them correctly, automatically, it needs to be returned anyway, so I added devices normally letting the device an Router handle the process.
    In thinking through this issue, all devices on our network are detected and identified by Windows Explorer on Windows 7 computers; except of course the Apple and Android devices (Apple TV, iPad, and Smartphone). So, I wondered if one of those three devices being added to the Router’s device list was somehow causing issues or interfering with Windows 7’s ability to generate a Network Map. Therefore, my approach was to turn off or disable all devices on our network, reset the Router to factory defaults, reestablish the Router to my custom Home Network configuration using a Windows 7 PC that has LAN and Wireless access to the Router, then add one device at a time and check with each addition to see if Windows 7 could still generate a Network Map.
    With the Router reset and reestablishment complete; I began the process of adding one device at a time and checking to see if a Network Map was being generated. What I discovered was when a recent addition to the network, a Western Digital WD TV Live Streaming Media Player, was connected (wirelessly), Windows 7 could no longer generate the Network Map and the failure was consistent. The only way to get the Network Map to work again was to remove power from the WD TV Live, although it remained in the EA4500’s Device List; simply turning it off didn’t help. Since I’d originally witnessed the Windows 7 Network Map working with the Linksys E2000 Router that the EA4500 replaced, I decided to test the WD TV Live with that Router. It worked initially, but it failed consistently after the first success. Interestingly, the failure indication was a little different, but nevertheless generation of the Network Map failed.
    I’ve tried changing a few settings on the EA4500 as well as the WD TV Live, but nothing helped. There was a recent firmware update to the WD TV Live, so I might try rolling back the firmware to see if it makes a difference.
    The Network Map issue might very well be an issue with the WD TV Live, not the Router, but after reading many threads on this Community I have reservations that the problems I’m experiencing with the Smart interface lockup will be fixed. I suspect new emerging replacement products will be the focus and these older products will be abandoned and no more firmware fixes will be forthcoming and I don’t want to spend more money for a new product just to fix old problems and get something that works properly. The Network Map issue is troublesome, but the lockup of the Router’s “Linksys Smart Wi-Fi” interface is a serious matter to me. It appears that once it locks up, the only way to correct it is a power off restart; not practical if you’re traveling and trying to access settings remotely; the selling point for this feature.
    Given the problems I’m experiencing with the EA4500 and AE3000, I guess I’ll return them. Too bad, because otherwise the EA4500 seems like it’s a good Router. I’ve been brand loyal since the Linksys WRT54G came out, but after reading this Community and with my personal experience with the EA4500 and AE3000, now I’ll probably give the NETGEAR N900 equivalents a try.

  • Credit memo and MAP issue

    Hello Guru's
    I have 2 issues, and i am unable to understand the system logic for the same
    Issue 1:-
    We have an Intercomapny scenario
    sequence of transaction is as follows
    1. Create Return purchase order (document type NB) - Intercompany purchase
    2. Post return goods receipts - movement type 161
    3. Post credit memo with respect to return purchase order
    4. Cancel the movement type 161 - using 161 movement type
    System allows me to cancel the document created using 161 movement type
    Step 4 should not be allowed but system is allowing me to do so, please advise how to stop this
    Issue 2:-
    I have a strange MAP issues which is flactuating very drastically
    the scenario is as follows
    Store stock is 10 ea, stock value is 1000, MAP is 100
    DC map is 25
    When we make return STO from store to DC, ths stocks are issued at DC MAP (condition type P101)
    Assume we issue 9 quantity from Store then
    Store stock is 9 ea, stock value is (1000-(25*9)) =  775, MAP is 775/1 = 775
    This transaction is causing major flactuation in store MAP (100 changed to 775)
    Please advise if there is any way we can control this behaviour
    I understand that there is a setting which will in case of major MAP changes will put the amount into PRD account.
    Appreciate if you can guide me to help
    Regards
    Amit

    Hi,
    For your first scenario,
    for a retun po of IC NB type, after creating the PO you  need to deliver the same at VL10G. For the delivery system will allow to create the PGR . Prior to these steps you need to return the goods using 161 at MIGO.Please check this 161 stock posted to stock in transit.After PGR system will clear the stock in transit.
    Now after claring the stock from transit try cancelling the MIGO 161 document.
    For the second query,
    Please review your question' When we make return STO from store to DC, ths stocks are issued at DC MAP (condition type P101)
    Assume we issue 9 quantity from Store then
    Store stock is 9 ea, stock value is (1000-(25*9)) = 775, MAP is 775/1 = 775
    This transaction is causing major flactuation in store MAP (100 changed to 775),
    Please review the third line.
    Regards,

  • Mapping issue in idoc to JDBC scenario

    mapping issue in idoc to JDBC scenario
    source structure
    E1KNB1M
      BUKRS = 1000
    E1KNB1M
      BUKRS=  9000
    E1KNB1M
      BUKRS=  2000
    THE NODE E1KNB1M is repeated many times and the field BUKRS is also repeated with E1KNB1M as above
    TARGET field : ISFRANCHISE
    if any where value of BUKRS =9000 we have to pass Y to the target filed, else N
    if BUKRS = 9000   THEN ISFRANCHISE= Y
                   ELSE
                ISFRANCHISE=N
    I've done the mapping as below
    BUKRS = 9000--> IF THEN Y ELSE N--
    > ISFRANCHISE
    BUT everry time the target value is N only
    pl suggest
    rgds
    mojib

    mapped like this
    BUKRS--->SORT---->
                                                 EQUALS --------IF---THEN    Y
    9000------------------------>                                               ----------------->ISFRANCHISE
                                                                  ELSE   N
    context of BUKRS set to parent node
    its worked
    thanks to all for valuable suggestions
    rgds
    mojib

  • Mapping issue - if value matches on of several conditions

    Hi champs,
    I have a mapping in PI 7.1 of an invoice-xml  to a INVOIC02-idoc.
    I am mapping the invoice sums to E1EDS01-segments and just want to map five of several qualifiers. So I have set up a mapping for the qualifier field SUMID that just maps those five qualifiers, and map the SUMME-field from inbound message as it is.
    Now it shows that our vendors send more than those five qualifiers I have in my mapping. Since I don´t have any control of the SUMME-field all seven values get mapped into the Idoc (generating seven E1EDS01-segments), but only the five segments with my mapped SUMID get the SUMID-field. So I get in total seven E1EDS01 segments in which I get only the SUMME in two of them.
    So my question is: Are there any pretty ways to handle this kind of mapping issues besides using a lot of equalS, if and or?
    I would like to be able to say (in as simple a function as possible)  that if qualifier in field A is X, Y or Z then map the value in field B to SUMME. How do I do that? BTW I am not a java-programmer so advanced java-codes are not a good way for me to handle it.
    regards,
    Glenn

    Write an UDF with this code:
    public void <UDFNAME>(String <FieldName>,Container container){
    If (<FieldName> == "X" || <FieldName> == "Y" || <FieldName> == "Z"){
    return <FieldName>;
    Edited by: spantaleoni on Mar 16, 2011 4:04 PM

  • Mapping issue with context again

    I again need help with a mapping issue. I don’t know how to handle the contexts to get this working in the xi graphical mapping tool.  I have previously logged a question regarding this structure but the requirements have now changed. 
    I have a source document that has multiple delivery line items and for each delivery line item, there are multiple handling units. Each handling unit contains the line number of the delivery line item it belongs to. This structure has been simplified below.
    <b><u>Source Sample</u></b>
    <DOCUMENT>
    <DELIVERY_LINEITEM>
    <LINENUMBER>10</LINENUMBER>
    <MATERIAL>mat 1</MATERIAL>
    </DELIVERY_LINEITEM >
    <DELIVERY_LINEITEM >
    <LINENUMBER>20</LINENUMBER>
    <MATERIAL>mat 2</MATERIAL>
    </DELIVERY_LINEITEM >
    <HANDLING_UNITS>
    <HU_LABEL>123</HU_LABEL>
    <HU_ITEM>
    <LINENUMBER>10</LINENUMBER>
    </HU_ITEM>
    </HANDLING_UNITS>
    <HANDLING_UNITS>
    <HU_LABEL>456</HU_LABEL>
    <HU_ITEM>
    <LINENUMBER>10</LINENUMBER>
    </HU_ITEM>
    </HANDLING_UNITS>
    <HANDLING_UNITS>
    <HU_LABEL>789</HU_LABEL>
    <HU_ITEM>
    <LINENUMBER>20</LINENUMBER>
    </HU_ITEM>
    </HANDLING_UNITS>
    </DOCUMENT>
    <u><b>Source Structure</b></u>
    DOCUMENT 1..1
    DELIVERY_LINEITEM 1..unbounded
    LINENUMBER 1..1
    MATERIAL 1..1
    HANDLING_UNITS 1..unbounded
    HU_LABEL 1..1
    HU_ITEM 1..1
    LINENUMBER 1..1
    In the target structure, I need to output each handling unit along with the corresponding DELIVERY_LINEITEM material.  Target structure has been simplified below:
    <u><b>Target Sample</b></u>
    <DOCUMENT>
    <ROW>
    <PACKAGING>
    <HU_LABEL>123</HU_LABEL>
    </PACKAGING>
    <PACKAGING_ITEM>
    <LINENUMBER>10</LINENUMBER>
    <MATERIAL>mat 1</MATERIAL>
    </PACKAGING_ITEM>
    </ROW>
    <ROW>
    <PACKAGING>
    <HU_LABEL>456</HU_LABEL>
    </PACKAGING>
    <PACKAGING_ITEM>
    <LINENUMBER>10</LINENUMBER>
    <MATERIAL>mat 1</MATERIAL>
    </PACKAGING_ITEM>
    </ROW>
    <ROW>
    <PACKAGING>
    <HU_LABEL>789</HU_LABEL>
    </PACKAGING>
    <PACKAGING_ITEM>
    <LINENUMBER>20</LINENUMBER>
    <MATERIAL>mat 2</MATERIAL>
    </PACKAGING_ITEM>
    </ROW>
    </DOCUMENT>
    <u><b>Target Structure</b></u>
    DOCUMENT 1..1
    ROW 1..unbounded    
    PACKAGING 1...1
    HU_LABEL 1..1
    PACKAGING_ITEM 1..1
    LINENUMBER 1..1
    MATERIAL 1..1
    Note, 1 ROW in the target structure = 1 HANDLING_UNITS from the source structure.
    Can anyone help me to achieve this? I do not know how to map the relevant DELIVERY_LINEITEM\MATERIAL from the source structure to the target structure.

    JM,
    Please find the solution. Reply back if it helps or not
    http://www.flickr.com/photo_zoom.gne?id=1045178998&size=o
    http://www.flickr.com/photo_zoom.gne?id=1045179010&size=o
    http://www.flickr.com/photo_zoom.gne?id=1045179022&size=o
    Results :http://www.flickr.com/photo_zoom.gne?id=1045179134&size=o
    <b>Code used:</b>
    for(int j=0;j<Handling_Linenum.length;j++)
    for(int k=0;k<Delivery_Linenum.length;k++)
    if(Handling_Linenum[j].equals(Delivery_Linenum[k]))
    result.addValue(""Material[k]"");
    result.addContextChange();
    Best regards,
    raj.

  • File - XI - Idoc : mapping issue

    Hello gurus,
    I have a mapping issue:
    I have a mapping between FICABillingNotification to FKK_EBS_DOC_TREE
    Some fields are mapped one to one, others a mapped to constants.
    But for some reason i don't know, not all fields get the right value.
    For example:
    Working:
    Constant 1 --> BEGIN
    Constant LS --> RCVPRT (Receiver Partner Type)
    Not working:
    Constant FILE-->RCVPOR (Receiver Port)
    I had an other value the first time i tried it, but now i changed it to FILE but this value is not used by the mapping.
    Any help would be welcome
    Thanks
    Thomas
    Edited by: Thomas Pary on May 28, 2008 3:36 PM

    This was allready done (sorry i didn't answered that question).
    But Ok now i see, that for this RCVPOR the value of the constant "FILE" is mapped, and i can see it in the payload in SXMB_MONI after the mapping. But it isn't populated to the IDoc field :-s
    Another problem is, that like the one said above, some of my values are not mapped :
    <FICAExternalBilling>
    --<DocumentHeader> mapped to EF1KK_EBS_DOC_HEADER
    <BillFromId>25001254</BillFromId> mapped to REF_DOC_NUMBER
    <PostingDate>20080520</PostingDate> mapped to POST_DATE
    <DocumentDate>20080520</DocumentDate> mapped to DOC_DATE
    <OriginTypeId>IV</OriginTypeId> mapped to EXT_DOC_TYPE
    <ObjectType/>
    <ObjectKey/>
    <PendingCommitmentGroupID/>
    <InvoiceReferenceID/>
    <DisputeDocumentReferenceID/>
    --</DocumentHeader>
    The value of OriginTypeId is not mapped, but the value of DocumentDate and PostingDate are mapped.

Maybe you are looking for