Context with counter mapping issue

I need help with a mapping issue.
I have a source document that has multiple line items which in turn contains multiple item texts.  This structure has been simplified below.
Source Sample
<DOCUMENT>
---<LINEITEM>
<ITEMFIELD>itemfield</ITEMFIELD>
<ITEMTEXTS>
<TEXT>text 1</TEXT>
</ITEMTEXTS>
<ITEMTEXTS>
<TEXT>text 2</TEXT>
</ITEMTEXTS>
---</LINEITEM>
</DOCUMENT>
Source Structure
DOCUMENT 1..1
LINEITEM 0..unbounded
ITEMFIELD  0..1
ITEMTEXTS 0..unbounded
In the target structure, I need to output each line item with a counter to represent the line item number.  Also, I need to output each item text with the line item number it corresponds to:
Target Sample
<DOCUMENT>
---<LINEITEM>
<ITEMNUMBER>1</ITEMNUMBER>
<ITEMFIELD>itemfield</ITEMFIELD>
---</LINEITEM>
---<ITEMTEXTS>
<ITEMNUMBER>1</ITEMNUMBER>
<TEXT>text 1</TEXT>
---</ITEMTEXTS>
---<ITEMTEXTS>
<ITEMNUMBER>1</ITEMNUMBER>
<TEXT>text 2</TEXT>
---</ITEMTEXTS>
</DOCUMENT>
Target Structure
DOCUMENT 1..1
LINEITEM 0..unbounded
ITEMNUMBER 1...1
ITEMFIELD 0..1
ITEMTEXTS 0..unbounded
ITEMNUMBER 1..1
TEXT 1..1
I do not know how to match the ITEMNUMBER in the ITEMTEXTS target structure with the corresponding LINEITEM target structure.  Can anyone help me with this?
Regards,
JM

James,
I've tried both 1.2 release and 2.0 (v20091121-r5847) but received the same result - empty Map.
Moreover, for both versions the following string was absent in deployed XML file:
+<direct-key-field table="PARAM_SESS" name="PARAM_NAME" xsi:type="column"/>+
Therefore, on application initialization I have got an exception: org.eclipse.persistence.exceptions.DescriptorException with message This descriptor contains a mapping with a DirectMapMapping and no key field set.
So I was forced to add the line manually.
This seems buggy to me...
Regards,
Alexey

