Splitting XML Incoming Message for BizTalk

Hi,
   I have a BizTalk XML Input message like the one  below and I would like to generate single xml message for every BacklogMaterialNode I have.
Source Format.( Complete Message)
==========================
<BacklogSnapshot xmlns="http://www.myorg.com/InventoryBroker" version="1.0" plant="NA01" pubdate="2014-04-14T09:30:00Z">
  <BacklogGroup id="123456789012">
    <BacklogMaterial SAPMaterialNumber="100010">
      <Quantity UOM="EA">11</Quantity>
    </BacklogMaterial>
    <BacklogMaterial SAPMaterialNumber="100020">
      <Quantity UOM="EA">12</Quantity>
    </BacklogMaterial>
    <!-- ... -->
  </BacklogGroup>
  <comment><!-- TODO --></comment>
</BacklogSnapshot>
I would like to create separate xml message for every node "<BacklogMaterial>" Like the below one.
Message 1.
============
<BacklogSnapshot xmlns="http://www.myorg.com/InventoryBroker" version="1.0" plant="NA01" pubdate="2014-04-14T09:30:00Z">
  <BacklogGroup id="123456789012">
    <BacklogMaterial SAPMaterialNumber="100010">
      <Quantity UOM="EA">11</Quantity>
    </BacklogMaterial>
     </BacklogGroup>
  <comment><!-- TODO --></comment>
</BacklogSnapshot>
Message 2.
==============
<BacklogSnapshot xmlns="http://www.myorg.com/InventoryBroker" version="1.0" plant="NA01" pubdate="2014-04-14T09:30:00Z">
  <BacklogGroup id="123456789012">
     <BacklogMaterial SAPMaterialNumber="100020">
      <Quantity UOM="EA">12</Quantity>
    </BacklogMaterial>
    <!-- ... -->
  </BacklogGroup>
  <comment><!-- TODO --></comment>
</BacklogSnapshot>
Objective is create single IDOC for every BacklogMaterial Node and Post the IDOC into SAP. 
-Saravan.

Hi Saravan,
it is possible, in theory, to do what you want to do. However you have not supplied enough information to let us resolve what is going on in your case.
Firstly, in all the documents sent to SAP I've never seen the Wcf adapter or SAP duplicate a Message and so I expect that it is one of your maps that is doing that. Also unless you really want to send multiple Idocs to SAP ERP in one batch I would stick
to a single IDOC at a time. However that is your decision and it depends on the business and performance requirements placed upon you.
I will sketch out  a technique that I have seen working before, it is not the only way and there are probably several others. The idea is to use a two-pass approach, take each "BacklogSnapshot" and map it to the form of an Envelope with children
that will be mapped to single Idocs. Then you have to get that single file through the xml disassembler again where it will split the file into a series of messages that can then be mapped to single Idocs. 
I suspect you have already taken an approach similar to this? or perhaps even tried to go direct to a "Send",     i.e. envelope to envelope? I can't think of anything wrong with this approach either. I would check your Map again, I suspect
data is getting jumbled in the map.
It is also possible there is a subscription problem, i.e. each message is getting sent twice to the adapter - however if that is the case it would replicate message and not jumble it. 
mark

