Multi-mapping with message bundling but without using BPM

Hi all,
I have a requirement to bunch specific no. of records (say 50) from source message and create separate target messages for those bunches. For example, if the source message has 120 records, then there should be three separate target messages created containing 50, 50 and 20 records each.
I am wondering whether this multi-mapping is possible without using BPM, as the typical no. of records in the source message are in the range of 600 to 800, and rarely (twice or thrice a month) they shoot up to 2000. So my concern is whether BPM would affect the performance. We are using PI at SP12.
Regards,
- Shankar.

Sorry for late reply.. Well the sender is a file system, which sends a single XML file containing multiple records. (I mean I have a sender file adapter that polls periodically from a specific path and picks up the file when it is available)
The no. of records in the source file may be different in each run. The requirement on the receiver system is that it can handle a file which has maximum of 'n' records only (say 50 in my example)
Now the sender file can contain any no. of records. It may contain 10 on some day, or 200 the next day, or 120 on the third day. But on the receiver side, I want the files to be created such that each will contain AT MAX 50 records.
So, if source file has <=50 records, then there will be only 1 target file having the same no. of records.
If source file has between 51 to 100 records, then there will be two target files. One will have 50 records, and the second will have remaining records.
And so on..
Regards,
- Shankar.

Similar Messages

  • JAXM with Message Provider but WITHOUT profile: How?

    With the JAXM API, I want to use a message provider WITHOUT any profile like ebXML to make use of an already implemented JAX-RPC Service. This should be possible as stated in the documentation. How do I create the MessageFactory then?

    I would like to know this as well, say sending a simple string using provider??

  • Multi-Mapping in IDOC without using BPM ?

    Hi ,
    Please check ..
    Can below given blog can be used to achive Multi-mapping in IDOC without using BPM ?
    /people/jin.shin/blog/2006/02/07/multi-mapping-without-bpm--yes-it146s-possible
    Regards
    PS

    Solved .. Thx every one .
    Approache Used :
    1. Created mapping  with Change signature on target Message type(idoc) with 1..N Occurence.
    2. Operation mapping with change Occurence on Target Operation(1..Unbounded) .
    3. Used same Operation mapping in Interface Determination with 0..unbounded(Multiplicity).

  • Multi-map without using BPM

    Hello
    I am trying to create a multimap without using BPM as we are on SP15. I did the respective configuration in Message and Interface mapping as mentioned in the weblog.
    I am expecting multiple files to get generated in the target directory and i hope file adapter supports this.
    For that I did extended interface determination where I selected the respective interface mapping.
    When I am trying to execute this interface it throws error in SXMB_MONI saying "<b>No messages created from split mapping</b>".
    One more doubt, with what names it will generate multiple files?
    Thanks in advance.
    Regards
    Rajeev

    Hello
    I tested my mappings in the Test tab of Interface Mapping where it runs absolutely fine.
    Here is source and target messages
    ***************************Source**********************************
    <b>  <?xml version="1.0" encoding="UTF-8" ?>
    - <ns0:Messages xmlns:ns0="http://sap.com/xi/XI/SplitAndMerge">
    - <ns0:Message1>
    - <ns1:UpdateShipTest_MT xmlns:ns1="http://sjm.com/DynConf">
    - <DELIVERY>
      <DELIVERY_NUMBER>12</DELIVERY_NUMBER>
      <TRACKING_NUMBER>3</TRACKING_NUMBER>
      <SHIP_DATE>3</SHIP_DATE>
      <USER_ID>33</USER_ID>
      <SHIP_VIA>3</SHIP_VIA>
      <ITMNO>3</ITMNO>
      <MATNR>3</MATNR>
      <QUANTITY>3</QUANTITY>
      </DELIVERY>
    - <DELIVERY>
      <DELIVERY_NUMBER>121</DELIVERY_NUMBER>
      <TRACKING_NUMBER>3</TRACKING_NUMBER>
      <SHIP_DATE>3</SHIP_DATE>
      <USER_ID>33</USER_ID>
      <SHIP_VIA>3</SHIP_VIA>
      <ITMNO>3</ITMNO>
      <MATNR>3</MATNR>
      <QUANTITY>3</QUANTITY>
      </DELIVERY>
      </ns1:UpdateShipTest_MT>
      </ns0:Message1>
      </ns0:Messages></b>
    *************************End Source*****************************
    This is the one message which is required to be split into two separate Delivery files
    ***************************************Target Message*******************************
    <b>  <?xml version="1.0" encoding="UTF-8" ?>
    - <ns0:Messages xmlns:ns0="http://sap.com/xi/XI/SplitAndMerge">
    - <ns0:Message1>
    - <ns1:UpdateShipTest_MT xmlns:ns1="http://sjm.com/DynConf">
    - <DELIVERY>
      <DELIVERY_NUMBER>4</DELIVERY_NUMBER>
      <TRACKING_NUMBER>5</TRACKING_NUMBER>
      <SHIP_DATE>5</SHIP_DATE>
      <USER_ID>5</USER_ID>
      <SHIP_VIA>5</SHIP_VIA>
      <ITMNO>5</ITMNO>
      <MATNR>5</MATNR>
      <QUANTITY>5</QUANTITY>
      </DELIVERY>
      </ns1:UpdateShipTest_MT>
    - <ns1:UpdateShipTest_MT xmlns:ns1="http://sjm.com/DynConf">
    - <DELIVERY>
      <DELIVERY_NUMBER>46</DELIVERY_NUMBER>
      <TRACKING_NUMBER>5</TRACKING_NUMBER>
      <SHIP_DATE>5</SHIP_DATE>
      <USER_ID>5</USER_ID>
      <SHIP_VIA>5</SHIP_VIA>
      <ITMNO>5</ITMNO>
      <MATNR>5</MATNR>
      <QUANTITY>5</QUANTITY>
      </DELIVERY>
      </ns1:UpdateShipTest_MT>
      </ns0:Message1>
      </ns0:Messages></b>
    *************************************End Target****************************************
    According to interface map I guess the adapter should split the messages but at runtime it gives error.
    Thanks and Regards
    Rajeev

  • Multi-Mapping and Message Split using BPM

    Hi All,
    Could anyone pls let me know clearly how message mapping can be done for this weblog
    /people/sudharshan.aravamudan/blog/2005/12/01/illustration-of-multi-mapping-and-message-split-using-bpm-in-sap-exchange-infrastructure
    Thanks,
    Ram

    Hi,
    When you are doing Message mapping after adding the Messaget types for source and target messages. You can click on the "" button in the target message and add one more tab. You can go to Message tab as shown in the 5th image and click "" button to add one more message type. Then do the mapping as usual.
    <b>Based on the value of the element(name), the node of input(details)should be directed to one of the two message types</b>
    Here in this blog it is done based on the Name.
    You need to use IFTHENELSE boolean function and do the mapping.
    Thanks,
    Prakash

  • Multi-Mapping and Message Split using BPM UDFs Error

    hi
    As per the below blog
    Illustration of Multi-Mapping and Message Split using BPM in SAP Exchange Infrastructure
    I have just modified the UDFs(1.selectnodeifA 2.selectNodeifB)
    1.selectnodeifA
    for(int i=0;i<=n;i++)
    if(Name<i>.equals("A"))
    result.addValue(Node<i>);
    2.selectNodeifB
    for(int i=0;i<=n;i++)
    if(Name<i>.equals("B"))
    result.addValue(Node<i>);
    while checking I am getting the following errors
    Source code has syntax error: 
    D:/usr/sap/D10/DVEBMGS01/j2ee/cluster/server0/./temp/classpath_resolver/Mapdc8fa4d0896011dd907d001cc01cef0d/source/com/sap/xi/tf/_bpm_mm_.java:132: cannot resolve symbol
    symbol : variable n
    location: class com.sap.xi.tf._bpm_mm_
    for(int i=0;i<=n;i++)
    ^
    D:/usr/sap/D10/DVEBMGS01/j2ee/cluster/server0/./temp/classpath_resolver/Mapdc8fa4d0896011dd907d001cc01cef0d/source/com/sap/xi/tf/_bpm_mm_.java:140: cannot resolve symbol symbol : variable n
    location: class com.sap.xi.tf._bpm_mm_
    for(int i=0;i<=n;i++)
    ^
    2 errors
    The source code given in the blog is correct ? I thought for loop has not completed
    pls help
    manian

    Hi manian,
    I was having a look to Illustration of Multi-Mapping and Message Split using BPM in SAP Exchange Infrastructure blog.
    The functions are not the same. I mean, yours and blogs functions.
    Each function has two parameters, Name and node. Furtheremore, in the blogs' functions is using arrays and you don't.
    So, the right code will be
    1.selectnodeifA
    for(int i=0;i<=node.length();i++)
    if(Name<i>.equals("A"))
    result.addValue(Node<i>);
    However, if you don't need an advance user defined function as you want to process just one element of the node's queue, you will not need to use for sentence.
    Something like:
    1.selectnodeifA
    // for(int i=0;i<=n;i++)
    if(Name.equals("A"))
    result.addValue(Node);
    Hope it is usefull for you.
    Carlos

  • Spliting files based on condition using multi mapping with BPM

    Hi All,
    Can any one please let me know How to <b>Splite the outbound records based on condition using multi mapping with Integration Process in BPM</b>?
    Thanks
    Govindu.

    Hi All,
    Sorry for mistake this question for Exchange infrastructure guys.
    Thanks,
    Govindu

  • Multi-Mapping with BPM?

    Hi Experts,
                    Can anyone send me a scenario which contains multi-mapping using BPM (collect pattern)........I searched on SDN but cudn't find any scenario which contains Multi-Mapping BPM scenarios. All the scenarios which r available based on without BPM.............points will given to the approriate replies.
    Thanks in Advance
    Faisal

    Hey
    strange you didn't find it,it was the second link when i searched SDN with the string "multimapping BPM"
    /people/sudharshan.aravamudan/blog/2005/12/01/illustration-of-multi-mapping-and-message-split-using-bpm-in-sap-exchange-infrastructure
    Thanx
    Aamir

  • 1:N mapping without using BPM

    Hi All,
    I am facing a problem in 1:N mapping without using BPM...
    I would explain regarding it first...
    Scenarion is from SAP > XI> 3files
    I have 4 XSD's 1) one is Source Idoc XSD (all xsd's imported to External def.s)
                          2) target file 1 XSD
                           3) target file 2 XSD
                          4) target file 3 xsd
    I have created 4 message interfaces one is Outbound and rest 3 are Inbound
    and also i have done mapping : In mapping messages tab i have mentioned the 3 XSD(External definitions) and done the mapping as required...
    But now my problem is how to proceed with Interface mapping ...
    should i create 3 interface mappings ( ithink no) ... but in IM i am able to create for only one taget Interface .. how to with 3 XSD's ...
    Any solution is always thankfull...
    and Points are surely rewarded....
    Thanks and Regards,
    Sridhar Reddy

    Hi Sridhar,
    Receiver Determinatiion: one Receiver without Condition (Service that has all the Three inbound Interfaces).
    Then in Interface Determination choose enhanced  and choose ur Interface Mapping that has the Multi Mapping.
    It will automatically provide the three inbound Interfaces and u can create ur receiver agreements.
    Reference Blog:
    <a href="/people/jin.shin/blog/2006/02/07/multi-mapping-without-bpm--yes-it146s-possible:///people/jin.shin/blog/2006/02/07/multi-mapping-without-bpm--yes-it146s-possible
    Regards,
    Sudharshan

  • Multi mapping with out BPM

    HI ALL ,
           I am trying to do multi mapping with out using BPM .I will get message from the sender and i need to send that to two different target system. I have defined the mapping in the IR . In ID i  have created the configuration scenario and i have created the receiver determination .In receiver determination i have selected "EXTENDED" and when i select input help for mapping name it says "NO Object found". What else should i do get the mapping program here .
    Regards,
    Tarun.

    Bhavesh,
    I'm sorry but if he needs 2 different receivers, then it's not the case of using Enhanced Interface Determination.
    sapuser,
    if you scenario is asynchronous, then it's easily implemented.
    But it won't be achieved with multimapping.
    You'll have 2 receivers in receiver determination (normal RD, not enhanced). For each of those, you'll have to create a separate simple mapping (that will generate the message expected at each receiver system) and refer that mapping in the interface determination of each receiver.
    For example, you have input_message containing data1 and data 2. You'll have 2 simple mappings (not a multimapping), 1 generating output_message_1 containing data1 and the other generating output_message_2 containing data2. Then refer those mappings in the proper interface determinations.
    Regards,
    Henrique.

  • Asynchronous, but need Ack without using BPM and IDocs.

    Hi Experts,
                     I would like to do a scenario i.e., "Asynchronous communication, but need Acknowledgement without using BPM and also without using IDocs whether it is sender side or receiver side". Please help me.
    Thanks in advance
    Srihari.

    Without using BPM will be little longer process. But the alternative way is to add one more receiver in the receiver determination and send some file to that location with the actual mapping getting executed for the actual receiver. and in the second interface you can get the file created at second receiver back to the source location. But this will be little long as compared to synchronous scenarios.
    Flow:
    Source
              Receiver 1--> Actual mapping as per requirement
              Receiver 2(For Ack)--> Create a mapping with blank file sent to Receiver
    Receiver 2-->File Adapter--> Source through 2nd mapping/interface and keep the File adapter pooling interval around 5 sec or less so that you can get the file back to source location.
    Regards
    Anand

  • Multi mapping and message splitting in BPM

    Hi ,
    I am working with this scenario ...
    /people/sudharshan.aravamudan/blog/2005/12/01/illustration-of-multi-mapping-and-message-split-using-bpm-in-sap-exchange-infrastructure
    how many message interfaces i have to create .
    one outbound , one abstract  and two inbound .. is it correct.

    Hi
    Minimum you need to create three message interfaces i.e. Bpm_In_MI_Abstract,  aBpm_Out_MI_Abstract Bpm_Out1_MI_Abstract, because abstract interfaces can be use inbound and outbound as well.
    You can also use create implement it by using inbound and outbound message interfaces. In that case you have to use three additional interfaces(1 outbound and 2 inbound).
    Regards
    Sami
    Reward points if helpful.

  • Problem with File RFC File scenario without using BPM

    Hi all,
      I am trying a File RFC File scenario without using BPM with the help of the following thread:
    File - RFC - File without a BPM - Possible from SP 19.
      The XI system is PI 7.0 sp 12. When I am trying to acheive the above scenario, I am getting wierd results i.e., when I observe in SXI_MONITOR, the message is showing as processed successfully, but when I watch the message status in communication channel monitoring, I am getting the following error:
    "Attempt to process file failed with com.sap.aii.af.service.cpa.CPAException: Couldn't retrieve inbound binding for the given P/S/A values: FP=;TP=;FS=DEV120;TS=Test_Service;AN=MI_Invoice;ANS=urn:sap.com:test;"
    I am not able to understand what the problem is. By the way, one more thing, is, I have kept the File processing mode as "Delete" in the sender file adapter. But the file is not getting deleted. I think the reason could be because of the above error.
    Can any body help me out in getting my problem resolved?
    Thanks,
    Adithya K

    CPA Cache Refresh from the Adapter Engine To trigger a cache refresh from the individual Adapter Framework, open a browser window and enter the following
    URL: http://<host>:<port>/CPACache/refresh?mode=<b>delta|full</b>
    The Monitoring url is like this: http://<host>:<port>/CPACache
    Thanks & Regards,
    Farooq.

  • How to Send  message to MQ without using JMS Receiver Adapter

    Hi Frnds,
    Actually i am working one File to JMS scenario,I have to send message to MQ,What are the different ways we can send  message to MQ without using JMS Adapter.
    Regards,
    Raj

    Hi Ramesh,
    Thanks for your replay,could you please eloborate how to integrate that one with XI,and how to use in XI?
    regards,
    raj

  • Sequential mapping without using BPM

    I have a requirement where i need to do a sequential mapping without using BPM. IDoc to file is the first mapping.A few fields of the IDoc are transformed in this mapping. Output of this first one should contain the transformed as well as rest of the fields of the IDoc as it is coz they will be used in the second mapping.
    Is this possible any way?

    yes soumen...u can do it.in the interface mapping option is there to do that...
    but u can do it in a single mapping!!!
    go thro'  this general Idoc to file scenario...u may get some help
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e07dcaa0-a92b-2a10-3a96-b3d942bd1539

Maybe you are looking for