Similar Messages

  • EclipseLink Direct Map with Joining mapping issue

    Hi EclipseLink Team,
    We encountered an issue to map an attribute as Direct Map with Join Fetch enabled in EclipseLink Workbench 1.1.1 (Build v20090430-r4097).
    Basically, we have the following data model:
    SESSION
    SESS_NO (PK),
    PARAM_SESS
    SESS_NO (FK) (PK),
    PARAM_NAME (PK),
    PARAM_VALUE
    Then we have Session.java persistent entity associated with SESSION table. This class contains Map attribute sessionParameters which we map as Direct Map with PARAM_SESS.PARAM_NAME as key and PARAM_SESS.PARAM_VALUE as value (referenced by PARAM_SESS.SESS_NO = SESSION.SESS_NO).
    The described mapping works fine without Joining enabled (both for Lazy and Eager Loading).
    But we have cases when we want to get parameters for a number of sessions. And disabling of Joining leads to a number of performed SELECT SQL queries (both for Lazy and Eager Loading) those are bad for performance.
    So we have chosen the Eager Loading and set the Join Fetch option to Outer. Then we have got the following:
    I see in the log the only SQL query performed: SELECT DISTINCT t0.SESS_NO, …, t1.PARAM_VALUE, t1.PARAM_NAME FROM {oj SESSION t0 LEFT OUTER JOIN PARAM_SESS t1 ON (t1.SESS_NO = t0.SESS_NO)}. This is pretty good for us. This query returns exactly what we expect when executing on the database. But the Map attribute for every session is populated incorrectly: Maps are empty (not corresponding to available relational data).
    Could you please let us know if this is a bug, or kind of known issue or we made something wrong? Some hints and proposals would be very helpful and appreciated.
    I should mention that for now we want to map all of this for read only purpose.
    Thanks.
    Best Regards,
    Alexey Elisawetski

    James,
    I've tried both 1.2 release and 2.0 (v20091121-r5847) but received the same result - empty Map.
    Moreover, for both versions the following string was absent in deployed XML file:
    +<direct-key-field table="PARAM_SESS" name="PARAM_NAME" xsi:type="column"/>+
    Therefore, on application initialization I have got an exception: org.eclipse.persistence.exceptions.DescriptorException with message This descriptor contains a mapping with a DirectMapMapping and no key field set.
    So I was forced to add the line manually.
    This seems buggy to me...
    Regards,
    Alexey

  • I need help with a mapping issue.

    We have a number of websites setup so that they are all under the default website in IIS 7.  We use ISAPI/ReWrite/3 to process and take it to the correct page to view.  Unfortunately this does not work so well with CFAJAX or CFFILEUPLOAD.  Can anyone help?
    Example:
    Local Directory: D:\sites\website1\index.cfm  or D:\sites\website2\index.cfm
    URL: http://website1.preview.domain.com/ would show a different website than http://website2.preview.domain.com/
    ISAPI ReWrite code:
    RewriteCond %{HTTP:Host} ^(?:.*\.)?website1\.preview\.domain\.com|^(?:.*\.)?website1\.new\.preview\.domain\.com|^( ?:.*\.)?website1\.office\.preview\.domain\.com$
    RewriteRule (.*) /website1$1 [NC,L]
    and the same with website2, only it has website 2 instead of website1.
    However, when I use CFFileUpload it creates the parameter as: 'http://website1.preview.domain.com/website1/upload/process.cfm'
    I have tried to replace the code when processing the template and the page content, but it does not replace it.  It must happen last, even after I do a <cfsavecontent>
    I need it to show up as http://website1.preview.domain.com/upload/process.cfm
    Can anyone help me with either an idea to use in the ISAPI/ReWrite or some other change I can make?

    The issue comes down to the fact that in the Coldfusion Administrator I set the Settings > Default ScriptSrc Directory : http://10.4.3.80/CFIDE/scripts/, because http://website1.preview.domain.com/cfide/scripts does not exist.
    This works for cfchart, but when I look at the source for any flash stuff, it still puts just "/CFIDE/...", which is trying to pull from http://website1.preview.domain.com/CFIDE/..., which doesn't exist, and it shows http://website1.preview.domain.com/website1/upload/process.cfm (which does not exist) instead of http://website1.preview.domain.com/upload/process.cfm like it should.  Everything else works on the website, all coldfusion stuff (although, I do convert some of the links and things in my page so that they work properly).  However, I can't find a place to replace links when I use a cffileupload, it puts that in very last, so my links are messed up.
    The nicest thing would be a setting that I could set the cffileupload to know what the path is.  If that is not available, then I need to write a ISAPI/ReWrite line to redirect it.

  • SAP Lumira Integration with ESRI Maps Issue

    Hello,
    I have created free trial ArcGIS online account and specified this user in SAP Lumira 1.20 build 36 Preferences / GEO Map Service.
    But when I try to visualize my Location data on Geo Map visualization I get an error message "Not a subscription user".
    Did anyone encountered this message? Maybe this message is related to Trial account type?
    Looking forward your feedback.

    Hi Manfred,
    Have you restarted Lumira? Also watch out for proxy configuration. see Lumira Timeout connecting to ESRI
    Good luck, and update the post with news!
    Regards,
    Antoine

  • 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.

  • N:M mapping issue

    Hello, can any1 please help me with following mapping issue?
    Input Msg Type 1 (Items to be grouped)
    Item (0..n)
       X  (0..1)
       Y (0..1)
       Z  (0..1)
       SegmentSub1 (0..n)
          a (0..1)
          b (0..1)
          ChildSegmentWithChilds (0..n)
              a (0..1)
              b (0..1)
              AnotherChildSegmentWithChilds (0..n)
         a (0..1)
         b (0..1)
       SegmentSub2 (0..n)
           a (0..1)
           b (0..1)
    Input Msg Type 2 (GroupingCodes)
    Group (0..n)
        Code (0..1)
    Output Msg Type (Items Grouped by Group codes)
    GroupedItems (0..n)
      Items (0..n)
         X  (0..1)
         Y (0..1)
         Z  (0..1)
         SegmentSub1 (0..n)
            a (0..1)
            b (0..1)
            ChildSegmentWithChilds (0..n)
                a (0..1)
                b (0..1)
                AnotherChildSegmentWithChilds (0..n)
               a (0..1)
           b (0..1)
         SegmentSub2 (0..n)
             a (0..1)
             b (0..1)
    Mapping logic should be as following;
    Item/X = Group/Code. (Items grouping by "X" field for each "Code" value)
    any help greatly appreciated,
    Thanks!

    Okan,
    Did you got the solution for  this mapping, I'm really sorry for the past one week I was trying to figure it out, finally today I got it, yahoo!!!! I think am bit slow <b>:-(</b>
      If you got the solution already no probes, if you haven't kindly follow the below logic.
    <b><i>Source & Target structure</i></b>
    http://www.flickr.com/photos/8764045@N06/545133789/
    <b><i>Mapping logic & UDF - Grouped Items</i></b>
    http://www.flickr.com/photos/8764045@N06/545133791/
    http://www.flickr.com/photos/8764045@N06/545133801/
    <b><i>Mapping logic & UDF - Item</i></b>
    http://www.flickr.com/photos/8764045@N06/545133807/
    http://www.flickr.com/photos/8764045@N06/545133811/
    <b><i>Mapping logic & UDF - x node</i></b>
    http://www.flickr.com/photos/8764045@N06/545138911/
    http://www.flickr.com/photos/8764045@N06/545138913/
    <b><i>Mapping logic & UDF - y node</i></b>
    http://www.flickr.com/photos/8764045@N06/545138915/
    http://www.flickr.com/photos/8764045@N06/545138917/
    <b><i>Mapping logic & UDF - z node</i></b>
    http://www.flickr.com/photos/8764045@N06/545138947/
    http://www.flickr.com/photos/8764045@N06/545138951/
    <b><i>Mapping - Results</i></b>
    http://www.flickr.com/photos/8764045@N06/545005958/
    I hope it helps you!!!!
    Thanks for the patience.
    Best regards,
    raj.

  • Graphical mapping issue with useOneAsMany if segment does not exist

    Hi all
    I have an issue with graphical mapping in an IDoc to file scenario. I need to have header level fields mapped to line item fields. Whether or not and how many source header segments of the same type exist depends on a qualifier (QUALF). This is generally working if I use the following graphical mapping:
    if QUALF = 001 then <source>  ->  removeContext  ->  useOneAsMany  ->  splitByValue  ->  <target>
    ... with setting QUALF, <source>, and the second input for the useOneAsMany to the highest possible context node.
    Nevertheless, if the segment with the qualifier 001 does not exist in the source then the mapping throws the error "Too few values in first queue in fuction useOneAsMany". Whatever I've tried, the mapping wants to execute the useOneAsMany statement anyway and I haven't found a way to omit this. Whether the target would be created with an empty value or not created at all would be secondary. Would eventually somebody have a solution to this problem?
    Thanks in advance,
    Daniel

    Daniel,
    try using mapWithDefault function before useAsmany
    if QUALF = 001 then <source> -> removeContext -> <b>MapwithDefault</b>->useOneAsMany -> splitByValue -> <target>
    I think it takes care even if the value occur in the contaxt or.
    Babu

  • How can I evaluate the count of a query I'd like to execute with a map...

    Hi. I have a problem with a query...
    I hava created a query which a execute with a Map (I use the
    executeWithMap(Map) method). The problem is that sometimes this query
    returns a large resultset. So, I would like to execute an other query
    (called query_count) before executing ther final query with the Map. If
    the query_count returns a count < 200, I execute the final query. How can
    I do ? There is an example I have read this in the documentation :
    Query query = pm.newQuery (Magazine.class, "price < 5");
    query.setResult ("count(this)");
    Long count = (Long) query.execute ();
    The problem in this example is that the query is not execute with a Map.
    So my question is : "How can we do the evalute the count of a query we
    would like to execute with a map ?". Thank you for any response.

    Hi John,
    You should be able to executeWithMap that query, too. Is that giving you
    problems?
    Note that there may be an easier solution. What do you do if there are more
    than 200 results? If, e.g., you just get the first N, then one option is to
    set the FetchBatchSize on the query to N (thus activating large result set
    support), and then call size () on the resulting Collection. This will
    issue a SELECT COUNT(*) to the database to determine the size automatically.
    Thanks,
    Greg
    "John" <[email protected]> wrote in message
    news:ctq9a8$4gr$[email protected]..
    >
    Hi. I have a problem with a query...
    I hava created a query which a execute with a Map (I use the
    executeWithMap(Map) method). The problem is that sometimes this query
    returns a large resultset. So, I would like to execute an other query
    (called query_count) before executing ther final query with the Map. If
    the query_count returns a count < 200, I execute the final query. How can
    I do ? There is an example I have read this in the documentation :
    Query query = pm.newQuery (Magazine.class, "price < 5");
    query.setResult ("count(this)");
    Long count = (Long) query.execute ();
    The problem in this example is that the query is not execute with a Map.
    So my question is : "How can we do the evalute the count of a query we
    would like to execute with a map ?". Thank you for any response.

  • Issue with heat maps refresh process in EID 3.1?

    Issue with Heat Maps in EID 3.1? Heats maps don't refresh unless you go back to home page and then again go back to the Endeca app.
    In Oracle Sample app if we open the Map tab we will see that Milwaukee is really hot in the heat map. now if we filter the data to just show data from 100 miles within Orlando, FL then the map will get refreshed to show that area but the colors on heat maps do not change.
    Now if we keep the refinements same and go back to home page and again go back to sample app and maps tabs then it will still show area of 100 miles within Orlando, FL which is good but now heat map would have updated and it would show us correct color.
    Now if we remove the refinement then it would show complete US map as hot which is again wrong.
    I have observed this issue in chrome browser as well as firefox.
    Is there anyway to overcome this issue?

    This issue was resolved after applying latest patch from Oracle.

  • Special characters issue with Nokia Maps on N95

    Hi there,
    when using Navigation in conjunction with Nokia Maps on my N95, all streets and towns which contain any special character in their name (for example: é, è, ü, ä, ö, etc…) do appear as unreadable garbage on the screen of the N95.
    I only noticed the problem after having purchased the 3 years license Navigation upgrade (EUR 99.99) and immediately notified Nokia. That was back in October. Since then I have called them at least 10 times and ultimately I have asked for a refund as no solution is still available.
    In all these calls with Nokia, the only reasonable argument I heard was that maybe (!!!) the new software update version 20.0.015 released back at the end of November could solve the issue. Unfortunately, for my phone (which is a branded one) the update is not yet available.
    Today, after calling them again, I was told that Nokia’s policies do not foresee refunds and therefore my request has been rejected. I was told to bring my phone to a Nokia Store and see if they can help me (I don’t see how). I was also told that maybe I would have to send-in the phone for repair.
    This is soooo frustrating that despite the 3 months of patience and all the money spent for the N95 (not quite cheap), the navigation upgrade and the phone calls to Nokia, I still have the same issue. I will probably end up filing a complaint with a monthly consumer’s magazine in the hope they will publish my story.
    After all, it may not even be Nokia’s fault but rather the guys who are responsible for the maps, but if Nokia accepts to have a commercial venture with a vendor, than they also accept liability for the joint product. And by turning down my legitimate request for refund, they have proven not to give a **bleep** about people like you and me.
    Forgive me for the long post - needed to release some of the frustration...

    I have been using an N95-8GB since Nov.'07. From my experience with this phone that has a built-in mass memory besides the phone memory. I had trouble retrieving some of the softwares I have installed. For eg. I have saved some themes in the mass memory & I could not find it when I want to delete it. There are some 3rd parties games software inside where I cannot even delete
    This is what I don't like about the phone. I have bought an N82/Black recently as it uses an external memory card.
    Coming back to Nokia maps. Personnaly, I don't think they are that good & I have problem downloading it into my phone from my PC after having downloaded it from Nokia.
    By the way the Nokia map is not even the latest map 2.0. Is still a 1.0
    I used Navfone map software & it works OK in the 8GB. You have to purchase it.
    I have used a couple of N-series phones in the past ie. N-90, N-70, N-71, N-73, N-80/Black, N95, N-95/8GB & now N-82.
    Common with all N-series phones. After you have disconnected when you are done with your call you have to wait for a while before the word "disconnected" disappears.
    The more features it has, the more problem you are gonna to encounter.
    Unless you want to download softwares into your phone & have a good camera thats where the N series phones come in.
    For normal usage, a 40 series phone will suffice.

  • Ipsec Stateful Failover issue with Dynamic-Map

    Hi all, I have an issue with a couple of Cisco ISR 2921 in Ha Ipsec Stateful Failover configuration.
    With static crypto-map, stateful works good, Ipsec sessions are correctly trasmitted from Cisco Active router to Cisco Standby router.
    With dynamic-map and profile, stateful fails, Ipsec sessions are not correctly trasmitted from Cisco Active router to Cisco Standby router.
    I tried different IOS version:152-1.T3, 152-3.T2 and 153-1.T but I have the same behavior.
    Could you help me?
    Marco

    Yes it is supported. It is supprted on VAM, VMA2, VAM2+.

  • How to find out which context attributes are mapped to view elements

    Hi All,
    We have a custom WD application ( on ECC 6.0 - SAP Basis 70 ) where we have a context node whose 70 attributes are displayed over 2 seperate views.
    When a user enters the view,  we want to inform him which data was changed. 
    I have written a general method which takes the context node, grabs its attributes and compares values ... messages are generated via the message manager and context element/attributes are linked so that the input elements become red.
    Everything works fine but the only problem is that I do not know which attributes are visible on which view so the user is getting the changes of view 2 on view 1 and vice versa ( if the context is only mapped on 1 view then there is no issue ofcourse ).
    The call is currenlty executed at the views inbound plug ... I also checked the view methods themselves like modify view but nothing seems to lead me to a potential solution ...
    I have looked through almost all API classes available but I cannot find any way to obtain information about the linking of view elements with context elements/attributes during runtime ... And I don't want to 'hardcode' a list of context attributes per view ....
    Has anyone done something similar ?
    Thanks,
    Steven

    Hi All,
    We have a custom WD application ( on ECC 6.0 - SAP Basis 70 ) where we have a context node whose 70 attributes are displayed over 2 seperate views.
    When a user enters the view,  we want to inform him which data was changed. 
    I have written a general method which takes the context node, grabs its attributes and compares values ... messages are generated via the message manager and context element/attributes are linked so that the input elements become red.
    Everything works fine but the only problem is that I do not know which attributes are visible on which view so the user is getting the changes of view 2 on view 1 and vice versa ( if the context is only mapped on 1 view then there is no issue ofcourse ).
    The call is currenlty executed at the views inbound plug ... I also checked the view methods themselves like modify view but nothing seems to lead me to a potential solution ...
    I have looked through almost all API classes available but I cannot find any way to obtain information about the linking of view elements with context elements/attributes during runtime ... And I don't want to 'hardcode' a list of context attributes per view ....
    Has anyone done something similar ?
    Thanks,
    Steven

  • 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

  • Upgrading from XI/PI7.0 to 7.1 having problems with message mapping

    Hello,
    We are in the process over the past week of testing our XI/PI functionality after upgrading our 7.0 XI/PI environment to PI7.1; in particular several maps that were accessible in 7.0 will not open or diaplay in 7.1 complaining of a missing node in the mapping structure. Currently working with SAP on a possible fix but wanted to know if anyone else has done a true migration on top of an existing XI/PI7.0 system and experiencing similar issues (note: the maps can execute in the runtime environment but we can't display the maps source within message mapping; this also does not occur for all maps and there is no clear consistant theme to those that can be displayed and those that can't).
    The lattest issue just encountered related to message mapping is that in test mode of a map (that can be displayed) attempting to display the data queue for the mapped elements are blank no data being displayed giving an error noting that the source text of object message mapping: name of the map; has syntax errors, java area import line x, package ibm.com.xi.mapping does not exist/ import ibm.com.xi.mapping UDF:
    Has anyone upgraded from PI7.0 to 7.1 and experienced errors with existing maps that worked ok (ans still work in our QX/PRD systems) in their 7.0 envirinment but encountereing strange errors once upgrated to 7.1?
    Thanks
    Dereck Purnell
    NewellRubbermaid

    Here is the solution we received from SAP to address the issue, there were several mapping related issues we started havng from maps that worked in our 7.0 system prior to the upgrade to PI 7.1. I will try to encorporate the solutions in this response.
    a) From Customer to SAP
    1. We are unable to open some massage mapping, it is throwing
    exception
    2. Number Format functions throw exception.
    But following issue is still unresolved:
    3. When we display message queue, it throws exception
    ***) 05.02.2009 - 12:34:33 CET - Reply by SAP     
    The patch has been released at the Service Marketplace.
    Please update the scas described in the note 1264871.
    The "FormatNum" function issue has also been taken care in this patch.
    Please go through the Note 1264871 for other behaviour changes after
    upgrade. Let us know if you need any further help.
    Regards,
    B) From Customer to SAP
    04.02.2009 - 00:23:44 CET - Info for SAP
    We discovered another issue with mapping.
    For some of the mappings, we are unable to display mapping queue. When
    we execute, Interface mapping and Massage mapping, it works fine. But
    display queue throws exception. Itu2019s not able to recognize libraries
    used from dependent software component.
    Please find document "Display Mapping Queue Issue" providing example
    problem.
    25.02.2009 - 07:05:28 CET - *Reply by SAP*     
    Thank you for your update. I wanted to check with "CopyValue"
    function's index. It has to take an input integer and the problem that
    found while debugging the opening of your mapping is that the input
    was empty thus causing the exception.
    I was going to suggest the intended use of "CopyValue" function.
    When the input to "copyValue" is a constant, "copyValue" is totally
    not necessary. Thus constant can be directly mapped to other function.
    When the input is a node with values in context, you can treat one of
    values say input[0] to used in mapping by using CopyValue[0].
    But please make sure that input[0] will always produce a value.
    Note 877964 will describe in detail on Copyvalue usage.
    I am marking this Message as complete. Please confirm.

  • XML to R3 RFC Mapping Issue

    I have been doing trial and error with the node functions all afternoon, and decided to see if one of you experts can help me.
    This diagram shows the structures.
    http://webpages.charter.net/kpwendel2/map.jpg
    I need to map various TransactionDetails values into a T_CHARGES / ITEM rfc record when the Charge Category Code is a certain value.
    A mapping of "If ChargeCategoryCode = ADC (context - TransactionDetails) then map Shipment (context - TransactionDetails) to Item node" is working for the first occurance.  If I have multiple invoices in the xml source, the subsequent records are not getting created.
    I have tried various context changes and node functions, but to no avail.  For example, when I change the contexts to the InvoiceDetails level in an attempt to get all Invoices, I end up with no output ITEM records.  Any suggestions would be appreciated.  Thanks!

    > A mapping of "If ChargeCategoryCode = ADC (context - TransactionDetails) then map Shipment (context - TransactionDetails) to Item node" is working for the first occurance.
    Hi Keith,
    You just use removeContexts node function between if condition output and item node in target.
    i have small doubt i.e is Shipment node or element in source message type?
      if its field or node why you are mapping it to item node.i guess it doestnt make any sense.
    anyway its up to you.
    if you have any issues in my solution please let me know.
    Cheers,
    Jag

Maybe you are looking for

  • Why are all the events in the XML SAX parser not activated?

    Hi everyone, I have written a mini server that parses XML files into SQL queries. Below is a segment of my code;           try          {                                                                       Class.forName( JDBC_DRIVER );             

  • How to use ABAP stack of one with Java stack of another PI Server

    Hi Friends, We need to use the Java Stack of one server with the Abap stack of another PI server, will that be possible ? and if yes what are the things need to be taken care of. please suggest on the same. Regards, Nitin

  • Vendor Payment Approval Cycle

    Dear Experts,    We have channel partners defined as a vendor in the SAP System. Through the FI, we directly want to pay them as per the agreement and their contribution to our business.    e.g. Customer Reference payout : Customer has gone to channe

  • For a shared apple ID (in the family), can I tell which device purchased a song

    My family shares an apple ID.  How do I determine which device purchased a song?

  • Plug-ins crashing FCP

    Anyone out there have problems with their plug-ins? First FCP kept crashing with BCC 5 installed [crashing to desktop] so I removed it then it started crashing with Magic Bullet!!! Anyone have any ideas?