Exception in Service Mapping Tool

Hello,
I'm trying to use the Service Mapping Tool, but run into the exception "Parameter CH_CHANGE was not transferred" when executing the mapping. Does anyone have any insight why this might be?
Regards
Mattias

Hello,
I'm trying to use the Service Mapping Tool, but run into the exception "Parameter CH_CHANGE was not transferred" when executing the mapping. Does anyone have any insight why this might be?
Regards
Mattias

Similar Messages

  • Reverse mapping tool in 3.0.1 ignores "-schemas" option

    I believe I have discovered a bug in the 3.0.1 version of the reverse
    mapping tool.
    Here is a script of the commands that worked fine in 3.0.0:
    Script started on Mon Jan 12 11:02:19 2004
    1$ which schemagen
    /opt/kodo-jdo-3.0.0/bin/schemagen
    2$ echo $PATH
    /opt/kodo-jdo-3.0.0/bin:/sw/db/oracle/oracle817/bin:/sw/gen/sparc-sun-solaris2.9/acroread/5.06/bin:/sw/gen/sparc-sun-solaris2.9/cvs/1.11.5/bin:/sw/gen/sparc-sun-solaris2.9/esound/0.2.29/bin:/sw/gen/sparc-sun-solaris2.9/mpg123/0.59r/bin:/usr/bin:/sw/gen/sparc-sun-solaris2.9/gnupg/1.2.1/bin:/sw/gen/sparc-sun-solaris2.9/mozilla/1.3/bin:/sw/gen/sparc-sun-solaris2.9/openssh/3.7.1p2/sbin:/sw/gen/sparc-sun-solaris2.9/openssh/3.7.1p2/bin:/sw/pd/workman-1.3.4/bin:/usr/openwin/bin:/usr/bin:/sbin:/bin:/usr/sbin:/usr/ccs/bin:/usr/ucb:/opt/local/bin:/sw/modules/bin:/sw/com/bin:/sw/pd/bin:/sw/pd/office52/program:/sw/pd/RealPlayer8:/users/n9208/bin:/opt/openssh/bin:/usr/dt/bin:/usr/dt/bin:/usr/openwin/bin:/sw/db/tools/bin:/sw/db/iss/bin:/usr/local/bin:/usr/local/scripts
    3$ echo $CLASSPATH
    :/opt/oracle/oracle9.0.1.4.zip:/opt/kodo-jdo-3.0.0:/opt/kodo-jdo-3.0.0/lib/kodo-jdo-runtime.jar:/opt/kodo-jdo-3.0.0/lib/kodo-jdo.jar:/opt/kodo-jdo-3.0.0/lib/jakarta-commons-collections-2.1.jar:/opt/kodo-jdo-3.0.0/lib/jakarta-commons-lang-1.0.1.jar:/opt/kodo-jdo-3.0.0/lib/jakarta-commons-logging-1.0.3.jar:/opt/kodo-jdo-3.0.0/lib/jakarta-commons-pool-1.0.1.jar:/opt/kodo-jdo-3.0.0/lib/jakarta-regexp-1.1.jar:/opt/kodo-jdo-3.0.0/lib/jca1.0.jar:/opt/kodo-jdo-3.0.0/lib/jdbc-hsql-1_7_0.jar:/opt/kodo-jdo-3.0.0/lib/jdbc2_0-stdext.jar:/opt/kodo-jdo-3.0.0/lib/jdo-1.0.1.jar:/opt/kodo-jdo-3.0.0/lib/jndi.jar:/opt/kodo-jdo-3.0.0/lib/jta-spec1_0_1.jar:/opt/kodo-jdo-3.0.0/lib/log4j-1.2.6.jar:/opt/kodo-jdo-3.0.0/lib/xalan.jar:/opt/kodo-jdo-3.0.0/lib/xercesImpl.jar:/opt/kodo-jdo-3.0.0/lib/xml-apis.jar:/opt/kodo-jdo-3.0.0/lib/jfreechart-0.9.13.jar:/opt/kodo-jdo-3.0.0/lib/jcommon-0.8.8.jar
    4$ schemagen -p kodo.properties -f schema.xml -schemas PRODTRDTA.F0101
    0 INFO [main] kodo.Tool - Schema generator running on schemas
    "PRODTRDTA.F0101". This process may take some time. Enable the
    kodo.jdbc.Schema logging category to see messages about the collection of
    schema data.
    136 INFO [main] jdbc.Schema - Reading table information for schema name
    "PRODTRDTA", table name "F0101".
    672 INFO [main] jdbc.Schema - Reading column information for table
    "PRODTRDTA.F0101".
    727 INFO [main] jdbc.Schema - Reading primary keys for schema name
    "PRODTRDTA", table name "F0101".
    2187 INFO [main] jdbc.Schema - Reading indexes for schema name
    "PRODTRDTA", table name "F0101".
    2432 INFO [main] jdbc.Schema - Reading foreign keys for schema name
    "PRODTRDTA", table name "F0101".
    2632 INFO [main] kodo.Tool - Writing XML schema.
    5$
    script done on Mon Jan 12 11:03:14 2004
    Note the first line of logging output: both the schema name and table name
    are properly recognized.
    Here is the scripted output of the same commands in 3.0.1:
    Script started on Mon Jan 12 10:29:03 2004
    1$ which schemagen
    /opt/kodo-jdo-3.0.1/bin/schemagen
    2$ echo $PATH
    /opt/kodo-jdo-3.0.1/bin:/sw/db/oracle/oracle817/bin:/sw/gen/sparc-sun-solaris2.9/acroread/5.06/bin:/sw/gen/sparc-sun-solaris2.9/cvs/1.11.5/bin:/sw/gen/sparc-sun-solaris2.9/esound/0.2.29/bin:/sw/gen/sparc-sun-solaris2.9/mpg123/0.59r/bin:/usr/bin:/sw/gen/sparc-sun-solaris2.9/gnupg/1.2.1/bin:/sw/gen/sparc-sun-solaris2.9/mozilla/1.3/bin:/sw/gen/sparc-sun-solaris2.9/openssh/3.7.1p2/sbin:/sw/gen/sparc-sun-solaris2.9/openssh/3.7.1p2/bin:/sw/pd/workman-1.3.4/bin:/usr/openwin/bin:/usr/bin:/sbin:/bin:/usr/sbin:/usr/ccs/bin:/usr/ucb:/opt/local/bin:/sw/modules/bin:/sw/com/bin:/sw/pd/bin:/sw/pd/office52/program:/sw/pd/RealPlayer8:/users/n9208/bin:/opt/openssh/bin:/usr/dt/bin:/usr/dt/bin:/usr/openwin/bin:/sw/db/tools/bin:/sw/db/iss/bin:/usr/local/bin:/usr/local/scripts
    3$ echo $CLASSPATH
    :/opt/oracle/oracle9.0.1.4.zip:/opt/kodo-jdo-3.0.1:/opt/kodo-jdo-3.0.1/lib/kodo-jdo-runtime.jar:/opt/kodo-jdo-3.0.1/lib/kodo-jdo.jar:/opt/kodo-jdo-3.0.1/lib/jakarta-commons-collections-2.1.jar:/opt/kodo-jdo-3.0.1/lib/jakarta-commons-lang-1.0.1.jar:/opt/kodo-jdo-3.0.1/lib/jakarta-commons-logging-1.0.3.jar:/opt/kodo-jdo-3.0.1/lib/jakarta-commons-pool-1.0.1.jar:/opt/kodo-jdo-3.0.1/lib/jakarta-regexp-1.1.jar:/opt/kodo-jdo-3.0.1/lib/jca1.0.jar:/opt/kodo-jdo-3.0.1/lib/jdbc-hsql-1_7_0.jar:/opt/kodo-jdo-3.0.1/lib/jdbc2_0-stdext.jar:/opt/kodo-jdo-3.0.1/lib/jdo-1.0.1.jar:/opt/kodo-jdo-3.0.1/lib/jndi.jar:/opt/kodo-jdo-3.0.1/lib/jta-spec1_0_1.jar:/opt/kodo-jdo-3.0.1/lib/log4j-1.2.6.jar:/opt/kodo-jdo-3.0.1/lib/xalan.jar:/opt/kodo-jdo-3.0.1/lib/xercesImpl.jar:/opt/kodo-jdo-3.0.1/lib/xml-apis.jar:/opt/kodo-jdo-3.0.1/lib/jfreechart-0.9.13.jar:/opt/kodo-jdo-3.0.1/lib/jcommon-0.8.8.jar:/opt/kodo-jdo-3.0.1/lib/jline.jar:/opt/kodo-jdo-3.0.1/lib/sqlline.jar
    4$ schemagen -p kodo.properties -f schema.xml -schemas PRODTRDTA.F0101
    1 INFO [main] kodo.Tool - Schema generator running on schemas "all".
    This process may take some time. Enable the kodo.jdbc.Schema logging
    category to see messages about the collection of schema data.
    103 INFO [main] jdbc.Schema - Reading table information for schema name
    "null", table name "null".
    Exception in thread "main" java.lang.OutOfMemoryError
    5$
    script done on Mon Jan 12 11:01:45 2004
    Note the first line of logging output here: the schema is listed as "all"
    instead of the limited scope I had specified.
    This run eventually crashes due to the fact that the account which I am
    running the mapping tool in has access to thousands of tables, and thus
    eventually the JVM runs out of available heap.
    My workaround is to fall back to 3.0.0.

    Thanks for the report. We noticed this ourselves a short while ago.
    The bug will be fixed in 3.0.2.

  • Problems with Mapping Tool in Tutorial

    Hello,
    I am having problems with section 2.3 in the tutorial, even with the
    completed solutions of the tutorial. In particular, I cannot add Rabbit
    and Snake to the petshop. I get the following errors:
    C:\Apps\kodo-jdo-3.1.2\tutorial\solutions>javac *.java
    C:\Apps\kodo-jdo-3.1.2\tutorial\solutions>jdoc package.jdo
    578 INFO [main] kodo.Tool - JDO enhancer running on type "class
    tutorial.Animal".
    907 INFO [main] kodo.Tool - The class is already persistence capable -
    no enhancement performed.
    907 INFO [main] kodo.Tool - JDO enhancer running on type "class
    tutorial.Dog".
    907 INFO [main] kodo.Tool - The class is already persistence capable -
    no enhancement performed.
    907 INFO [main] kodo.Tool - JDO enhancer running on type "class
    tutorial.Rabbit".
    985 WARN [main] kodo.Enhance - Type "class tutorial.Rabbit" has no
    metadata; enhancing as persistence aware. If you intended for "class
    tutorial.Rabbit" to be persistence-capable, then this means that Kodo
    could not find any JDO metadata for "class tutorial.Rabbit". This can
    happen if the directory containing your metadata is not in your CLASSPATH,
    or if your JDO metadata files are not named in accordance with the JDO
    specification. See the Metadata Placement section of the Java Data Objects
    documentation distributed with Kodo JDO for more information.
    985 INFO [main] kodo.Tool - The class does not have JDO metadata -
    enhanced as persistence-aware.
    1063 INFO [main] kodo.Tool - JDO enhancer running on type "class
    tutorial.Snake".
    1094 WARN [main] kodo.Enhance - Type "class tutorial.Snake" has no
    metadata; enhancing as persistence aware. If you intended for "class
    tutorial.Snake" to be persistence-capable, then this means that Kodo could
    not find any JDO metadata for "class tutorial.Snake". This can happen if
    the directory containing your metadata is not in your CLASSPATH, or if
    your JDO metadata files are not named in accordance with the JDO
    specification. See the Metadata Placement section of the Java Data Objects
    do
    cumentation distributed with Kodo JDO for more information.
    1094 INFO [main] kodo.Tool - The class does not have JDO metadata -
    enhanced as persistence-aware.
    C:\Apps\kodo-jdo-3.1.2\tutorial\solutions>mappingtool -action refresh
    package.jdo
    3812 INFO [main] kodo.Tool - Mapping tool running on type "class
    tutorial.Animal" with action "refresh".
    4047 WARN [main] kodo.MetaData - There has been a change to the
    definition of "tutorial.Animal" or its schema since it was last mapped, or
    the mapping you defined is invalid: "The table "ANIMAL" specified in the
    mapping for type "tutorial.Animal" does not exist."
    4062 WARN [main] kodo.MetaData - There has been a change to the
    definition of "tutorial.Animal.<version-indicator>" or its schema since it
    was last mapped, or the mapping you defined is invalid: "The "column"
    attribute/extension for the version indicator on type
    "tutorial.Animal.<version-indicator>" is missing or names a column
    "JDOVERSION" that does not exist."
    4062 WARN [main] kodo.MetaData - There has been a change to the
    definition of "tutorial.Animal.<class-indicator>" or its schema since it
    was last mapped, or the mapping you defined is invalid: "The
    "class-column" attribute/extension for the class indicator on type
    "tutorial.Animal.<class-indicator>" is missing or names a column that does
    not exist."
    4062 WARN [main] kodo.MetaData - There has been a change to the
    definition of "tutorial.Animal.name" or its schema since it was last
    mapped, or the mapping you defined is invalid: "The "column"
    attribute/extension for field "tutorial.Animal.name" is missing or names a
    column "NAME0" in table "ANIMAL" that does not exist."
    4062 WARN [main] kodo.MetaData - There has been a change to the
    definition of "tutorial.Animal.price" or its schema since it was last
    mapped, or the mapping you defined is invalid: "The "column"
    attribute/extension for field "tutorial.Animal.price" is missing or names
    a column "PRICE" in table "ANIMAL" that does not exist."
    4078 INFO [main] kodo.Tool - Mapping tool running on type "class
    tutorial.Dog" with action "refresh".
    4078 INFO [main] kodo.Tool - Mapping tool running on type "class
    tutorial.Rabbit" with action "refresh".
    Exception in thread "main" kodo.meta.JDOMetaDataNotFoundException: No JDO
    metadata was found for type "class tutorial.Rabbit". Ensure that your JDO
    metadata files are accessible via resource lookup at runtime (typically
    this means they must be in your CLASSPATH), and that they are located in
    one of the JDO standard locations.
    at
    kodo.meta.JDOMetaDataRepositoryImpl.getMetaData(JDOMetaDataRepositoryImpl.java:131)
    at
    kodo.meta.DelegatingJDOMetaDataRepository.getMetaData(DelegatingJDOMetaDataRepository.java:123)
    at
    kodo.jdbc.meta.MappingRepository.getMapping(MappingRepository.java:161)
    at kodo.jdbc.meta.MappingTool.refresh(MappingTool.java:576)
    at kodo.jdbc.meta.MappingTool.run(MappingTool.java:909)
    at kodo.jdbc.meta.MappingTool.run(MappingTool.java:850)
    at kodo.jdbc.meta.MappingTool.main(MappingTool.java:783)
    C:\Apps\kodo-jdo-3.1.2\tutorial\solutions>

    It sounds like your CLASSPATH is not set up correctly. Did you follow
    the instructions in the README for setting up your environment?

  • Horizontal mapping & mapping tool

    Hi,
    Can MappingTool populate mapping data, given only jdo metadata?
    Example follows:
    <jdo>
    <package name="com.bear.fi.tradehub.domain.test">
    <class name="BaseJDO" identity-type="datastore">
    <extension vendor-name="kodo" key="jdbc-class-map"
    value="horizontal"/>
    <field name="a" persistence-modifier="persistent"/>
    </class>
    </package>
    </jdo>
    // subclass SubOneJDO extends BaseJDO
    <jdo>
    <package name="com.bear.fi.tradehub.domain.test">
    <class name="SubOneJDO" identity-type="datastore"
    persistence-capable-superclass="com.bear.fi.tradehub.domain.test.BaseJDO">
    <extension vendor-name="kodo" key="jdbc-class-map" value="base"/>
    <field name="b" persistence-modifier="persistent"/>
    </class>
    </package>
    </jdo>
    When i run mapping tool on this metadata, i get table for SubOne created
    and it has columns for a and b, as expected
    However, mapping tool itself crashes with a null pointer exception and
    fails to update mapping information in metadata.
    kodo.util.FatalException: java.lang.NullPointerException
    NestedThrowables:
    java.lang.NullPointerException
    at kodo.jdbc.meta.MappingTool.record(MappingTool.java:518)
    at kodo.jdbc.meta.MappingTool.run(MappingTool.java:912)
    at kodo.jdbc.meta.MappingTool.run(MappingTool.java:850)
    at kodo.jdbc.meta.MappingTool.main(MappingTool.java:783)
    Caused by: java.lang.NullPointerException
    at
    kodo.jdbc.meta.MetaDataMappingFactory.addExtensions(MetaDataMappingFactory.java:253)
    at
    kodo.jdbc.meta.MetaDataMappingFactory.addMappingExtensions(MetaDataMappingFactory.java:219)
    at
    kodo.jdbc.meta.MetaDataMappingFactory.storeMappings(MetaDataMappingFactory.java:162)
    at kodo.jdbc.meta.MappingTool.record(MappingTool.java:481)
    ... 3 more
    NestedThrowablesStackTrace:
    java.lang.NullPointerException
    at
    kodo.jdbc.meta.MetaDataMappingFactory.addExtensions(MetaDataMappingFactory.java:253)
    at
    kodo.jdbc.meta.MetaDataMappingFactory.addMappingExtensions(MetaDataMappingFactory.java:219)
    at
    kodo.jdbc.meta.MetaDataMappingFactory.storeMappings(MetaDataMappingFactory.java:162)
    at kodo.jdbc.meta.MappingTool.record(MappingTool.java:481)
    at kodo.jdbc.meta.MappingTool.run(MappingTool.java:912)
    at kodo.jdbc.meta.MappingTool.run(MappingTool.java:850)
    at kodo.jdbc.meta.MappingTool.main(MappingTool.java:783)
    Exception in thread "main"
    Kodo being used is 3.1.0
    Thanks,
    Egidijus

    A stringified object ID is the reference of an object that has been converted to a string so that it may be stored in a text file. It is used for detached instances of persistent classes using datastore id.
    Laurent

  • LMS 4.0.1 - telnet from topology services map

    On a LMS 4.0.1 :
    I want to know what is the right way to change the telnet program on the campus mgr map (topology services map), when right-clicking a device icon and selecting telnet.
    I would like to use a tool of mine, and not to launch a telnet command from the IE browser.
    I changed the default telnet of Windows in the registry, but the program is still launched as a telnet URL in the browser and this is not what I would like to do.
    If anybody has any clue ? thanx
    Marc - CCIE 2700

    With LMS 4.0.1 I use Java 1.6.
    The Java Plug-in control panel is different (no way to configure the DCMSSH parameter).
    And this parameter is used with LMS 2.5 or 2.6 as per the example in the link you provided.
    are you certain it applies to LMS4.0.1 as well ?
    Additionaly, I don't want to use SSH, but only Telnet.
    Thnak you
    Marc.

  • On Demand Business Intelligence/Self Service BI tools

    Hello, 
    I wanted to first understand if "On Demand Business Intelligence" and "Self Service BI" mean the same. If not, what is the difference between the two. 
    In addition, i would like to know the tools that i could use addressing the above two needs. The tool should have features like charting etc (fancy stuff).., It should be easily integrated with web apps and not too costly.
    Any thoughts
    vinu

    Hi Vinu,
    The term 'On-demand BI' is open to interpretation, as are most of these 'buzz-words', but it is commonly accepted as meaning 'BI in the cloud' whereby an organisation can
    reap the benefits of a BI infrastructure without being hit by the costs commonly associated with on-premise BI infrastructures. The on-demand BI capability is normally delivered via a subscription based model i.e. Infrastructure as a service
    (IaaS).
    Self-service BI relates to empowering subject matter experts or SMEs to convert the data that is available to them into reports, dashboards, and other actionable information products, whilst
    reducing their immediate dependence on the IT department (who are often a bottle neck for ad-hoc, time-sensitive, reporting and analysis requirements).
    Reports/dashboards created with self-service BI tools often get converted into corporate-wide BI reports/dashboards once their usefulness has been recognised by senior management. Self-service
    BI tools such as Power Pivot, Power View, Power Query, and Power Map can be used with on-premise BI, 'BI in the cloud', or both. Even before Power Pivot, and other Power BI products, Excel could be considered a self-service BI tool since it enables
    SMEs to create what are effectively 'decision support systems'.
    A good example of 'On-demand BI' would be Power BI in office 365, since it allows businesses to have a BI capability without a large capital expenditure that is normally associated with this.
    SAP also provide BI On demand.
    Good examples of Self-service BI tools that come to mind are the Power BI offerings (Power Pivot, Power View, Power Query, Power Map), Tableau, and Qlikview.
    My answer is certainly not definitive and it would be interesting to read how others in this forum interpret 'On Demand BI' and 'Self-service BI'...
    Hope this helps,
    Michael

  • Differentiating Between Windows XP and Windows XP Embedded with MAP Tool

    Hi All,
    I have a customer who has multiple Windows XP Embedded Thinclients.  When he runs the MAP tool they show up as Windows XP devices.  I have personally not seen this yet since he hasn't shared the MAP data yet but does anyone know if the MPA tool
    can differentiate between Windows XP desktops and Windows XP embedded Thinclients or are they all lumped together?  Does the MAP tool show for example versioning that might help differentiate?   Any help would be greatly appreciated.

    When queried by MAP, the WMI service in the Windows XPe machines are reporting back as “Microsoft Windows XP Professional” and since MAP can only report what WMI tells it, that is what shows up in the reports. This is an artifact of Windows XPe because it
    starts out as a full version of XP Pro and then each OEM can choose what parts they want to remove, if any. If the OEMs don’t modify the WMI class to show the product as XP Embedded, it will continue to show up with its original description of Windows XP Professional.
    Please remember to click "Mark as Answer" on the post that helps you, and to click
    "Unmark as Answer" if a marked post does not actually answer your question. Please
    VOTE as HELPFUL if the post helps you. This can be beneficial to other community members reading the thread.

  • Business Object creation error: The service mapping is missing

    Hi developers,
    In my CAF 7.1, I have my business object "maintenanceRequest" with several attributes.
    Persistency is remote. Permission check is disabled.
    Create operation is mapped to the external service (enterprise service) createMaintenanceRequest.
    The input fields are mapped, output fields are not mapped since create operation doesn't have any.
    All the other operations are not mapped.
    I have exposed as web service the operation "create",
    I have generated, built and deployed the app.
    When I try to run it from wsnavigator I get an error in the SOAP response:
    com.sap.caf.rt.exception.CAFCreateException: The service mapping is missing
    Please note that the ES works ok (e.g. from Visual Compose 7.1).
    The ES was imported in NWDS 7.1 from service registry.
    Can anyone please help?
    Thanks, regards
    Vincenzo

    Hi Sampath, thanks for your helpful reply.
    I followed the steps from saphelp, but I get errors.
    I mapped my external service destination (an R/3-based Enterprise Service published in service registry) to:
    - UDDI_DESTINATION (error: objectNotExist) [but the ES is correctly published in service registry]
    - wsdl address in backend R/3 system (error: Deserializing WSDL stream failed)
    how should the logical destination be configured?
    Thanks a lot
    Vincenzo

  • Dto object mapping tool ?

    Hellu,
    I am looking for an open source object mapping tool like Dozer. (mapping one object to another existing object, so not dynamically like DynaDto does).
    If anyone has a good advice, please let me know ?
    I am not so crazy about Dozer, I use it but it has some strange behavior...
    So I am looking for an alternative, but can't really find a good one :(...
    thanx

    Here's some free packages.
    We're using Castor, there are few tools and the docs are not that good.
    http://castor.exolab.org/
    I'm researching this package at present, can't say much about it except that it appears to be as good as (and maybe better than) Castor.
    http://jakarta.apache.org/ojb/index.html
    Dave

  • What is difference between  Service map iview and Workset Map iview

    Hi Experts,
                        Can anyone tell me the difference between  service map iView and Workset Map iView.
    When I am creating these iViews, its seams both are same. I canu2019t find difference still, can anyone help me out of this
    Thanks in Advance
    Janardhan

    Hi,
    Service Map Iview:The Service Map iView is an ERP-specific variant of the portal Workset Map iView. It serves as a central point of entry and guided access to the services of SAP service modules such as the Manager Self Service (MSS) module, or the Employee Self Service (ESS) module.
    Workset Map iview:A Workset Map is the equivalent of a site map, providing users with explicit information on the functionality that is available in a given workset. It is based on an iView, and serves as a central point of entry and guided access to the contents of a workset.
    if you want to more info pls go thr the below thread
    Workset Map iView
    i hope it will help you
    Thanks,
    Sreeni.

  • Bug in exists() function of XI Graphical Mapping Tool?

    Hi!
    If I connect a source field with the exists() function in XI Graphical Mapping Tool and the tag exists it returns TRUE, otherwise it returns FALSE, so everything works as expected.
    But I have to connect a user-defined function with exists(). The user-defined function will either calculate a value or set Resultset.SUPPRESS.
    If there is a value the exits() function returns TRUE, however if Resultset.SUPPRESS is set it does also return TRUE! This looks to me like a bug in exists() function. Shouldn't it always return FALSE if the input is Resultset.SUPPRESS?
    Regards, Tanja

    Hi Stefan!
    > The exists() function checks, if a queue is empty.
    > An empty queue is <b>not</b> represented by the
    > SUPPRESS value.
    > If inside a queue there is a SUPPRESS value, the
    > queue is <b>not</b> empty.
    Ok, so it's not a bug and the exists() function is working as expected.
    > If you want the exist() function after a UDF, provide
    > an empty queue, or easier: return the values "true"
    > or "false" directly from the UDF.
    Yes, that's how I actually solved the problem. The UDF was used at several places where the ResultList.SUPPRESS output was needed. So I copied the UDF and changed it so that the output was TRUE or FALSE instead.
    Regards, Tanja

  • Mapping tool creates new columns one at a time

    Hi All,
    I'm using Kodo 3.2.2 with MySql 4.1. I have a fairly large table (over
    2million rows) representing one persistent class. I need to add several
    new fields to the object, which will require a refresh mapping on the
    database to add new columns for the fields.
    It seems when I run refresh mapping on the database, Kodo is adding each
    new field individually in seperate ALTER TABLE statements, rather than
    adding all the columns in one ALTER TABLE statement.
    With MySQL and large tables, this can really increase the time required to
    refresh the mapping - I've tried with MSSQL and that database must handle
    ALTER TABLE commands differently because it doesn't take a fraction of the
    time that MySQL takes.
    Is this a bug (I doubt it), but rather a feature improvement?
    Thoughts?
    Thanks,
    Brendan

    Thanks Abe for the reply - I've been meaning to look at the process of
    creating SQL scripts to perform the refresh mappings on our databases.
    I'll have a look at this process before we talk contracting!
    Thanks,
    Brendan
    Abe White wrote:
    Unfortunately, we don't have any immediate plans to optimize ALTER TABLEsince
    it's not a runtime operation, and as you say most DBs don't have a problemwith
    it. Also, note that the documentation shows how to get Kodo to create SQL
    scripts rather than directly modify the DB; you could easily edit thescripts
    Kodo generates to make them more efficient before piping the SQL to MySQLusing
    its client app. (Note that Kodo 3.3 introduces the ability to generate SQL
    scripts directly from the mapping tool, rather than having to take an extrastep
    through the schema tool).
    If getting Kodo to combine ALTER statements is important to you, you couldalso
    contact [email protected] about contracting us to expedite this work.

  • XSLT mapping tool

    Hi All,
    I am abap consultant, so its difficult to write a XSLT mapping program.
    Is there any XSLT mapping tool available on net to use free?
    Which can take source XML & Target XML and upon doing graphical mapping
    it generates the XSLT mapping program between source & target XML.
    Regards

    Rohan,
    Is there any XSLT mapping tool available on net to use free?
    Yes, Stylus Studio and Altova have free download-able tool for XSL Mapping.
    Which can take source XML & Target XML and upon doing graphical mapping
    it generates the XSLT mapping program between source & target XML.
    I don't think there is any tool which will make use of graphical mapping to create an XSL Mapping.
    But the point is, if you are creating a graphical mapping, why you need XSL?
    Regards,
    Neetesh

  • Raising Exceptions in XSLT mapping.?

    Hi,
    When there is an mapping exception, in UDF, i raise an exception...
    Similar is the case with Java & ABAP mappings.
    Now, How do i raise mapping exceptions in XSLT mapping (Java & ABAP)..?
    --DJ

    You could use Java enhancement, but instead of just adding info to the trace, you could raise a real exception, using an ErrorHandler object. Ive successfully worked with the one below (not with XSLTs, tho, but I dont see why it shouldnt work.
    import java.util.Map;
    import org.xml.sax.ErrorHandler;
    import org.xml.sax.SAXException;
    import org.xml.sax.SAXParseException;
    import com.sap.aii.mapping.api.AbstractTrace;
    import com.sap.aii.mapping.api.StreamTransformationConstants;
    * @author Henrique.Pinto
    * To change the template for this generated type comment go to
    * Window&gt;Preferences&gt;Java&gt;Code Generation&gt;Code and Comments
    public class MappingErrorHandler implements ErrorHandler {
         private static AbstractTrace trace = null;
         public MappingErrorHandler(Map param) {
              trace =
                   (AbstractTrace) param.get(
                        StreamTransformationConstants.MAPPING_TRACE);
         public void warning(SAXParseException exception) throws SAXException {
              trace.addInfo(
                   "**Parsing Warning**n"
                        + "  Line:    "
                        + exception.getLineNumber()
                        + "n"
                        + "  URI:     "
                        + exception.getSystemId()
                        + "n"
                        + "  Message: "
                        + exception.getMessage());
              throw new SAXException("Warning encountered");
         public void error(SAXParseException exception) throws SAXException {
              trace.addInfo(
                   "**Parsing Error**n"
                        + "  Line:    "
                        + exception.getLineNumber()
                        + "n"
                        + "  URI:     "
                        + exception.getSystemId()
                        + "n"
                        + "  Message: "
                        + exception.getMessage());
              throw new SAXException("Error encountered");
         public void fatalError(SAXParseException exception) throws SAXException {
              trace.addInfo(
                   "**Parsing Fatal Error**n"
                        + "  Line:    "
                        + exception.getLineNumber()
                        + "n"
                        + "  URI:     "
                        + exception.getSystemId()
                        + "n"
                        + "  Message: "
                        + exception.getMessage());
              throw new SAXException("Fatal Error encountered");
    Regards,
    Henrique.

  • XSLT-Mapping Exception:  Prefix not mapped:

    Hi all,
    I try to make a mapping using XSLT and get the exception: Prefix not mapped: ns0.
    I wrote a simple xslt-script:
    <?xml version="1.0" encoding="UTF-8"?>
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:ns1="http://me.home.com">
    <xsl:output method="xml" version="1.0" encoding="UTF-8" indent="yes"/>
    <xsl:template match="//XIFCollection">
    <Start>
      <xsl:for-each select="ns1:XIFTest">
       <Found>
        <xsl:number format="1"/>
       </Found>
      </xsl:for-each>
    </Start>
    </xsl:template>
    </xsl:stylesheet>
    Using this input XML:
    <?xml version="1.0" encoding="UTF-8"?>
    <XIFCollection  >
    <ns0:XIFTest xmlns:ns0="http://me.home.com">
      <IFControl>
       <MeldungsId>1</MeldungsId>
      </IFControl>
      <XTest>
      </XTest>
    </ns0:XIFTest>
    <ns0:XIFTest xmlns:ns0="http://me.home.com">
      <IFControl>
       <MeldungsId>2</MeldungsId>
      </IFControl>
      <XTest>
      </XTest>
    </ns0:XIFTest>
    </XIFCollection>
    In XML-Spy I get the following output:
    <?xml version="1.0" encoding="UTF-8"?>
    <Start xmlns:ns1="http://me.home.com">
    <Found>1</Found>
    <Found>2</Found>
    </Start>
    What I expected.
    But using XI or the XML-Toolkit XI30xslt I get the exception:
    java.lang.Exception: XMLParser: Prefix 'ns0' is not mapped to a namespace.
    I tried everything and searched all dokumentation but have no idea.
    Anyone with an idea?
    Thanks

    Hi,
    you need to chage as Udo said
    but also the other ns0 one:
    check this:
    <?xml version="1.0" encoding="UTF-8"?>
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:ns0="http://me.home.com">
    <xsl:output method="xml" version="1.0" encoding="UTF-8" indent="yes"/>
    <xsl:template match="//XIFCollection">
    <Start>
      <xsl:for-each select="ns0:XIFTest">
       <Found>
        <xsl:number format="1"/>
       </Found>
      </xsl:for-each>
    </Start>
    </xsl:template>
    </xsl:stylesheet>
    BTW
    it works in Stylus Studio now
    Regards,
    michal

Maybe you are looking for

  • Storing the output of a transaction

    I have a requirement where i need to run the transaction stad on a daily basis for a particular id for the preceeding 24 hrs and send the output through an email to two particular persons. I have written the wrapper program for the transaction but ho

  • Robo v9 Show/Hide without Twisties - One button no longer working

    Hey there, as stated I am using Robo v9 with Show/Hide without Twisties (One button) with javascipts.  We have most of our images using DHTML drop-downs and when folks click on "Show All Images" on the page, the GIF changes to "Hide All Images" and a

  • I have upload my iphone, but i can't back up my file. someone can help me???

    I have upload my iphone, but i can't back up my file. someone can help me???

  • 5.0.1 update won't run

    Not sure if this is a computer problem or an update problem, but every time I click to update Firefox to 5.0.1, the box just stays on the "updating firefox" window. The blue and white "barber pole" keeps spinning, but nothing happens. We're talking a

  • BAPI Web Service Context Mapping Problem

    Hello all,              I am developing a process consisting of an automated activity. This automated activity uses a logical destination for a web service call to an ECC BAPI. The BAPI name is 'BAPI_INQUIRY_CREATEFROMDATA2' Now the problem is the Ou