Missing XML elements are no longer treated as NULL value (MDM 7.1 SP04)

Hello,
We have a problem with importing XML files with missing XML segments (and hence missing XML fields) in XML file.
In MDM 7.1 SP03 (7.1.03.72), missing fields within a missing segment (so no tags at all for segment and fields) were still represented in the import manager as NULL value in the value mapping, making it possible to do value mapping and to import this NULL value into MDM (overwriting existing values in MDM).
As of MDM 7.1 SP04 (we are running 7.1.04.126) the missing fields within an missing segment are no longer represented in the import manager as NULL value in value mapping!
I don't know if that's a new 'feature' in SP04 but we are now running into following problem:
- We are importing customer data from ECC into MDM, where some segments are optional
- The fields within the (optional) segment are mapped to a multi-valued tuple field
- When we now import a customer that has values for the optional segment, the tuple field gets filled correctly
- When the optional data is now removed completely from the customer in ECC, we don't get that segment anymore in the XML file (this is how the Idoc works on ECC side, if all entries from the optionel segment are deleted then the complete segment is missing in the XML file)
- In SP03 we replaced the existing tuple records with the NULL value (leaving 1 empty tuple record, but this is known issue to SAP, so we've accepted this for the moment)
- In SP04 we cannot replace the existing tuple records anymore, since when complete segment is missing, the fields within that segment gets no value at all (in source values). So we are not able to replace the existing tuple records with NULL/nothing, leaving the 'old' tuple values in MDM!
Does anyone have solution for this (that also works with SP04)?
We already tried to replace the complete record in MDM (instead of updating it, this is possible since we always get the latest (and complete) status of a customer), but we are also mapping the remote key, and hence you are not allowed to replace the record during import!
Other solution could be to have PI add any missing segment into the XML message, but we first want to make sure that this cannot be handled within MDM Import Manager itself.
Thanks in advance,
Marcel Herber
Edited by: P.H.M. Herber on Apr 27, 2010 3:46 PM

Hi Marcel,
I haven't tried it with XML file but i hope it may help you.
long back i need to send one field with value null if it doesn't come in source file and if it comes then original value.
What i did, i loaded a file which does not have this field, so in MDM Import Manager, under source hierarchy i created a field say ABC and map this field with target field and its value Null with Null, i also save this property in map using configuration options-->Automap fields when loading map = Yes
So whenever a file come with missing field ABC, automatically this field get created and mapped with target field and its value Null with target Null.  on the other hand, If this field actually comes in Source File(Delimited, Excel) ABC then this field with its original value gets map with target field value. That time it worked fine.
Just try and revert with result if it helps..
Else, using PI is the best option to create that missing segment into the XML message.
Regards,
Mandeep Saini

Similar Messages

  • Cannot transform Java to XML - nested XML elements are empty

    Hi,
    We're using WLI 9.2.1 and in one of our JPDs we're invoking a transformation control that is supposed to do Java -> XML transform. The XQuery for this gets written and works when tested independently within Workshop.
    However, wehn we run the JPD, the transformation is not completely successful. What we find is that attributes values that go into top-level XML elements are populated from the Java object. The nested elements are NOT populated and show up as empty.
    Q: Is this s limitation in WLI 9.2?
    Googling turned up this reference:
    XMLBeans APIs Not Supported for Local Element and Complex Type Variables Produced by XQuery
    http://e-docs.bea.com/wli/docs85/relnotes/relnotesLimit.html#1375310
    http://edocs.bea.com/wli/docs81/relnotes/relnotesLimit.html#1226313
    Q: Is this the problem we are seeing?
    Q: If yes, any ideas if this CR138983 fixed in WLI 9.2? (it is open in 8.1, 8.5).
    Any pointers will be appreciated.
    Thanks.

    Note: This thread was originally posted in the Swing forum, but moved to this forum for closer topic alignment.

  • Missing XML Element when using asset from library

    This is not really a scripting question but I seem to be unable to find any regular ID forum and it has something to do with a scripting workflow I established for a customer.
    A script places an asset from a library onto a document and then (amongst other things) imports some XML file.
    The asset in the library consists of a number of textframes and has the structure e.g.:
    article
    box
    box
    Now the customer needs new templates (that is assets in the library) and we cannot produce them anymore. It seems that as of CS 3 5.0.4 Adobe changed the behavior of the library. Dragging e.g. two box-tagged boxes with an article parent XML into the library leads to an asset without the article element. Can someone confirm this? And more important is there a reason to it? Or is there a way to configure the behavior?
    I guess I could create a parent xml element by script after placing the element but then I would need to redo all existing libraries.
    Thank you,
    Ralf

    while( testIterator.hasNext() ) {
       Element testElement = (Element)testIterator.next();
       String code = testElement.getChildTextTrim("code");
        if( null == code ) {
               continue;
       String analysis= testElement.getChildTextTrim("analysis");
       //same for description
    }

  • My photo albums are no longer alphabetical after ios5 update

    I upgraded my Ipad 2 & ipod touch 4g to ios 5. My photo albums which sync to photoshop elements are no longer alphabetical which now makes it a pain to locate photos. What can I do?

    The contacts is saved on Google or Backup Assistance (Whichever you are using) and you can use ES File Explorer like I posted at http://community.vzw.com/t5/Android-Apps/Simple-way-to-Backup-apps-for-Hard-Reset/td-p/658707 , so you really wont loose anything but apps data...
    BUT, I am not saying that you do this if that is your only issue...  I was just pointing out that this is a good ideal to do with any Major Updates..
    If the contacts isnt linked again you should get the option to link them again once the OS boots, normally it checks and then prompt to link again..

  • Excluding xml elements in this script ...

    This script (Green4ever) insert "\r" after element:
    var myDoc = app.activeDocument;
    var inddRooElement = myDoc.xmlElements.item(0);
    var xPathElements = inddRooElement.evaluateXPathExpression("//*");
    var elementCount = xPathElements.length;
    for(var eId=0; eId<elementCount; eId++){
        var thisXpathElement = xPathElements[eId];
        thisXpathElement.insertTextAsContent("\r", XMLElementPosition.AFTER_ELEMENT);
    alert("Done");
    But, I need some xml elements are excluded.
    How I can exclude some XML elements?
    How do exclude all items that have in the tag "<p>"?
    Thanks...

    Try:
    var xPathElements = inddRooElement.evaluateXPathExpression("//*[not(ancestor::p)]");
    or, if you want to exclude p as well,
    var xPathElements = inddRooElement.evaluateXPathExpression("//*[not(ancestor-or-self::p)]");
    Jeff

  • [JS-CS4] Associated XML element...

    Hi,
    I'm going crazy with this.
    I have a table built with XML import and I need to get the XML element associated with a cell.
    I use this code:
    cell.associatedXMLElement
    but it always returns "null".
    Obviously that cell has a content in XML structure...
    Any idea why?
    Thanks.

    Here's my script:
    var my_doc = app.activeDocument;
    var my_table = my_doc.pages.firstItem().textFrames.firstItem().tables.firstItem();
    my_table.columns.firstitem().select();
    var my_selection = doc.selection;
    for(var c = 0; c < my_selection.length; c++){
         if(my_selection[c].associatedXMLElement.xmlAttributes.itemByName("type").value != "house"){
              my_selection[c].appliedCellStyle = doc.cellStyles.itemByName("column");
              my_selection[c].clearCellStyleOverrides(true);
    This will run once the table is placed through XML import
    I need to check the "type" XML attribute value for every XML cell, that's why I'm performing that if statement.
    Basically if a cell's XML element has a "type" attribute with "house" value the script will not apply the "column" style.
    The problem is that
    my_selection[c].associatedXMLElement
    always return null.
    The XML data structure is:
    <List><Category><Table><Cell/><Cell/>....</Table></Category></List>
    So I have a simple table inside a textFrame.
    I know what I'm doing could sound weird, but I experienced it's the most quick way to handle a big table within ID.
    Here's the background story
    Thanks again.

  • Error in when null values are passed to datefield

    Hi all,
    We are facing some issue with null values in date fields while calling a stored procedure using JDBC Adapter in one of the interfaces.
    When the value is null, XI gives errors in the communication channel.
    Case 1 , When the value is mapped to blank. : The adapter gives an error related to date format. Unsparseable date “”.
    Case 2 , When the value is not mapped at all : The adapter gives an error related to wrong number of arguments for the stored procedure.
    One option for fixing this issue is to hardcode the value to all zeros in a appropriate date format. However this is not acceptable in our case.
    Did anybody face this issue before. If yes what was the approach taken. Can you please let me know if anybody has any inputs on this.
    Thanks in advance,
    Younus

    you can clear the field key tags mandatory in the XML Schema interpreter parameter and make the Empty string value to Empty string from null value.
    For mapping : you can pass a value that is of the same format of date; but you can take your own value in the database since you are parsing the date format from one to other
    thanks
    nikhil

  • The multiRef elements are missing.

    hello friends
    I'm using the receiver soap adapters for consuming the axis 1.0 web services, in order to do this, i'm using the message types referenced in the wsdl imported.
    But, the multiref elements are missing in the response message.
    what I must do?
    Regards.
    Sergio Gómiz

    hello Deviprasad !
    I already imported the wsdl file like as external definition as WSDL Category Then I reused  his message types for making the interface message.
    The problem is that not recognizes following response payload (<altaInspeccionReturn href="#id0"/>)...
    <?xml version="1.0" encoding="UTF-8"?>
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
         <soapenv:Body>
              <ns1:altaInspeccionResponse soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="http://mansub.webservice.mansub.gom.com/">
                   <altaInspeccionReturn href="#id0"/>
              </ns1:altaInspeccionResponse>
              <multiRef id="id0" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns2:RespuestaOperacion" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns2="urn:ServicioIntegracionMansub">
                   <codigoError xsi:type="xsd:int">0</codigoError>
                   <dato xsi:type="xsd:string" xsi:nil="true"/>
                   <mensaje xsi:type="xsd:string">inspeccion dada de alta</mensaje>
              </multiRef>
         </soapenv:Body>
    </soapenv:Envelope>
    In the monitoring adapter (runtime workbench) it appear this payload ...
    - <ns1:altaInspeccionResponse xmlns:ns1="http://mansub.webservice.mansub.gom.com/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
      <altaInspeccionReturn href="#id0" />
      </ns1:altaInspeccionResponse>

  • Apple update ruined my playlists, they are no longer on my ipod and playlist i didnt have are. how can I get mine back. And i am missing songs that appear in itunes but not on the ipod?

    apple update erased my playlists, they are no longer showing on my iTunes. I am missing songs that do appear in iTunes and should be on the ipod but are not, and new playlists that I didn't have are now where mine should be. Any suggestions as to getting "MY" ipod back?

    - Reset the iOS device. Nothing will be lost      
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Unsync/delete all music and resync
    To delete all music go to Settings>General>Usage>Storage>Music>Tap edit in upper right and then tap the minus sign by All Music
    - Reset all settings                            
    Go to Settings > General > Reset and tap Reset All Settings.
    All your preferences and settings are reset. Information (such as contacts and calendars) and media (such as songs and videos) aren’t affected.
    - Restore from backup. See:                                               
    iOS: Back up and restore your iOS device with iCloud or iTunes
    - Restore to factory settings/new iOS device.                       

  • UI elements are missing in the layout of a view

    Hi Guys,
    I've downloaded New SAP NetWeaver 7.01 SP0 ABAP Trial Version. After three times installation, I gave up.
    And I downloaded New SAP NetWeaver 7.01 SP3 ABAP Trial Version, it took more time than SP0 to install. Finally, it works.
    Then I read this blog, /people/dirk.feeken/blog/2007/07/20/abap-trial-version-for-newbies-part-18--starting-with-web-dynpro-for-abap, to develop a Web Dynpro report. After copy the context from component controller  to view, I couldn't find UI elements in the view.
    What I could see in the layout of the view are:
    CONTEXT_MENUS
    ROOTUIELEMENTCONTAINER
    Does anyone know how to find the UI elements?
    Thanks in advance.
    Regards,
    Jim

    Having the same problems where the UI elements are missing in the layout screen.
    using the Show/Hide layout Preview Button  I get an Program cannot  display the web page.
    The server is on a different box . Tried running the sapgui  from a vista machine and a xp machine and they both have the same problem.
    If I run Sapgui on the server box the Show/Hide layout Preview Button  does show a subset on the ui elements but not all the examples described in the "ABAP Trial Version for Newbies: Part 18 - Starting with Web Dynpro for ABAP"
    http://www.sdn.sap.com/irj/scn/weblogs;jsessionid=(J2EE3414900)ID1299772950DB10354599868941910736End?blog=/pub/wlg/6973
    Thanks in advance.

  • Did I miss something in the fine print? I installed Lion and and come to find out, I can no longer open any Word documents or Excel spreadsheets as they are no longer supported (being PowerPC apps).  Seriously?!?!?!?!!   What are my alternatives?

    Did I miss something in the fine print? I installed Lion and and come to find out, I can no longer open any Word documents or Excel spreadsheets as they are no longer supported (apparently because they are PowerPC apps).  Seriously?!?!?!?!!   What are my alternatives?

    Hi Mary and Matthew
    You might find it helpful to "try before you buy" - there is a 30 day free trial offer for Office for Mac 2011, accessible from M's .com website.
    You may be able to use this period to open and resave your old documents in a format that enables you to switch instead to using Apple's iWorks apps moving forward.
    I initially intended to do something similar, but ended up buying Office as it provided an easier way (for me, at least) to continue working with years worth of old emails, letters, spreadsheets and other documents (from my PC days) without risking damage to their integrity, formatting, etc.

  • Save for Web :: some elements are missing

    Hello,
    This is just to report a problem with "Save for Web" option. I have a logotype opened in illustrator, when "save for web" option and saving as PNG. Some of the elements in the illustrator file are missing. Here are a few screenshots to see what I'm talking about. Hope this helps to figure out what is going on.
    Thanks
    Piero
    Illustrator File. Vector logotype
    Wire frame to see that everything is vectors.
    Saving for web as PNG. You'll notice the three bars on top are missing.
    Saving for web as JPG. Same thing is happening. The three bars on top are missing even though is on the illustrator file.
    Let me know if you need something from me to correct this prob.

    Got it. Found it and yes, for some reason this was set to overprint.
    http://help.adobe.com/en_US/illustrator/cs/using/WS714a382cdf7d304e7e07d0100196cbc5f-6495a .html
    Thanks a lot!

  • Error in script : text elements are missing

    Hi ,
      In my print programs iam uaing lots of text elements for a
    zform. I have copied the zform into zform1 and using the same print program and modified the zform1 according to my needs.
    I am not using all the text elements in my zform1 script which is passed from the print program.
    When i execute my zform1 by using the transaction which inturn uses that print program it gives more messages saying 512, 513 , 515 text elements are missing in form Zform1.
    Can anyone tell without touching the print program can i do anything on the script zform1 to reslove this problem.
    Please help me on this.Thanks...
    Regards,
    Rose.

    Hi,
    Ya, whatever Narendra told is right. U nedd to have the text elements in the script if you are calling the same from print program. Just maitain all the text elements with no text it.
    Eg: 
    /: 513
    /: 515
    Regards,
    KK

  • I just installed Photoshop Elements that is supposed to be for Mac. The message appeared that said, ""You can't open the application Photoshop Elements 2.0 because PowerPC applications are no longer supported." I have a Mac OS X, Version 10.8.5,

    I just installed Photoshop Elements that is supposed to be for Mac. The message appeared that said, ""You can't open the application Photoshop Elements 2.0 because PowerPC applications are no longer supported." I have a Mac OS X, Version 10.8.5,

    Have a look here:
    https://www.google.com/search?q=%22You+can%27t+open+the+application+Photoshop+Elements+2.0 +because+PowerPC+applications+…

  • Workbook Text Elements are missing After Upgrade to BI7.0

    Hi All
    I am unable to see "Text Elements" in Workbook which is migrated from BW3.x to BI 7.0.
    I am using Windows XP, MS-office 2007, GUI 710 FEP5.
    workbook is working fine with Bex 3.0
    I had checked all the pre- requisite for BI 7.0 and BEx .
    Please advise me.
    Regards
    Vivek Tripathi

    This is an Known issue while upgrading WB's to BI7 and we have posted the same to SAP.
    Try this procedure,
    Open your 3.x Wb in BI7-bex - Click okie on Bex upgrade popup.
    Click on change variables in your WB now and enter necessary variable values.
    Now save you WB in BI7-Bex . Try re opening the same WB,
    You have to see your text elements now after refresh.
    if u save the same WB, w/o refresh or change varaibles, you will again miss text elements.
    The below is the reply from SAP.
    " As following to our call, I was able to open the workbook sap_test2( test WB that SAP has created in our system to replicate the problem) and to refresh it in the latest patch 17. However after saving it without
    refreshing it, I was not able to open the workbook. so we are investigating the issue.however as temporary workaround you can the following
    1. Eenable the "Refresh workbook on open" property. this will prevent
    user from saving workbook without refreshing
    2. You can apply a ABAP note which disallow users to upgrade 3.x
    workbooks. But the note is currently in pilot released."
    Ohoo, I think you are from Satyam..the above is the latest info that we got from SAP.
    Regards
       KK
    Edited by: Chivukula on Aug 11, 2008 3:40 PM

Maybe you are looking for

  • From an ABAP developer to a functional consultant

    Hi, I need some advices to help me improve my work as a junior functional consultant. I have been an ABAP developer for 2 - 3 years and then I moved to the role of functional consultant. I have read that there is a higher probability to become succes

  • N97 unlocking keypad freezes

    Hey Just wondering if anyone has a similar problem with their N97. When I go to unlock my keypad with the slide device on the site my phone will often completely freeze up and I will have to remove the battery. This has become rather annoying now. Do

  • Immediate-Mode Rendering

    Hi, i wrote a normal rendering methode but i want to change it to Immediate-Mode Rendering which is in Java3D can anyone help me and tell me how to do that? here is my current rendering function that i want to change:      public void render( Scene s

  • I am unable to purchase any gold, in the game of war app, it tells me to contact apple support everytime .

    It won't let me purchase any gold I have all my information right, I've tried a few other apps they say to contact iTunes support so I am not sure what is going on and would like some help. If someone could tell me how to purchase a gain would be gre

  • [svn] 4335: GraphicElement Optimization

    Revision: 4335 Author: [email protected] Date: 2008-12-16 16:52:56 -0800 (Tue, 16 Dec 2008) Log Message: GraphicElement Optimization - Changed how a shared displayObject is positioned in a GraphicElement. Previously, it was always placed at (x,y). No