Similar Messages

  • XML Error Message for Every one hour in SXMB_MONI

    Hi All,
    I am getting XML error Message for every one hour in PI when I check in SXMB_MONI I can see this.
    Details Below
    Sender Componant : PI
    Sender Interface : SAPCCMS
    Reciever Interface/Reciever Componant : Both are empty.
    PI Version 7.1
    Can anybody help in this.
    Dayakar

    Hi!
    I was just searching this about this problem and found a post that might interest you.
    [urn:SAPCCMS;
    cheers

  • Incoming messages for imail are duplicating then freezes. What can be done to fix? I have deleted old files; rebooted iMail and computer. Every now and then, iMail will respond correctly.

    incoming messages for imail are duplicating then freezes. What can be done to fix? I have deleted old files; rebooted iMail and computer. Every now and then, iMail will respond correctly.

    incoming messages for imail are duplicating then freezes. What can be done to fix? I have deleted old files; rebooted iMail and computer. Every now and then, iMail will respond correctly.

  • Messages received before september 4th are not more readable. However , not problem of reading for incoming messages for yesterday and today. How can I recover old messages ??ges dated

    Hi , All my incoming messages up to September 4th on one of my mail accounts are impossible to be read again !!  When I 'click" on any of the messages a blank window appears instead of the text..!!  However , all the incoming messages received yesterday and today are perfectly readable.
    How can I solve this problem ?
    Sorry for my poor English..Thanks in advance
    Francois

    Hi Francois, nothing wrong with your English at all!
    Not certain, but this can fix myriad Mail problems...
    Safe Boot from the HD, (holding Shift key down at bootup),  it will try to repair your Disk Directory while the spinning radian is happening, so let it go, run Disk Utility in Applications>Utilities, then highlight your drive, click on Repair Permissions, then move this folder & file to the Desktop.
    Move this Folder to the Desktop...
    /Users/YourUserName/Library/Caches/Mail/
    Move this file to the Desktop...
    /Users/YourUserName/Library/Mail/Envelope Index
    Reboot.
    If that doesn't do it and you can afford to redo all your Rules, try these & reboot...
    /Users/YourUserName/Library/Mail/MessageRules.plist
    /Users/YourUserName/Library/Mail/MessageRules.plist.backup

  • Have suddenly lost incoming messages for the past two years

    Brought up a message that claimed to be from Verizon that began "in answer to your request..." I made no request. In an effort to find out details, I permitted remote content that Norton had blocked. This only produced an ad for free wi-fi. So I went back to my message list - only to find out that the most recent message was dated 2012. I don't delete many of my messages, so a flock of them are missing. What happened and how can I get them back?

    Check if Norton has quarantined your Inbox.
    It isn't a good idea to let your antivirus s/w scan your profile folder for exactly this reason. If Norton has messed with your Inbox your missing messages are possibly lost. Do you have a backup?
    You can try to recover your Inbox:
    http://kb.mozillazine.org/Thunderbird_:_FAQs_:_Anti-virus_Software#Recovering_a_quarantined_Inbox
    Accumulating messages in Inbox isn't a good idea either.
    http://kb.mozillazine.org/Keep_it_working_-_Thunderbird

  • In FM9, can you turn off xml parsing messages for non-structured generated files?

    Hi folks,
    In Frame9, we finally are able to gather books containing xml files and update the book's xrefs and numbering, hoorah.  This works great.
    The issue is that we have generated TOCs and Indexes that are not structured but are part of the book. We have no need to structure them, as they are used in PDFs only and are not required when we go to html.  When we update a book, we get an error logged...
    The Application configured for the XML book component is not available.
    ...for every single chapter in the book. I am assuming this is because there is no structured app that is relevant to the TOC and Index, which just appear in the structured view as "BOOK-COMPONENT".
    This error is not a show-stopper but it mucks up our processing, and we'd like to turn it off.  Does anyone know if that is possible?
    Thanks in advance for any help,
    Shelley Hoose
    Rogue Wave Software

    Hi Shelley,
    The error... "The Application configured for the XML book component is not available."
    is seen when the XML files in your books do not have an Application associated with them. You would will always see this mesaage when you update the Book if the Application is not set.
    To set Application to use for an XML file inside a book in FrameMaker9-
    Select XML File in book > Right Click-Select Properties.
    Select Application in the Use Structured Application dialog.
    Select continue to associate the XML file with an Application.
    You might find this blog post helpful if you use XML files in books- XML Authoring Projects using Hierarchical Books
    Regards,
    Nakshatra

  • Over quota and rejection of incomming messages

    I have put the parameter noexquota because I want to reject incomming messages for users whose quota is exceded but,
    If I use messenger express, It let me send messages to this users and this users still receive messages.
    And when I use messenger express it doesn�t appear the pop-up telling that the user has exceed the quota.
    Could you tell me if this is the right place for the parameter? There is someting more to do with this?
    ! tcp_local
    tcp_local smtp mx single_sys remotehost inner switchchannel identnonenumeric subdirs 20 maxjobs 7 pool SMTP_POOL maytlsserver maysaslserver sa
    slswitchchannel tcp_auth sourceblocklimit 10240 noexquota
    tcp-daemon
    ! tcp_intranet
    tcp_intranet smtp mx single_sys subdirs 20 dequeue_removeroute maxjobs 7 pool SMTP_POOL maytlsserver allowswitchchannel saslswitchchannel tcp_
    auth blocklimit 10240 noexquota
    tcp_intranet-daemon

    Hi Jay,
    I`m Sorry,
    The versi�n is Messaging server 6.0 from (Java Enterprise System)
    Sun ONE Messaging Server 6.0 (built Oct 29 2003)
    libimta.so 6.0 (built 17:22:17, Oct 29 2003)
    SunOS urano 5.9 Generic_117172-12 i86pc i386 i86pc
    And the configutil commands tha I have run are:
    configutil -o store.quotaenforcement -v on
    configutil -o local.store.quotaoverdraft -v off
    I hope this was the necesary information.

  • Message split - XML to IDOCs - (1:n) mapping

    I have to split an incoming XML(in idoc DEBMDM format) from MDM to 2 Idocs (ADRMAS & DEBMAS).
    Target message set to occurences "0:unb".
    Have tested my graphical-mapping in IR and its working fine. Tested the configuration and got error in IB.
    In SXMB_MONI i find the error message,
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
      <SAP:Category>XIServer</SAP:Category>
      <SAP:Code area="OUTBINDING">CO_TXT_MMF_ENGINETYPE</SAP:Code>
      <SAP:P1 />
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>Messages in multi-message format can only be sent to one Adapter Engine</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    Read in few threads about creating a "custom adapter module"...is this right? if so.... how to proceed ?
    Appreciate any help.

    Ram,
    Message Split using Graphical Mapping that ur using now supports adapter which are on same J2EE engine .
    In ur case Ur trying to post IDOCS ( I suppose ) which is not
       supported in using Graphical mapping.
    U need to change the design.
    -- Kavitha

  • Property configuration for ccBPM incoming message  size ?

    Hi,
    I got problem using ccBPM in PI 7.0 EHP2.  If the total of incoming records is less than 2000 line then the ccBPM able to process the message. But then if the incoming message more than 2000 always stuck at the ccbPM inbound queue and not able to continue unti i can delete the queue.
    is that any way to configure this ?
    Thank you and Regards
    Fernannd

    Hi Madhu,
    Actually, the total record that i have tested was 8000 (Header and detail). I have checked also the payload size is around 3.5 MB (i don't think that so big).
    I will continue to investigate what is the root cause because the bpm working fine if i am set the sender communication channel to split the message for every 500 record.
    Thank You and Regards
    Fernand

  • Breaking message processing for perticular message in Biztalk Orchestration.

    Hello All,
    In above Orchestration I need to break the process for particular incoming message
    if the decide condition get TRUE,  I also don't want to execute further shapes if condition is TRUE.
    I have tried using Terminate shape but it has stopped whole process...!
    Please share if anybody have an IDEA.
    And also share some links regarding how to break and continue (C#) in BizTalk, if any.
    Thanks all

    You've noticed that there is no simple "End Shape" so there's two ways to handle this.
    Make sure the control flow is such that when the 'break' condition is hit, there are no other Shapes until the end of the Orchestration.
    Set a Flag that you can use on further Decide Shapes to skip that logic.

  • Splitting an incoming SOAP message

    Hi All,
    My Scenario is  FILE --> PI --> Webservice --> File (Synch with BPM Asyn Synch procedure).
    I am sending an XML request file with 2 fields and getting Reponse message from WebSerive . The response SOAP message is going to be huge amount of data with 200K Records (app 120 MB) .
    want to know about any option availble to split an incoming SOAP message into smaller messages and process through PI ?
    Thanks ans Regrads,
    Midhusha.

    >I am sending an XML request file with 2 fields and getting Reponse message from WebSerive . The response SOAP message is going to be huge amount of data with 200K Records (app 120 MB) .
    I am not sure if we can receive 120 MB message in one trasaction in synchronous fashion, until unless if you have a good network bandwidth.
    My suggestion would be, have this process in asynchronous fashion. Have two asynchronous webservices, one takes the requests formulates message and then triggers the second webservice in async fashion.
    since the message is huge you can trigger mulitple chunk calls.
    Regards,
    Praveen Gujjeti
    Edited by: Praveen Gujjeti on Nov 3, 2010 10:28 AM

  • How to make a virtual view for all the incoming messages from several accounts, just like in Opera Mail?

    I want to have a replication of Opera mail feature. This feature enables you to aggregate all mail items from across all the e-mail accounts into a single virtual aggregated view.
    That is, say, we have 3 different mail accounts. In Mozilla Thunderbird on a daily basis I check if there is something new in the incoming folder for those accs. To do that I click on the corresponding folder for every account. Now, what i want is to click on a single folder where I would have an aggregated virtual view of the incoming folder for all of those 3 accounts. I guess, same thing can be done with different kinds of mails, such as:
    * Unread messages (after having viewed the mail item, it automatically goes straight into "Sent messages" aggregate view, listed below)
    * Read messages
    * Sent messages
    * Spam messages
    * Drafts, etc
    Also there is this cool feature (virtual thing applies here as well) that helps to have a view of all the attachments across all accounts categorized into different descriptions, such as:
    * docs (xls, doc, ppt, etc)
    * images (jpg, png, etc)
    * archives (zip, rar, etc)
    More then that, it would still be better to have labling aggregation view feature across all acounts. That is, if we have marked important several messages in, say, 2 accounts, those should be seen in a single aggregated virtual view under name, say, "Important messages". Same can be said with flags, todos, etc.

    Pop mail accounts can be set up to use a Global Inbox. Imap mail accounts cannot.
    However, there are various 'views' in Thunderbird. I would suggest you try 'Unified'. This creates a visual Inbox containing all Inbox messages with sub folders showing individual Inboxes, so you can still see them separately if required.
    via Menu Bar;
    View > Folders > Unified
    Via Menu icon
    Menu Icon > Folders > Unified.
    This view would show all the 'Important' tagged emails, so you could them sort by Tag.

  • Do you have an option for block all incoming message and request EXCEPTED messages from my contacts?

    Please help!!To whom it may concernDear Madam/Sir who works for Skype & Microsoft  Dear all who can really help,  Do you have an option for block all incoming message and request EXCEPTED messages from my contacts? or Do you have any solution to solve my problem from begin to now in present time?  Even though, I set the Privacy settings: - Allow calls from... "people in my Contact list only"- Automatically received video and share screens with "people in my Contact list only"- Allow IMs from "people in my Contact list only"  I still received unknow users sent me messages in every day, contact requests etc. And they're all clearly spammings and identity thefts.  I only wanna contact with my family and my freinds here with Skype via my Windows device and my mobile phone (w/Android OS).  And this is the only way to contact with them, because they could use Skype only in overseas.  BUT I don't need new friend from other unknow Skype member.   I keep blocked all unknow spammers in every day.  However in this morning, I feel so scared with Skype on my mobile, I looked at my mobile Skype, I saw it automatically showed me the list of all blocked members. BUT they were all unblocked (contact unblocked) by my mobile (Android version) Skype itself automatically, and listed them one by one on the screen, and about 30 seconds later, they all were disappeared suddenly.  I don't know what do to now, is it indicating my account was hacked?And how could I found out all those members again and block them again and delete all of them for ever?  I appreciate if you would improve the privacy protection. Thank you very very very much. 

    Hrm... that may be true and this may be a function of the phone email client that Apple just doesn't do.
    No, I can easily MANUALLY delete the messages. I would prefer if I didn't have to do it twice, tho. Once on the mail server and once on the phone.
    What I think the phone needs to do is, when it checks the POP, anything NOT there should be removed locally. I think you are correct on POP; the phone will poll the mx (mail exchanger) and the mx will pass off the messages to the phone. The phone then keeps ALL of that unitl you manually delete it.
    If, say, I remove a message from the mx, I would like the phone, when next polls, to see that that particular message isn't on the server anymore and remove it locally.
    Perhaps it's just me but if I delete the message on the mx itself, via my ISP's webmail interface, I really don't want to have to remove it again from my phone.
    thxs!
    cheers
    rOot

  • Error message for over delivery quantity in case of batch split.

    Hi All,
    System is throwing error message if I try to to enter delivery quantity more than target quantity(order quantity) in case of standard process which is ok but in case of batch split when split line created (9000001 for line 10) and if go to item level in line item 900001 and enter delivery quantity more than target quantity system is giving only information message, still line item 10 is giving error message but line 9000001 giving only information message, user want this to be a error massege as well. Delivery item category for all the line items is same and status B is assigned to over delivery in item category. Is there any standard way of achieving this or do we need any modification, if yes then what user exit need to use.  
    I searched alot about this in last three days but found only one thread which is unanswered, please provide your valuable suggestions. If this problem is discussed already and solved please provide me the link to that thread as I could't find any.
    Thanks,
    Davinder

    Hi
    Still line item 10 is giving error message but line 9000001 giving only information message, user want this to be a error massage as well.
    I think it you can possible to change the Information message as Warning message.
    Please  go to SE91 put the Message Class XX (Ex:V1) there And in No. field enter the message number (Ex: If message no V1293 enter the number as 293)
    AND
    go for
    where used in then select only Program >ok then Program will come select the Program > double click, you will l find the message with the Description.
    Now with help of ABAP with just comment on these both the messages. Afterwards you will get the Error message.
    Hope this will helps you
    Dasaradha

  • No xml message for PI

    Hi experts,
    In my scenarios, I read data from files in folder A, archive these files to folder B,and outbound to http service(BID). I actived all in my scenarios in ID/IR.
    Now I put one file to folder A, and found lots of files in folder B. (add 1 file every second), but I  do nothing.
    Now I had a try in test configuration. I found a red square in "Receiver Determination"
    Runtime error
    Error while refreshing the XI runtime cache
    It's strange I have no message for my scenarios at any time, even I don't find my service/interface name/interface namespace in "Monitor for Processed xml messages" (tcode:sxmb_moni). Of cause, I find nothing in RWB.
    Please help me,and thanks.

    Hi,
    Check this links
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/c0332b2a-eb97-2910-b6ba-dbe52a01be34&overridelayout=true
    Error while refreshing the XI runtime cache
    Error while refreshing the XI runtime cache
    Regards
    Ramesh

Maybe you are looking for

  • Exporting as an .FLV movie ??? Works from native QT but NOT FCP QT options

    I have Flash 8 + the video encoder and FCP 5.1.4 on my Mac. When using Quicktime independently I can export as an FLV. However when exporting from FCP (using Quicktime) there's no option... Can anyone help, I know this is possible because we have the

  • Can't connect macbook to windows server 2003 exchange

    I have recently purchased a new Macbook Pro and was trying to connect to my office exchange server using Outlook 2011.... Does anyone know best way to do this or if it can even be done at all.... The macbook is on a mobile connection and not on the o

  • Video shows up on Camera Roll but not on pc when connected to itunes

    I took a 30 minute video of my sons kindergarten graduation on my iphone 4s and it shows up on the phone in the camera roll. When i connected it to my computer to tranfer this video to itunes it doesnt show up anywhere, except in my camera roll on my

  • InDesign asking for serial number

    Can't get InDesign CC to work.  The one year cc subscription has been activated.  I have been trying to get it to work since the 15th.  talked to tech support last night for 90 min.  Went through al the steps and no luck.  They were escalating the is

  • Dropping calls

    Please help me I'm not able to make or receive calls or text either what should I do