Problem regarding bpm message split scenario

hi experts,
iam doing a scenario file->bpm->file scenario
msg->msg1+msg2 message will be split like this
my second msg is logically deleted from system.i found this in PE of sxmb_moni
i got only the first part of the splitting.
start->receive->transformation->fork->two receiver determinations for two branches and-> after that two send steps after two receiver determnations -->close of fork->stop
sxi_cache is zero
where it went wrong.
could u plz tell me the reason when this will happen(second message is logically deleted).

HI
Are you following this blog
Illustration of Multi-Mapping and Message Split using BPM in SAP Exchange Infrastructure
Check with your Transformation step and receiver determination you are trying in fork.
Check with your mapping. Is it creating target messages properly.
Thanks
Gaurav

Similar Messages

  • Large file doesn't work in a message-splitting scenario

    Hello,
    I'm trying to measure the XI performance in a message-splitting scenario by having the file adapter to pull the xml file below and send it to XI to perform a simple "message split w/o BPM" and generate xml files for each record in another folder.   I tried 100, 500, 1000 records and they all turned out fine.  Once I tried the 2000-records case, the status of that message is WAITING in RWB and I checked sxmb_moni, the message is in "recorded for outbound messaging", I couldn't find any error.
    Is there some kinda of threshold that can be adjusted for large files?  Thank you.
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:MultiXML xmlns:ns0="urn:himax:b2bi:poc:multiMapTest">
       <Record>
          <ID>1</ID>
          <FirstName>1</FirstName>
          <LastName>1</LastName>
       </Record>
    </ns0:MultiXML>

    Hello,
    The Queue ID is "XBTO1__0000".  I double-clicked it, it took me to the "qRFC Monitor (Inbound Queue) screen, and showed a XBT01_0000 queue with 3 Entries.
    I double-clicked on that, and it took me to another screen that showed a queue with same same and "Running" in Status.
    I double-clicked on that, and i saw three entries.  For the latest entry, its StatusText says "Transaction recorded".
    I double-clicked on that, it took me to Function Builder:Display SXMS_ASYNC_EXEC.
    What do I from here?

  • BPM Message Split in Block par for Each: Just last message is sent n-times

    Hello everybody,
    we got BPM with a message split. In a par-for-each block the message is send.
    Asuming I have 3 lines in the multiline container element, I can see in SXMB_MONI that that message is send 3 times.
    The error is, that 3 times the last message is send.
    <u>Sample Error:</u>
    Message incoming in BPM:
    <root>
      <mymessage>M1</mymessage>
      <mymessage>M2</mymessage>
      <mymessage>M3</mymessage>
    </root>
    Messages outgoing:
    <root>
      <mymessage><b>M3</b></mymessage>
    </root>
    <root>
      <mymessage><b>M3</b></mymessage>
    </root>
    <root>
      <mymessage><b>M3</b></mymessage>
    </root>
    --> As you can see, just the last message M3 is send 3 times!
    What can I do?
    Regards Mario

    If I take the payload from SXMB_MONI an try to test, I get an syntax error when I copy&paste the data into the message mapping.
    This is very strange, because
    a) the message mapping is done on basis of imported IDOCs!
    b) the BPM works without throwing a mapping error
    So what should I do?

  • BPM Message Split: Does it really work?

    Hello everybody,
    did anybody of you design a process with a message split that works?
    If I look the SAPs tutorial "checkSeatFlightAvailability" an test the message-split in IR I CAN'T see that there is a message really splittet into MESSAGE1, MESSAGE2 ..MESSAGE-N!
    I wonder why there is just one blog?
    Regards Mario

    Hi Mario,
    Yes the message split does work:) You can even split without using the bpm(if you want to)
    Here are the weblogs :-
    using bpm:-
    /people/sudharshan.aravamudan/blog/2005/12/01/illustration-of-multi-mapping-and-message-split-using-bpm-in-sap-exchange-infrastructure
    /people/narendra.jain/blog/2005/12/30/various-multi-mappings-and-optimizing-their-implementation-in-integration-processes-bpm-in-xi
    without using bpm:-
    /people/jin.shin/blog/2006/02/07/multi-mapping-without-bpm--yes-it146s-possible
    /people/claus.wallacher/blog/2006/06/29/message-splitting-using-the-graphical-mapping-tool
    Regards,
    Sushumna

  • Usage of  sync-asyn bridge problem in BPM in particular scenario

    scenario is to send a Stock availability check from one suboffice to other suboffice which does not involve any R/3 activities.
    I need to send SOAP request to XI, BPM receives request through synchronous interface.
    BPM has to send request to DB through synchronous interface and gets response
    Questions:
    1) whether sync-async bridge comes into picture in BPM or not
    2) i am really confused how many Data types,Message types and message interfaces i have to create.
    3) what are all the message interfaces i have to create
    4) abt Integration Directory activities.
    Its would be appreciated if u tell step by step.
    Its urgent..
    Thanks & Regards.,
    Pushparaju.B

    I have created these things as of now , but problem in interface mapping
    <u>Interface Objects</u>
    Data Types
    1)DT_Soap_request
    2)DT_Soap_response
    3)DT_Jdbc_request
    4)DT_Jdbc_response
    corresponding message types
    1)MT_Soap_request
    2)MT_Soap_response
    3)MT_Jdbc_request
    4)MT_Jdbc_request_response
    Message Interfaces
    1)MI_SOAP (inbound asynchronous) MT_Soap_Response and MT_Soap_Request input message
    2)MI_JDBC (outbound asynchronous) MT_Jdbc_response output message and MT_Jdbc_request input message
    <u>Mapping Objects</u>
    Message mappings
    1) MM_Jdbc_Response_Soap_Response where MT_Jdbc_request_response and target message is MT_Soap_response
    2) MM_Soap_Request_Jdbc_Request where source message is MT_Soap_request and target message is MT_Jdbc_request
    Error in interface mapping is
    IM_Soap_Request_Jdbc_Request has interfaces source is MI_JDBC and target is MI_SOAP
    <b> No object found for message mapping in request tab</b>
    can anyone help me please its urgent.
    why its not detecting the message mapping in request tab
    Thanks & Regards.,
    Pushparaju.B.

  • Problem: Regarding Broadcast Messaging in CRM 4.0 and EP5.0

    Hi,
      We are trying to configure Webclient in CRM4.0 system and integrating into the portal(EP 5). We did the configuration part of Broadcast Messaging in CRM system and also in portal. But when we tried to access broad casting iview(Realtime Status -> Overiew)
    through the portal it is giving error
    <b>" com.sap.broadcast.client.DisplayContainer2 notinited. "</b>.
      It would be greatful if anyone help me in this problem and will give you full points with immediate effect.
    Thanks in advance.
    Cheers....
    Susan

    Hi Emilio,
    can you please goto SE38, execute MSSPROCS and display the stored procedure
    sap_new_dbcheck?
    I've seen one case by now, when the part, that is creating the stored procedure, was commented out: in this case it looks like:
      CREATE procedure sap_new_dbcheck(             
         @dbname varchar(30),                       
         @outputfile nvarchar(200)=NULL   ) as      
      begin                                         
        SET NOCOUNT ON                              
           for testing:                             
           select @dbname = 'master'                
    if this applies to you please remove the comment marks in front of the lines (--)
    in order that the procedure sap_new_dbcheck is really created again, if you run it in MSSPROCS.
    Regards,
    Beate

  • Message Split without BPM - Error

    Hi,
    I am creating a message split scenario without BPM as per weblog <a href="/people/jin.shin/blog/2006/02/07/multi-mapping-without-bpm--yes-it146s-possible Split without BPM</a>
    I am able to receive message in XI but after that it shows error in Integration engine.
    Error Category : MAPPING
    Error Code : GENERIC
    I am able to see the message in SXMB_MONI with error
    <SAP:Category>XIServer</SAP:Category>
      <SAP:Code area="MAPPING">GENERIC</SAP:Code>
      <SAP:P1>No messages created from split mapping</SAP:P1>
    Please advice.
    Thanks,
    Sri.

    Hi Venkat,
    I am not able to see sub-groupid in sxmb_moni.
    Please see below the contents from sxmb_moni trace.
    ============================
      <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Request Message Mapping
      -->
    - <SAP:Trace xmlns:SAP="http://sap.com/xi/XI/Message/30">
      <Trace level="1" type="T">Party normalization: sender</Trace>
      <Trace level="1" type="T">Sender scheme external = XIParty</Trace>
      <Trace level="1" type="T">Sender agency external = http://sap.com/xi/XI</Trace>
      <Trace level="1" type="T">Sender party external =</Trace>
      <Trace level="1" type="T">Sender party normalized =</Trace>
      <Trace level="1" type="T">Party normalization: receiver</Trace>
      <Trace level="1" type="T">Receiver scheme external =</Trace>
      <Trace level="1" type="T">Receiver agency external =</Trace>
      <Trace level="1" type="T">Receiver party external =</Trace>
      <Trace level="1" type="T">Receiver party normalized =</Trace>
      <Trace level="1" type="B" name="CL_XMS_HTTP_HANDLER-HANDLE_REQUEST" />
    - <!--  ************************************
      -->
      <Trace level="1" type="T">XMB was called with URL /sap/xi/engine?type=entry</Trace>
      <Trace level="1" type="T">COMMIT is done by XMB !</Trace>
      <Trace level="1" type="B" name="CL_XMS_MAIN-ENTER_XMS" />
    - <!--  ************************************
      -->
      <Trace level="1" type="B" name="CL_XMS_MAIN-SET_START_PIPELINE" />
    - <!--  ************************************
      -->
      <Trace level="1" type="B" name="SXMBCONF-SXMB_GET_XMB_USE" />
      <Trace level="1" type="B" name="CL_XMS_TROUBLESHOOT-ENTER_PLSRV" />
      <Trace level="1" type="T">****************************************************</Trace>
      <Trace level="1" type="T">* *</Trace>
      <Trace level="1" type="T">* *</Trace>
      <Trace level="1" type="T">XMB entry processing</Trace>
      <Trace level="1" type="T">system-ID = QN7</Trace>
      <Trace level="1" type="T">client = 100</Trace>
      <Trace level="1" type="T">language = E</Trace>
      <Trace level="1" type="T">user = XIAFUSER</Trace>
      <Trace level="1" type="Timestamp">2006-04-18T05:51:20Z CET</Trace>
      <Trace level="1" type="T">* *</Trace>
      <Trace level="1" type="T">* *</Trace>
      <Trace level="1" type="T">****************************************************</Trace>
      <Trace level="1" type="B" name="CL_XMS_MAIN-CALL_UC_EXECUTE" />
    - <!--  ************************************
      -->
      <Trace level="1" type="T">Message-GUID = 67F58830CE9E11DA91CD00111120E6DB</Trace>
      <Trace level="1" type="T">PLNAME = CENTRAL</Trace>
      <Trace level="1" type="T">QOS = EO</Trace>
      <Trace level="1" type="B" name="CL_XMS_MAIN-CALL_PIPELINE_ASYNC" />
    - <!--  ************************************
      -->
      <Trace level="1" type="T">Get definition of external pipeline = CENTRAL</Trace>
      <Trace level="1" type="B" name="CL_XMS_MAIN-LOOKUP_INTERNAL_PL_ID" />
      <Trace level="1" type="T">Get definition of internal pipeline = SAP_CENTRAL</Trace>
      <Trace level="1" type="T">Queue name : XBTI0002</Trace>
      <Trace level="1" type="T">Generated prefixed queue name = XBTI0002</Trace>
      <Trace level="1" type="T">Schedule message in qRFC environment</Trace>
      <Trace level="1" type="T">Setup qRFC Scheduler OK!</Trace>
      <Trace level="1" type="T">----
    </Trace>
      <Trace level="1" type="T">Going to persist message</Trace>
      <Trace level="1" type="T">NOTE: The following trace entries are always lacking</Trace>
      <Trace level="1" type="T">- Exit WRITE_MESSAGE_TO_PERSIST</Trace>
      <Trace level="1" type="T">- Exit CALL_PIPELINE_ASYNC</Trace>
      <Trace level="1" type="T">Async barrier reached. Bye-bye !</Trace>
      <Trace level="1" type="T">----
    </Trace>
      <Trace level="1" type="B" name="CL_XMS_MAIN-WRITE_MESSAGE_TO_PERSIST" />
    - <!--  ************************************
      -->
      <Trace level="1" type="B" name="CL_XMS_MAIN-PERSIST_READ_MESSAGE" />
      <Trace level="1" type="T">Note: the following trace entry is written delayed (after read from persist)</Trace>
      <Trace level="1" type="B" name="SXMS_ASYNC_EXEC" />
    - <!--  ************************************
      -->
      <Trace level="1" type="T">----
    </Trace>
      <Trace level="1" type="T">Starting async processing with pipeline CENTRAL</Trace>
      <Trace level="1" type="T">system-ID = QN7</Trace>
      <Trace level="1" type="T">client = 100</Trace>
      <Trace level="1" type="T">language = E</Trace>
      <Trace level="1" type="T">user = XIAFUSER</Trace>
      <Trace level="1" type="Timestamp">2006-04-18T05:51:20Z CET</Trace>
      <Trace level="1" type="T">----
    </Trace>
      <Trace level="1" type="B" name="CL_XMS_MAIN-CALL_PIPELINE_SYNC" />
    - <!--  ************************************
      -->
      <Trace level="1" type="T">Get definition of external pipeline CENTRAL</Trace>
      <Trace level="1" type="B" name="CL_XMS_MAIN-LOOKUP_INTERNAL_PL_ID" />
      <Trace level="1" type="T">Corresponding internal pipeline SAP_CENTRAL</Trace>
    - <Trace level="1" type="B" name="PLSRV_RECEIVER_DETERMINATION">
    - <Trace level="1" type="B" name="CL_XMS_MAIN-CALL_PLSRV">
    - <Trace level="1" type="B" name="CL_XMS_MAIN-CALL_PLSRV_LOCAL">
    - <Trace level="1" type="B" name="CL_RD_PLSRV-ENTER_PLSRV">
      <Trace level="1" type="T">R E C E I V E R - D E T E R M I N A T I O N</Trace>
      <Trace level="1" type="T">Cache Content is up to date</Trace>
      </Trace>
      </Trace>
      </Trace>
      </Trace>
      <Trace level="1" type="B" name="CL_XMS_MAIN-WRITE_MESSAGE_LOG_TO_PERSIST" />
    - <Trace level="1" type="B" name="PLSRV_INTERFACE_DETERMINATION">
    - <Trace level="1" type="B" name="CL_XMS_MAIN-CALL_PLSRV">
    - <Trace level="1" type="B" name="CL_XMS_MAIN-CALL_PLSRV_LOCAL">
    - <Trace level="1" type="B" name="CL_ID_PLSRV-ENTER_PLSRV">
      <Trace level="1" type="T">I N T E R F A C E - D E T E R M I N A T I O N</Trace>
      <Trace level="1" type="T">Cache Content is up to date</Trace>
      </Trace>
      </Trace>
      </Trace>
      </Trace>
      <Trace level="1" type="B" name="CL_XMS_MAIN-WRITE_MESSAGE_LOG_TO_PERSIST" />
      <Trace level="1" type="B" name="PLSRV_RECEIVER_MESSAGE_SPLIT" />
    - <!--  ************************************
      -->
    - <Trace level="1" type="B" name="CL_XMS_MAIN-CALL_PLSRV">
      <Trace level="1" type="B" name="CL_XMS_MAIN-CALL_PLSRV_LOCAL" />
    - <!--  ************************************
      -->
      <Trace level="1" type="B" name="CL_XMS_PLSRV_RECEIVER_SPLIT-ENTER_PLSRV" />
    - <!--  ************************************
      -->
      <Trace level="1" type="T">number of receivers: 1</Trace>
      <Trace level="1" type="T">Single-receiver split case</Trace>
      <Trace level="1" type="T">Post-split internal queue name = XBTO6___0000</Trace>
      <Trace level="1" type="T">----
    </Trace>
      <Trace level="1" type="T">Persisting single message for post-split handling</Trace>
      <Trace level="1" type="T" />
      <Trace level="1" type="T">Going to persist message + call qRFC now...</Trace>
      <Trace level="1" type="T">NOTE: The following trace entries are always lacking</Trace>
      <Trace level="1" type="T">- Exit WRITE_MESSAGE_TO_PERSIST</Trace>
      <Trace level="1" type="T">Async barrier reached. Bye-bye !</Trace>
      <Trace level="1" type="T">----
    </Trace>
      <Trace level="1" type="B" name="CL_XMS_MAIN-WRITE_MESSAGE_TO_PERSIST" />
    - <!--  ************************************
      -->
      <Trace level="1" type="B" name="CL_XMS_MAIN-PERSIST_READ_MESSAGE" />
      <Trace level="1" type="T">Note: the following trace entry is written delayed (after read from persist)</Trace>
      <Trace level="1" type="B" name="SXMS_ASYNC_EXEC" />
    - <!--  ************************************
      -->
      <Trace level="1" type="T">----
    </Trace>
      <Trace level="1" type="T">Starting async processing with pipeline CENTRAL</Trace>
      <Trace level="1" type="T">system-ID = QN7</Trace>
      <Trace level="1" type="T">client = 100</Trace>
      <Trace level="1" type="T">language = E</Trace>
      <Trace level="1" type="T">user = XIAFUSER</Trace>
      <Trace level="1" type="Timestamp">2006-04-18T05:51:20Z CET</Trace>
      <Trace level="1" type="T">----
    </Trace>
      <Trace level="1" type="B" name="CL_XMS_MAIN-CALL_PIPELINE_SYNC" />
    - <!--  ************************************
      -->
      <Trace level="1" type="T">Get definition of external pipeline CENTRAL</Trace>
      <Trace level="1" type="B" name="CL_XMS_MAIN-LOOKUP_INTERNAL_PL_ID" />
      <Trace level="1" type="T">Corresponding internal pipeline SAP_CENTRAL</Trace>
      <Trace level="1" type="T">Start with pipeline element PLEL= 5EC3C53B4BB7B62DE10000000A1148F5</Trace>
      <Trace level="1" type="B" name="PLSRV_MAPPING_REQUEST" />
    - <!--  ************************************
      -->
      <Trace level="1" type="B" name="CL_XMS_MAIN-CALL_PLSRV" />
    - <!--  ************************************
      -->
      <Trace level="1" type="B" name="CL_XMS_MAIN-CALL_PLSRV_LOCAL" />
    - <!--  ************************************
      -->
      <Trace level="1" type="B" name="CL_MAPPING_XMS_PLSRV3-ENTER_PLSRV" />
    - <!--  ************************************
      -->
      <Trace level="1" type="T">Mapping-Object-Id:29EB87F0231C357A8336DDEBD574EEAB</Trace>
      <Trace level="1" type="T">Mapping-SWCV:0CF1E1E0C5FC11DABCB9E4A50A07012B</Trace>
      <Trace level="1" type="T">Mapping-Step:1</Trace>
      <Trace level="1" type="T">Mapping-Type:JAVA</Trace>
      <Trace level="1" type="T">Mapping-Program:com/sap/xi/tf/_MM_filesplit_without_bpm_</Trace>
      <Trace level="1" type="E">CL_XMS_PLSRV_MAPPING~ENTER_PLSRV</Trace>
      </Trace>
      <Trace level="1" type="B" name="CL_XMS_MAIN-WRITE_MESSAGE_LOG_TO_PERSIST" />
      <Trace level="1" type="System_Error">Error exception return from pipeline processing!</Trace>
      <Trace level="1" type="B" name="CL_XMS_MAIN-WRITE_MESSAGE_TO_PERSIST" />
    - <!--  ************************************
      -->
      </SAP:Trace>
    Thanks,
    Sri.

  • IDOC_TO_FILE ALEAUDIT message SPLIT

    Hi, 
    1.   I am sending an IDOC from R3 to XI.
    2.   In XI IDOC splits in to 2 messages
    3.   XI sends the 2 messages to 2 File systems(FTP).
    4.   NO BPM,  tried on SP19 / SP20,
    5.    Expected 2 ALEAUDIT messages back to R/3
    Problem:
        ALEAUDIT messages are not reaching the R/3.
    Additional Info:
      1. I dont have any problem in receiving ALEAUDIT message in IDOC_XI_FILE scenario with out message split, means one receiver. Problem is with message split and 2 receivers.
    Thanks in advance.
    Moni

    Hi Moni,
    Please check following points -
    1. Do you get any error in SXMB_MONI transaction in XI? Whats happening to the response messages there? Are you able to see any entry in SXMB_MONI for that?
    2. Also ALEAUDIT idoc only allows few statuses not all. It will be worth checking which status is being passed back to R3. (This will not be relevent in you case as the scenario works without message split...)
    3. Check if you have set up partner profiles correctly and corresponding parter number is set in Idoc specific attributes in adapter channel.
    Hope this helps.
    Rahul.

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

  • Message split 1:2 ?

    Hi Guys,
    I have a proxy - http synchronus scenario. The target structure has 2 different messages like message 1 and message 2 and i need to generate 2 different xml messages for each.
    I cant go for split with out BPM as the HTTP adapter lies on the integration engine and the scenario is synchronus.
    Can i acheive the message split with the help of BPM ? or do i need to go for Java Maping. Can somebody help me with the Java code if this is mandatory or any other work around will be appreciated
    Thanks,
    Srini

    You use java Mapping based on your complexity,otherwise just use graphical mapping.I her by listing you few url which will help you to understand.You can also find more blogs in SDN related to this issue.
    With BPM
    Message Splitting Using the Graphical Mapping Tool
    Illustration of Multi-Mapping and Message Split using BPM in SAP Exchange Infrastructure
    Various multi-mappings and Optimizing their Implementation in Integration Processes (BPM) in XI.
    Thanks
    Prabhakar

  • Message Split -- File to Idoc Scenario  -  ( Without BPM )

    I have multiple records coming to XI in a File and I have to create Multiple Idocs to R/3.
    Due to Complexity of mapping I'm splitting Maaping step into 2 message Mappings.
    A-->B
    B-->C
    In the 2nd Mapping step  I'm doing message Split meaning for each Source record I'm creating multiple Idocs ( To be precise each record on the source becomes 4 idocs in the Target.
    2nd Mapping step is as follows
    Source 1..1
      Sourcerecord 0.. Unbounded
        field1  0..1
        field2  0..1
        filed3  0..1
    Target
    Message 1
        Idoc   1.. Unbounded
          Idoc Structure..
    Message 2
          Idoc   1.. Unbounded
    Message 3
          Idoc   1.. Unbounded
    Message 4
          Idoc   1.. Unbounded
    So based on some criteria each record of Source will be mapped to 4 Messages (  1 each under each Message )
    Is it possible to do this without BPM?. Iam sending all these Idocs to same R/3 System.
    Thanks for any help..RK

    Hi,
    See the blog
    /people/michal.krawczyk2/blog/2005/12/04/xi-idoc-bundling--the-trick-with-the-occurance-change
    <i>Basicly we have 2 ways of handling such scenarios:
    - we can use a block step and send multiple IDOCs from our BPM
    - we can also do a little trick and send multiple IDOCs from the XI without a BPM
    The first approach is a standard XI approach. It involves the use of a BPM
    so the speed of this transfer many not be very good in case you'd like to send
    hundreds or thousands of IDOCs in just one call.
    The second approach uses a little trick that was mentioned several times
    on the XI Froum by a number of XI developers but is still not very clear to the XI newbies.
    It allows us to send multiple IDOCs without the use of a BPM. Most probably this will be your choice
    if you'd like to use such 1:N (IDOCs) scenarios effectively.</i>
    Please see the bwlow threads also..
    IDOC Splitting
    File To IDOC Thru XI
    Multi-Mappings in BPM (XI 3.0)
    Please let me know , your prob..is solcev or not..
    Regards
    Chilla..

  • Message-Split in a Sync Scenario

    Hello Experts.
    As i am quite new to Pi, i have some problems with an integration scenario we are about to implement. As i am not really into the topic, i do'nt even know, if the prefered solution can be implemented in PI or if our current approach is nonsense after all.
    The currently preferred solution would look like this:
    1.) The sender system collects the data and sends one message using a synchronous webservice call
    2.) PI splits the message into n parts (one outgoing message per receiving system), sends the message-parts synchronously to the receiving systems, collects the response messages into one big message and sends this message as the response message for the webservice-call, the sender system made.
    3.) The sender system receives the response message and updates the database.
    The problem is, that i have no clue how to do a message-split in a Sync scenario. I already experimented with a message-split in Async scenarios and everything worked fine, but i have no idea, how to do the trick in a Sync scenario.
    As the incoming message represents a table (only one kind of element; occurence 0...unbounded), i would have to do the following:
    1.) Split the incoming message line by line (or childnode by childenode)
    2.) Collect the lines for the single receiver systems (each receiver should get only one message)
    3.) Send the messages
    4.) receive the results
    5.) Join the results into one response message / Handle timeouts, if a receiver could not be reached in time
    6.) Send the response message to the sender system
    When experimenting with the async scenario, i used BPM to split the message into parts, but an integration process seems to need asynchronous abstract interfaces. At least PI did not accept my synchronous message-Interface and even if it would do so, i would have no idea how to send the message parts synchronously and how to join the results.
    Of course we could also send one record per message - in this case everything would be easy and clear, but unfortunatelly this is not the preferred solution, but the "Plan B"...
    Does anybody know how to do what we want? Any suggestions would be highly appreciated.
    And by the way: We are using PI 7.0.
    Regards, Jörg

    Thanks for your reply.
    I was already afraid, that the preferred approach could be a dead end. If the described scenario is impossible to implement, i could immagine two alternative solutions:
    1.) Our "Plan B":
    -> Single records
    -> One record per message
    -> Synchronous communication
    PI would only have to do a quite stupid routing based on a certain field in the message.
    2.) Something totally different:
    -> Asynchronous communication
    -> The sender still send the data for n receivers in one message
    -> PI splits the message and sends the n parts to n receivers
    -> The receiver sends a response after processing the data
    -> PI simply forwards this message to the sender
    I think scenario #2 could have a better performance, as the total number of messages is limited to the necessary minimum, but as i'm not experienced in PI, i'm not actually sure about this.
    Any recommendations?
    regards, Jörg

  • Message split using BPM.

    Hi SDNers,
         My Scenario - Multiple IDocs to 3 output messages. Mesg1 1:1, Msg2 0:1, Msg3 0:1
         We are using BPM to acheive this.
               I am doing message split using BPM. But I have a problem when I am using BPM.
         My requirement is to collect the Idocs for 1 minute, this I acheived by using deadline branch and collecting idocs using container. After that I used Transformation step to run interface mapping by which message is splitting into three messages. Upto this I acheived successfully, then after I got strucked to split the message.
         I am using fork step and and giving three branches, in each branch I am giving receive step and collecting the transformed message. My problem is the message in the first branch is mandatory to come, where as the messages in the remaining two branches are not mandatory. That is my message can split into three messages or just one.
         If I use fork step, without getting the message in all the three branches, the messages in the branches will not come out. Which is not satisfying my requirement.
         I am thinking that before receive step in fork, can I use wait step for 1 minute or can anybody explain what is the functionality of necessary branches.
         Thanks in Advance.
    Regards,
    Jayaram.G

    Jayaram.G,
    To send the messages in your fork, you need a send step instead of a receive step.
    I think you also need to insert a switch in al of the fork's branches, so that the messages will ony be sent when the transformation produced the message. (use the expression [message] EX in the switch).
    Kind regards,
    Koen

  • Message split via BPM Status stays TBDL

    Hi to all,
    I have a Scenario with a BPM.
    In the IntegrationProcess (IP_Split), is a mapping with message splitting.
    The result von the Mapping are serveral Proxymessages and a var count, that counts the new Messages.
    After, i have a loop over the messages an with the receiverdetermination i send the new messages to the SAP-System.
    the Scenario works fine. in SXI_MONITOR it looks great.
    There is only one Problem:
    When i go to the Integration Engine in the Message Monitoring (Runtime Workbench) there is a strange Message.
    There is a Message with SenderService and ReceiverService IP_Split. The Status is still TBDL.
    Can anybody help me?
    Thanks
    Chris

    Hi,
    Few months ago we had also problems with "locked user" in XI, in our case XIAPPLUSER was sometimes (b)locked.
    Perhaps note:
    721548 Changing the passwords of the XI 3.0 service users
    will help you.
    We removed and entered the service users again, with the password in CAPITALS and language blank.
    After that our problem was solved, I hope yours too.
    Regards
    Jack

  • Problem with Mulit Mapping/Message Split

    Hi,
    I am a newbie to XI trying to set up a file2file scenario with multi-mapping/message splitting without BPM.
    System is XI 3.0 SP14
    Scenario is:
    read an XML-File and multiply it and write 2 XML-files using the File adaptor.
    For reference I used "multimapping without BPM".
    - setting occurancy of Message types to unbounded in both Message Mapping and Interface Mapping.
    - using the RB_Split button
    - setting up one business service containing 2 message interfaces and 2 communication channels for output.
    Designing and Konfiguring worked fine.
    File is read but no file is written.
    XML-Moni tells me "Mapping did not create Messages" 
    I did extensive studies in sap.help, forum and various blogs. Also to verify Messagetypes and Kommunication channels I set up similar file2file scenario without splitting. Nothing really helped.
    Any clues?

    Hi again,
    very efficient method to test XML-source file. - Thanks.
    Unfortunately it did not solve my problem.
    Again: "Split mapping did not create messages"
    Below you can find a part of the trace created when processing this message:
    <Trace level="3" type="T">Multi mapping required.</Trace>
      <Trace level="3" type="T">Creating Java mapping com/sap/xi/tf/_MM_data_duplic_async_.</Trace>
      <Trace level="3" type="T">Load ac6179b0-a92e-11da-be15-e51f0a000472, http://MyTutorial/SHeinz05, -1, com/sap/xi/tf/_MM_data_duplic_async_.class.</Trace>
      <Trace level="3" type="T">Search com/sap/xi/tf/_MM_data_duplic_async_.class (http://MyTutorial/SHeinz05, -1) in swcv ac6179b0-a92e-11da-be15-e51f0a000472.</Trace>
      <Trace level="3" type="T">Loaded class com.sap.xi.tf._MM_data_duplic_async_</Trace>
      <Trace level="2" type="T">Call method execute of the application Java mapping com.sap.xi.tf._MM_data_duplic_async_</Trace>
      <Trace level="2" type="T">Java mapping com/sap/xi/tf/_MM_data_duplic_async_ completed. (executeStep() of com.sap.xi.tf._MM_data_duplic_async_</Trace>
      <Trace level="3" type="T">Nachrichtentyp 1 Anzahl der Nachrichten 0</Trace>
      <Trace level="3" type="T">Nachrichtentyp 2 Anzahl der Nachrichten 0</Trace>
      <Trace level="1" type="E">CL_XMS_PLSRV_MAPPING~ENTER_PLSRV</Trace>
      </Trace>
    - <Trace level="1" type="B" name="CL_XMS_MAIN-WRITE_MESSAGE_LOG_TO_PERSIST">
      <Trace level="3" type="T">Persisting message after plsrv call</Trace>
      <Trace level="3" type="T">Message-Version = 005</Trace>
      <Trace level="3" type="T">Message version 005</Trace>
      <Trace level="3" type="T">Pipeline CENTRAL</Trace>
      </Trace>
      <Trace level="3" type="System_Error">Error exception return from pipeline processing!</Trace>
      <Trace level="1" type="B" name="CL_XMS_MAIN-WRITE_MESSAGE_TO_PERSIST" />
    - <!--  ************************************
      -->
      <Trace level="3" type="T">Persisting message Status = 014</Trace>
      <Trace level="3" type="T">Message version 006</Trace>
      <Trace level="3" type="T">Pipeline CENTRAL</Trace>
      </SAP:Trace>
    Test of MM and IM is always successful.
    Any clues?

Maybe you are looking for