Message Split or Split message in ABAP

Hi ABAP guru,
I am facing a difficult choise, our secnario like following:
we will use a background job to trigger a program to collect today's new material master data, then use RFC adapter to send data to XI, XI will use JDBC receiver to insert data into Oracle DB. We will use PLANT field to distinguish which message should be sent to which DB(we have 3 plant, each plant has its own oracle DB, and only needs own data)
Choise A:
in the program, loop the internal table which contains many material master data, call RFC each loop, to make sure every message contains one material only.
Choise B:
use BPM message split pattern.
Could please let me know, depending on your experience, which way will be better?
If you have another choise,that will be appreciate to let me know, thank you very much for your help.

Hi,
to tell you the truth the best way would be to go for ABAP proxies
this way you'd be able to send a all material to one plant
in one message (as you can easily nest XML nodes)
with RFC or IDOC it's jut not possible as you can only use
tables and one header
but still I suggest small messages over the usage of a BPM in this case
(BTW if you have any test tool - like mercury loadrunner)
you can create both cases and compare the performance
in your environment
Regards,
michal
<a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

Similar Messages

  • Multi Mapping : How to get Message count after splitting

    Hi all,
    I am following below blog.
    /people/narendra.jain/blog/2005/12/30/various-multi-mappings-and-optimizing-their-implementation-in-integration-processes-bpm-in-xi
    Can any body please tell me how to get the count of messages generated after splitting in the message mapping.. I have created the message data type but not aware what is needed to be done.
    Thanks and best regards,
    Kulwant Singh

    Multi mappings r done in order to split the messages to the number of messages required by the user. So for 1:N mapping, the details about "N" is based on ur requirement. So its not like - when u split, any number of message could get created. The count would be dependent on u.
    Regards,
    Prateek

  • No messages created from split mapping - Multimapping

    Hi,
    Getting the error in MONI saying that : No messages created from split mapping
    Sender is :
       <Purchase>
                <Number>007</Number>
                <Desc>RAJ</Desc>
                <Quantity>half</Quantity>
       </Purchase>
    Target should be 3 files such as:
      <Purchase>
                <Number>007</Number>
                <Desc>RAJ</Desc>
       </Purchase>
    <Purchase>
                <Number>007</Number>
                <Quantity>half</Quantity>
      /Purchase>
    <Purchase>
                 <Desc>RAJ</Desc>
                <Quantity>half</Quantity>
    </Purchase>
    Regards,
    Y.Raj.

    Hi,
    In your mapping select the cardinality of source message as 0..1 while that of target message should be 0..unbounded.
    Also since you are not using all the elements of source into all the target messages (seems using only two source elements in each target msg) do the mapping accordingly...i doubt whether you can achieve your requirement in one mapping itself....may be you will have to follow what Tarang mentioned:
    3. have 3 mappings between source structure and MT1(map only num,dec), source struc and MT2(map num,Qty) ....
    Exception to above statement:)
    If you set the target cardinality as 0..unbounded then duplicate the root target node thrice (as per your requirement)....and then map each target section seperately....
    Regards,
    Abhishek.
    Edited by: abhishek salvi on Apr 7, 2009 9:12 AM

  • No messages created from split mapping

    Hello,
    My Scenario is JDBC to Proxy and there is  1:n Mapping
    I had done the multi mapping and done the all the necessary configuration in the MM, IM and ID
    I tested the payload in the MM and IM and it is working fine.
    But while iam doing the end to end testing in the ID --- Test Configuration,It is showing the error at Interface Determinmation and Mapping step.
    In SXMB moni, iam getting error as
    - <!--  Request Message Mapping
      -->
    - <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="MAPPING">GENERIC</SAP:Code>
      <SAP:P1>No messages created from split mapping</SAP:P1>
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>No messages created from split mapping</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    The below is my source payload.
      <?xml version="1.0" encoding="utf-8" ?>
    - <ns:mt_vendor_fusiondb xmlns:ns="http://loreal.com/poc_vendor">
    - <row>
      <ID>1</ID>
      <LIFNR />
      <NAME1>SriTest</NAME1>
      <PSTLZ>07066</PSTLZ>
      <LAND1>USA</LAND1>
      <TELF1>1234567890</TELF1>
      <Status>READY</Status>
      <LastUpdated>2008-11-20 09:20:00.0</LastUpdated>
      </row>
    - <row>
      <ID>2</ID>
      <LIFNR />
      <NAME1>GilderTest</NAME1>
      <PSTLZ>07066</PSTLZ>
      <LAND1>USA</LAND1>
      <TELF1>1234567890</TELF1>
      <Status>READY</Status>
      <LastUpdated>2008-11-20 09:20:00.0</LastUpdated>
      </row>
    - <row>
      <ID>3</ID>
      <LIFNR />
      <NAME1>KarthikTest</NAME1>
      <PSTLZ>07066</PSTLZ>
      <LAND1>USA</LAND1>
      <TELF1>1234567890</TELF1>
      <Status>READY</Status>
      <LastUpdated>2008-11-20 09:20:00.0</LastUpdated>
      </row>
      </ns:mt_vendor_fusiondb>
    Please help me in resolving this error
    Srinivas

    Hi Carlos,
    Now my message mapping is working, the error is in the messagetype i declared 'row' as capital letters,due to this in the runtime it is erroring out in the request message mapping.
    But still I had one more issue,iam getting error in Technical routing, the error is
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Technical Routing
      -->
    - <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 be sent to one adapter engine only</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    In the ID i checked the radio button extended.
    But still iam getting the above error.Can you guide me in resolving the error

  • No messages created from split mapping   error .....

    HI XI Friends..
    In My XML to RFC scenario,,
    i am doing message splitting withput BPM.
    in message mapping ..i changed target message occurance to unbounded
    and same i did in interface mapping also..
    static test is OK..creating multiple target messages in static test.
    in interface determination,using enhanced option i given interface mapping.
    file is picking but in SXMB_MONI ...i am getting error like this
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Request Message Mapping
      -->
    - <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="MAPPING">GENERIC</SAP:Code>
      <SAP:P1>No messages created from split mapping</SAP:P1>
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>No messages created from split mapping</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    please guide me..
    regards
    ram

    Hi Ram,
    Check these..
    Split mapping created no messages
    Message Split without BPM - Error
    cheers,
    Prashanth
    P.S Please mark helpful answers

  • How to split big xml-messages with file inbound adapter

    Hello,
    we have big xml-messages in our filesystem, which are processed by XI 3.0 (SP11). We are using the file inbound adapter. Now we want to split these big xml-message into some smaller messages.
    Exist there a corresponding function to the "xml.recordsetsPerMessage" which is working with xml-files?
    Thanks!
    Regards
    Stefan

    Hi,
    maybe you can split the message in the BPM 
    with 1:N mapping?
    Process Integration (PI) & SOA Middleware
    I don't think anythink like "recordsetsPerMessage" is possible for xml messages 
    Regards,
    michal

  • Splitting and Collecting Messages

    Hi,
    I have a scenario in which I get a message from SAP. In this message their are multiple item structures and 1 header structure. Now I have to sent these items to a WS seperately and collect the messages  from the WS response in one message with a header.
    Something like:
    Receive Message -> split message (message mapping) -> send all to WS / receive response for everyone -> collect messages from response in a new message -> send the new message to another WS
    How can I do this in BPM?

    Hi Chris,
    Your design should be like this:
    Start --> Receive --> Transform1 (Do the split and multimapping) -->  Send Step1 (Synchronous) --> Send 2 (Send Response from send1 to the output) --> Stop.
    Regards,
    ---Satish

  • Split screen for message

    hi..
    after i upgrade my c7 to new version smbyian anna why my split screen for messaging not working?
    And i also cannot upload photo to social network.. Be4 upgade everthing is fine.. It is something wrong wit my phone?

    hm.. not too sure if this has anything to do with the current screen-flickering issue some macbook owners have or not..
    as for mine, the flash of light happens during any program or with no programs at all. it's completely random. yours could be the start of a flickering issue, or it may be nothing at all. wait and see what happens with it...if it happens while using other programs or not. that's the best thing i can say.

  • Split Bulk Xml message in to many

    Hi,
    How to split large xml message in to many xml messages in biztalk 2006. For example if that xml message contain more then 10,000 records then I have split into each 10,000 records. Can anyone help me?
    Thanks,

    Hi,
    There are four methods to get your message debatched:
    Receive Port Pipeline Debatching
    Orchestration debatching by calling a pipeline.
    Orchestration XPath Debatching 
    Orchestration Atomic Scope Node List Debatching
    1)
    Receive Port Pipeline Debatching
    http://social.technet.microsoft.com/wiki/contents/articles/26005.biztalk-server-debatch-xml-with-envelope.aspx
    2)
    Orchestration debatching by calling a pipeline. 
    http://jeremyronk.wordpress.com/2011/10/03/how-to-debatch-into-an-orchestration-with-a-pipeline/
    3)
    Orchestration XPath Debatching
    http://www.digitaldeposit.net/blog/2006/12/message-debatching-inside-biztalk.html
    4)
    Orchestration Atomic Scope Node List Debatching
    http://geekswithblogs.net/sthomas/archive/2005/03/21/26924.aspx
    You can check out the performance of each method @
    http://geekswithblogs.net/sthomas/archive/2004/12/12/17373.aspx
    Rachit
    If this answers your question please mark it accordingly. If this post is helpful, please vote as helpful by clicking the upward arrow mark next to my reply.

  • Correlating message id between async messages

    Hi guys...
    I have several JMS->Xi->AbapProxy AbapProxy->Xi->JMS scenarios, almost like request-reply, the difference is that all calls are async.
    My environment is a Xi3.0 and a SAP ISOIL 4.72 with SAP WebAS 6.2, with the abap proxies processed in SAP IS-OIL...
    <b>1. How can I put the message id of the request message in the reply message, for example in the "original message id" characteristic/field???</b>
    Take Care
    PC

    Hi Prasad,
    I think that the question that I post it is not just how to use the SXMB_MONI to do monitoring...
    Imagine that I have 100 messages for the Inb proxy message from the same Sender Receiver Services/Interfaces/Namespaces and the equal number of messages for Out proxy. What I want to find what is the reply message related with the request message id "95" (for example)...
    >>1. Get the Message ID from your SAPIS-Oil 620 system >>for the Inb/Out Proxy message. Use this message ID in >>XI Tr: SXMB_MONI under Advance Selection Criterion to >>display the message.
    With this solution I am just relating the same message between the SAP ISOIL and the SAP XI, that isn't what I want!!!
    >>2. Create variants in Tr: SXMB_MONI based upon the >>Sender Receiver Services/Interfaces/Namespaces. Save >>the Variant and for each variant, select the Objects >>to be displayed in the selection screen.
    I would still have hundreds of messages to look for !!!
    >>3. In The RWB tool of Message Monitoring section, You >>can create filters based upon your selcetion criterion >>in the "Show Additional Criterion" Here you can also >>use the parameter Referenced Message (ID)
    Yes, this is more what I want, but how can I populate the referenced message ID??? Remember that SAP IS-OIL is receiving the request message from XI and is sending the reply message to XI via abap proxies. How within the report ABAP4 that invokes the abap proxy I can associate a message id in the referenced message id???
    Take care
    PC

  • TS3772 I made a 3 minute movie with my iphone 4s. when I attempt to share it by message or email, a message says the movie is too long and that I must make clips. Is there any way to get around this and send the whole video? I think everything is in the c

    I made a 3-minute movie with my iphone 4S. When I attempt to share it via email or message I get a message that says it is too long, that I should try to make a clip. Of course I had rather send the whole thing. What are the possibilities? I think my music and likely my videos and pictures are in the cloud.

    SadisticIron wrote:
    i just baught my first iphone and it is a jalbroken
    Buzz! Thank you for playing!
    Discussing jailbroken devices is forbidden here by the Terms of Service.
    You can not get help here.

  • When I am writing an email, I get an alert message that says "The message could not be copied or moved to the drafts folder. Writing to the folder failed. To ga

    When I am writing an email, I get an alert message that says “The message could not be copied or moved to the drafts folder. Writing to the folder failed. To gain disc space, choose Empty Deleted and choose Compact Folders and try again.”
    If I do that, I get a message saying “There was an error copying to the Sent folder,, retry?”
    If I retry it sends the uncompleted email. All I can do is keep deleting the message and carry on. Then the whole business might repeat itself.
    Help!
    Frank

    Because the location for each song in your library is on your hard drive.  If the hard drive isn't there, how can iTunes play it?
    You'll have to move/copy the music from your hard drive to your computer's hard drive.
    Basically, EASIEST way to do all this, if you don't care about your play counts, etc...
    -Delete EVERYTHING from iTunes, so that your library is now empty.
    -Go to "Advanced" inside of the "Preferences" window, found in the "Edit" drop-down.  You can also access Preferences by pressing Ctrl+, (Press Ctrl and the comma key)
    -Change your iTunes Media Folder Location to something simple, but on your computer. I use C:/iTunes.  Make sure "Keep iTunes Media Folder Organized" and "Copy files to...." are both checked.  You can close Preferences now.
    -Now, drag and drop your music from your hard drive into your iTunes library.  iTunes will automatically add the music to your library, as you would expect, and also creates a copy of each file to place into that iTunes Media Folder you just created.
    Shouldn't have any more problems...

  • Cannot delete messages from inbox, cannot move messages out of inbox, message do not copy to "sent" or "draft"

    The following problems occur:
    - cannot delete messages,
    - cannot move messages out of inbox,
    - messages do not copy "sent"
    - messages cannot be saved to "draft"
    This applies to imap and to gmail accounts.
    The following has not helped:
    - compact trash and other folder
    - deinstall and reinstall TB 31.4.
    - archive profile with mozbackup and replace profile from archive after reinstall of TB.
    - deinstall and reinstall TB 31.3 downgraded
    - delete all folders and files with "trash*" in the file name (all IMAP)
    - delete all files of 1 mail account completely in the TB profile and resync from server (IMAP)
    This might coincide with these system changes:
    - upgrade to TB 31.4.
    - some of these email accounts were installed on ios8 iphone.
    Not sure if the problems had already started before these 2 occurrences.
    Any help is appreciated to solve this.
    Thanks!
    fashi

    What type of mail account is this (POP, IMAP, .Mac)? If POP, what are your Preferences > Accounts > Advanced > Remove copy from server settings?
    You may be able to get rid of those messages in Mail doing Edit > Cut (⌘X) (for best results do it with one message or just a few at a time), but you should remove them from the server first if they’re still there.
    Does this account allow web access? If not, you may find the Account Info window useful to solve this problem — choose Get Info (⌘I) from the Action menu (gear icon) located below the mailboxes list in the main Mail window.

  • My iTunes will not start.  The box on the error message APSDaemon.exe,  And message says "This application failed to start because MSVC80.dll was not found.  Reinstalling may fix."  I did the reinstall and I get the same error.

    My iTunes will not start.  The box on the error message APSDaemon.exe,  And message says "This application failed to start because MSVC80.dll was not found.  Reinstalling may fix."  I did the reinstall and I get the same error.  The error first happened after I approved the an iTurns update.

    Same problem today. Took five times to reinstall without any error messages. Apple has posted a way to fix and you should follow their's first. I finally got to upldate correctly by doing their fix but with one difference. I did the following:
    1) Went to the C:\program files (x86)\iTunes and C:\program files\iTunes folders and moved every file ending in .dll to the desktop (even if two files in same location had the same name, just replace)
    2) Restarted computer and still got error message
    3) Uninstalled all apple programs possible in the following order......itunes, apples software update, apple mobile device support, bonjour, and apple application support.....all performed using the microsoft control panel
    4) put all the .dll files on the desktop in the trash and emptied (this is a step apple support did not specifically put in their fix but for a final try I wanted to delete everything apple).
    5) Restarted computer.
    6) Re-installed itunes from apple website
    No error messages during re-install and was able to open shortcut in one try. Even updated my ipad to make sure everything was working.

  • After upgrading to iOS 5 I have lost all my sent messages'all my deleted messages have returned ,2 of which I also can't delete!

    After upgrading to ios5 all my sent messages disappeared,my deleted messages returned,a couple of which I also cannot delete!Anyone any ideas?I am thinking I should have stayed with ios4,as ios5 seems to be pitched at iPad 2 users.

    Thanks for the clarification.    Yes, I do access my email from 2 different sources. 
    FYI, I use the POP mailserver as I need most of the information to be loaded onto my PC while on a plane / not connected to the interenet.
    The primary use of mail on my iPhone is to be available as much as possible - even when I'm away from my office.
    Thanks again for your help.   I'll start deleting them in segments of 100.......

  • Why am I receiving the "Unfortunately, Messaging has stopped" error message and how do I fix it?

    Why am I receiving the "Unfortunately, Messaging has stopped" error message and how do I fix it?

    I am so upset. Please read my messages from my postings. This has nothing to do with SIM Card, Hard Reset, Apps, Google Gmail Account, nothing. I have gone thru all of this and NOTHING has fixed this. I went to the store today and spoke to the manager on duty. He said he had to try and duplicate the problem before he could help me. I showed him "screen captures" I did, told him it's out here on the board, etc. etc. Needless to say I ended up coming home with the same phone, "he" erased the phone and started over again. Well guess what, it's not a error with "MY" Gmail account being corrupted because if that is the case Mrs. Hayden14 has a bad Gmail account too. If you guessed it, the phone just crashed again! I was able this time to capture a report with ALL the history in it and saved screen captures to PROVE to him this is not a joke. Even the report says "Crash". This time it was something else I don't even or ever have used. I have also wasted over a day , yes a full work day on this without question.
    I have had to get the run around for the last day. This is totally ridiculous, including them putting me on hold for 55 min. Oh, that's another funny story. Anyways, tomorrow morning I am going to the Verizon store one last and final time and I hope they decided to do the right thing and give me a phone that does not crash and works. It would be handy at work for me, especially where I work at. I hope hope hope someone listens to and helps me. I would love for them to see me walk in, take my phone and say to me were going to get you another phone, hand it to me, see if it works and prove it's the device. I don't hear anyone having this issue on other phone types so sounds like its the phone type.
    I have had 3 phones now in the matter of 2 weeks. I am sure the FedEx charges will add up to a cost of a new phone at some point and start to outbalance your requirement to give me the same phone when it has the same problem.
    Can't wait to see what happens tomorrow.

Maybe you are looking for

  • Reg Po creation in ME21N

    Hi all, I am fresher in SAP MM module. When i am creating PO in ME21 with reference to PR  , i am getting a short dump. How can i create PO in ME21N  with reference to PR  ??? Kind regards Karthik

  • Resample on viewing images

    Hi, I was wondering if there's a way to make Photoshop (CS3) use "Resample" when displaying images on a zoom level less then 100%. In the default setting all pictures have jagged lines and aliasing effects which is quite annoying. I guess in a softwa

  • Create directory object on a client machine

    hey guys .. can i craete a directory object on a different machine_that is connected to the network_ other than the server machine from where i run the em? & if so , how do i provide its path through the em?

  • CS4 - Book using two or more files

    I am using CS4 and need to set up a book (I know how to do that) that encompasses two or more files.  In File 1 I have a text block placed across a two page spread.  The last column will be a page number pointing to a specific page in File 2. Questio

  • Just installed Elements 12 edit keeps going back to sign in page

    I  installed Elem 12 from DVD. Organizer wors fine but to edit it just keeps going bake to the sing in page. What do I do?