BPM Multinline Message

Hi,
i have developed Multi-Mappings Externally via XSLT my XSLT creats a structure like:
<?xml version="1.0" encoding="utf-8"?>
<Messages>
     <Message1>
                        <Envelope>data1</Envelope>
                        <Envelope>data2</Envelope>
                        <Envelope>data3</Envelope>
     </Message1>
</Messages>
in my BPM Container i have 2 Abstract messages (variables) one mulitline one single for the Envelope Structure.
In my szenario i am using a Transformation Task to generate the multi message and after this i using a container operation to assign the message to the Mulitline Container element.
Now i want to send these messeage seperatatly. My Problem is that the multiline Container element instead of  3 messages allways contains only 1 message. 
Can somebody tell me how i can assign all Messages to the multiline container element?

It is pretty simple
In the transformationtask as the target message  u have tu use the multiline container element.

Similar Messages

  • BPM sending messages to wrong inbound interfaces in PI and target system

    Hi All,
    i am doing File to proxy scenarion using bpm.i am receiving three files,two files splitting on based condition(location code) in receiver determination and sending to bpm(here one bpm receiving 3 files then it merges 3 files into one proact and some promo messages based promos in source file ,same in the second bpm with 2 files with different mapping,here target system is SAP APO SNC).i am doing testing now mapping and every thing is working fine.but first bpm sending messages(proact and promo messages) target sytem side (proact_in and promo_in)inbound inrefaces.if i am executing scenario both bpm sending (proact and promo) messaegs in target system its showing wrong bpm name.in target system also we can check messgaes sxmb_moni.
    ex:if first bpm A sending 1 proact and 2 promos,and second bpm B sending 1 proact and 2 promos to target system,but  in target syetm its showing sender component as 1st bpm A for 3 promo messages(here B bpm messages sending with A bpm viceversa i did the configuration correctly) and for 1 its showing second bpm. please give me suggetions how to resolve this issue.
    Thanks,
    seshagiri.

    Is the connection to SNC via idocs or proxies. If it's via idocs can you check the control record and see if the issue is not there ?

  • BPM Collect Message dependent AND time dependent

    Hi
    I have a IDOC to file scenario where I have to collect all the IDOC until I receive a stop IDOC.
    Once the End collect IDOC is received I have to do a n:1 transformation and write the file to the FTP.
    The problem is, at times the IDOC which is suppose to end the collect loop gets stuck in ECC R3 system.
    So Im wondering If I can do something like say, we have two options inside BPM both time dependent and message dependent.
    In this case which ever comes first (the Stop/END IDOC or the Time say 3 mins) will end the collect process.
    Can anyone pls suggest will it work and if so what are the additional steps I have to introduce in the BPM.
    Pls advice.
    Right Now these are the steps in the BPM Collect Message dependent.
    1. Block (I have used correlation)
    2. Fork inside the block
    3. Fork branch one has a look with end condition as 1=1; then a receive step and a container operation inside the loop.
    4. Fork branch two receives the end collect idoc.
    5. Transform step outside the block.
    6. Send step.
    Thanks
    Prasanna

    Hi Abhishek/ Raj
    Thanks!!
    I have done the changes let me confirm after testing it once. In the mean time I have one more question regarding the same BPM, as I have mentioned in the first post, the BPM contains the 6 steps mentioned but the the 6th step is inside another block (Block2).
    The steps 1 to 4 are inside Block1.
    The step 5 ie the transformation step (n:1) is in between the Blocks ie not inside any block (hope im not confusing).
    The second block is for sending the file to the FTP and based on the acknowledgement (transport level) I have to send an email.
    So Block2 already contains a deadline branch, it is to wait for the positive acknowledgement for say 3 mins and send the error email if incase we dont get positive ack within the time limit.
    My doubt is,
    1. Is it the only way (having two block and two wait steps) to achieve this.
        (one block for collecting and one block for ack)
    2. Is there any way I can have a single Block in the BPM insted of two. If so what are the steps.
        Having single block, Will improve anything??
    Thanks
    Prasanna

  • CPU time of BPM or message mapping?

    Hi all,
    is there a way to find out how much CPU time is spent by a certain BPM instance (or message mapping instance)?
    It would be sufficient to get that value per BPM type / message mapping type.
    So far, I've found the following sources, which all won't work, unfortunately:
    - table SWWWIHEAD: No CPU time information (as far as I see)
    - transaction STAD: I don't see a way to connect an entry to the resp. BPM. There is a Transaction-ID, but I can't find it in the BPM...
    - transaction ST03N: Only aggregated values for user WF_BATCH, not detailed statistics
    - several places, which only show clock time, but not CPU time
    Thanks in advance!
    Kind regards,
    Dennis

    Hi Michal,
    Thanks a lot for your info.
    Too bad that there is no other possibility yet.
    I'm not completely sure whether the result is worth the effort, though, as there will probably be a lot of different BPM types on this system, so benchmarking each is quite some work (and requires an otherwise idle test system during this time).
    In addition, it could be difficult to generate test data that will most likely represent the expected data during production use. Especially for BPMs with many conditional tasks (branches, loops, ...), this can be a mess...
    But I will propose it anyway. If it gets accepted, I'll post the gained experience with this approach here. Maybe it works better than my pessimistic expection.
    Hopefully, SAP will integrate this functionality somewhen. I guess I set up some customer feedback.
    Kind regards,
    Dennis

  • Accessing container variable of BPM in Message Mapping function

    Hi,
    I have a scenario in BPM where i have a container variable that is used as a loop counter.I want to access that counter defined , every time when i go around the loop and perform certain actions based on that counter. so how can i access that variable in my message Mapping function.

    Hi Sudharshan,
    check these links, hope they give you the required information (i think there is some problem with SDN site, check these links after a while)
    Re: How to use Container Variable across Maps
    Container object in Message Mapping
    Copy value of container (abstract interface) to an other container
    Regards
    Vishnu

  • BPM collect message

    Hi All,
    I am doing a scenario for collecting messages using BPM, the objective was i need to collect the input messages and to be stored, when the message reaches 10, then it should deliver all these 10 messages to the target.
    for this, i have designed bpm with the
    1. Receiver Step
    2. Container Operation
    3. Transformation and Send.
    but i am getting the following error while activating
    Exptession must not return an multiline value
    Expression must return the interface type MI_OUT_A
    Expression must return the interface type MI_IN_A
    Container element var1 in step Receive1 is initialized but is not used.
    Here var1 is the abstract interface
    the datatype& message type  was DT_A and MT_A and the interfaces are MI_OUT_A and MI_IN_A.
    could anyone clarify regarding this issue..
    regards,
    Sai

    Hi,
    Check some links on BPM.
    /people/krishna.moorthyp/blog/2005/06/09/walkthrough-with-bpm
    /people/shabarish.vijayakumar/blog/2005/08/03/xpath-to-show-the-path-multiple-receivers
    /people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit
    /people/sravya.talanki2/blog/2005/08/24/do-you-like-to-understand-147correlation148-in-xi
    /people/michal.krawczyk2/blog/2005/09/04/xi-do-you-realy-enjoy-clicking-and-waiting-while-tracing-bpm-steps
    /people/sudharshan.aravamudan/blog/2005/12/01/illustration-of-multi-mapping-and-message-split-using-bpm-in-sap-exchange-infrastructure
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/media/uuid/daea5871-0701-0010-12aa-c3a0c6d54e02
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/media/uuid/e8515171-0701-0010-be98-e37bec4706cc
    Regards,
    Phani
    Reward points if Helpful

  • BPM Error: Message has error status on outbd. side

    Hi,
    BPM overview:
    Receive Step -> Transformation Step (1) -> Send Step ASYNC (1) -> Send Step SYNC (1) -> Transformation Step (2) -> Container Operarion Step (1) -> ...
    Error Message in SXMB_MONI: Message has error status on outbd. side
    - <Trace level="1" type="B" name="CL_XMS_PLSRV_CALL_BPE-ENTER_PLSRV">
    <Trace level="1" type="T">--start sender interface action determination</Trace>
    <Trace level="1" type="T">select interface MI_BPM_TRAN_EMP_DETAILS_FILE_OUT_ASYNC*</Trace>
    <Trace level="1" type="T">select interface namespace urn:tranbpm</Trace>
    <Trace level="1" type="T">no interface found</Trace>
    <Trace level="1" type="T">--start receiver interface action determination</Trace>
    <Trace level="1" type="T">Loop 0000000001</Trace>
    <Trace level="1" type="T">select interface AI_BPM_TRAN_EMP_DETAILS_FILE_ASYNC*</Trace>
    <Trace level="1" type="T">select interface namespace urn:tranbpm</Trace>
    <Trace level="1" type="T">no interface found</Trace>
    <Trace level="1" type="T">--no sender or receiver interface definition found</Trace>
    <Trace level="1" type="T">Hence set action to DEL</Trace>
    </Trace>
    I am don't any Interface name MI_BPM_TRAN_EMP_DETAILS_FILE_OUT_ASYNC* in my scenario, the actual interface name is MI_BPM_TRAN_EMP_DETAILS_FILE_OUT_ASYNC does BPM adds a '*' at the end of the interface name.
    In the workflow log it shows that "Transformation Step (2)" has error. I am using multimapping in the transformation step.
    Any help would be greatly appreciated as I ran out ideas to fix this issue.
    Thanks in advance.
    Sarvesh

    The issue was with the step "Transformation Step (2)" and I fixed it in the mapping. 
    When using two send steps "Send step (1)" & "Send step(2)", BPM is executing the second send "Send step(2)" before it completes the first send step "Send step(1)".  The first "Send step(1)" inserts the data into the database table and the second "Send step(2)" retrieves the data inserted in the first send step. 
    If I insert a "Wait step" between the 2 send steps it working.  Can anyone explain how the send step in BPM works. 
    I did post the same question in "Exchange" forum also so that it can be view by more people.
    Thanks,
    Sarvesh

  • BPM Scenario: Message has error status on outbound side

    Hi All,
            I am doing one BPM scenario. In my scenario i am collecting 12 different type of idocs in BPM and bundling these idocs and sending these to the 12 different files.
            If i send 12 idocs from the R/3 then my scenario is working perfectly fine. If i send less than the 12 idocs that time i am getting the error message as "Message has error status on outbound side" with red flag.
               Can you please explain what minght be the problem. I have already checked in SM58,SMQ1 and SMQ2.
    Thanks & Regards,
    Purushotham

    Hi Nutan,
            I hv configured my scenario as follows
    1. Start
    2. Block ( Deadline and Control step for cancell the process)
       3. Fork(Necessary branches 12)
          4. Loop(12 loops)
              Under loop
              a. Receive Step
              b. Container Operation( For count)
              c. Container Operation(For append)
    5. Fork( Necessary branches 12)
        6. Transformation
        7. Send
    8 Stop
    This is my scenario. In the first Fork step i am checking end condition as total  number of idocs is reached then i am sending all the data to the target system. If the idocs are not reaching with in 1 hour then i am cancelling the process.
            Now can you please tell me what is the problem.
    Thanks & Regards,
    Purushotham

  • BPM error : Message pipeline PE_ADAPTER unknown XML message not found. Help

    Hello All,
    I have done 3 steps in BPM
    RFC --- BPM --- RFC
    RECEIVE step ==> Opens SYNCH ASYNCH bridge and receives RFC request message
    SEND synchronous ==> to send RFC request and get the RFC response.
    SEND ==> Closes SYNCH ASYNCH bridge and Send's response back to the RFC.
    In my last send step (response back) I am getting message
    "Message pipeline PE_ADAPTER unknown XML message not found" .
    Pls help

    Hi Rick,
    check out this SAP Note: 1087532
    Regards
    Dominic

  • BPM: PI Message Monitor

    Hi guys,
    Have anyone configured Delta Message Monitor and Total Message Monitor in BPM?
    I have followed document "Interface Monitoring with SAP Solution Manager Release ST 400, STSER
    700_2008_2 and STA/PI 01L.
    In spite of the fact I do have errors in PI trx. SXMB_MONI, BPM appears as everything ok. All the filters are correct and alert configuration was sucessfully generated.
    Any tips?
    Thanks,
    Renato

    Just as feedback: The only way it worked properly was implementing ST-SER 701_2008_2 SAPKITLOQ4.
    In other words, we implemented EhP1 in our Solution Manager,
    Renato

  • BPm collect Message Check

    Hi,
    when i perform a check to standard BPM patterns BpmPatternCollectMessage. I get the following info am i wrong some where do any changes needed to be done.
    Container element stopmessage in step receive terminating message is initialized but not used
    Container element collectmessage in step *receive * message is initialized but not used...
    kindly help

    I did the above scenario as told.
    It is a bpm message dependent scenario. It keeps collecting messages till a particular message is received.
    I more or less used the message dependent pattern given in SAP BASIS.
    The data types are as follows.
    Dt_In
         Name
         OverallID
    Dt_In
         Name
        OverallID
    1 to 1 mapping
    I used the OverallId for correlation. The receive step inside the infinte loop collects the messages with OverallID '1' while the receive step below collects messages with OverallId '2'.
    In the container elements i defined 2 separate message interfaces. One for OverallID '1' and the other for OverallID '2.  The 2 message interfaces have the same Message type. Only values will be different.
    For the parallel fork step i have given end condition OverallID = 2.
    When i execute the scenario the messages are all comingin a queue. The status is wait for event.
    What could be the problem?
    Thanks
    Edited by: pratichi chauhan on Sep 24, 2008 2:46 PM

  • BPM scenario,message struck in queue.

    Hi folks,
    I am doing a Simple file to file BPM scenario(NO TRANSFORMATION)...
    My scenario executed properly,but in moni i receive a green flag, after i looked it in
    LUW -->Display Process, I can see the steps as
    Receive1--initialize-send1-UNDEFINEDWork flow completed.
    I think there is a problem after send.... can u plz tell me what may be the reason.
    Or Am i doing in creating a IP,..... if so can u give me a simple file to file scenario,with detailed steps

    Yes i have checked everything,
    Status code of IP is 0 in sxi_cache-->IP
    and interfaces are assigned properly at right places......
    Still the message gt struck in queue...
    I have a doubt,that why The Unsefined step is coming after send1....
    RECEIVE1>INITIALIZE>SEND1>UNDEFINED-STEP>COMPLETED

  • BPM Fault Message Exception error !

    Hi here is what I am doing
    Sync webservice-->Sync webservice call using ccBPM.
    This is what I defined in the BPM
    1.)Sync rec
    2.)Block with Exception handler.
    3.) Sync send inside the Block with Fault exception defined.
    I defined fault messages for the interface. The Interface works fine when there is no exception but when there is a Fault exception I get the following error in SXMB_MONI_BPE "No exception defined for fault message Faultmessage urn:XXXXX:XXXXXXX ". Exception 8999, Error type 2, Area SWF_XI_ADAPTER Message 81. Variable1 Faultmessage and Variable2 the namespace".
    I rechecked my BPM and could see the Fault Exception defined for the Sync send step and it has an exception defined for it too.
    I checked SXI_CACHE and the return code is 00.
    We are running on PI7 SP13. Did any one face this kind of problem .

    Hi there,
    I have the exact issue in PI 7.1. Have any of you guys could resolve it? Can you please share your responses.
    Thanks.
    Anshul

  • BPM Multiple message not stopped after exception

    Hello All,
    I have scenario:
    DB -> XI -> SAP (IDOC)
    In one message from DB I am sending multiple rows which I am transforming to multiple IDOCs. Everything works fine until one of rows have an error in data. When error occur BPM process stops and is not sending rest of the rows. I would like this scenario to not break after error row and send all messages except error ones.
    I tried to use exception, but it does not work the way I want - it does not sent rest of messages.
    Thank You in advance for your help.
    best regards
    Dawid

    Hi Dawid,
    1. what kind of error do you mean ? mapping error ?
    if it's a mapping error maybe you can catch it inside your mapping
    so that it will not result in an exception and you can just
    remove the incorrect IDOC from the R3 (bd87) and the rest would be
    processed correctly?
    2. <b>why do use use a BPM to map DB to multiple IDOCs?</b>
    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>

  • BPM Acknowledgement message reading the wrong integration server name

    HI
    I have a scenario where I have BPM which sends data to A MS SQL Server database and waits for a TRANSPORT Acknowledgement. The Mesage going to the Database is processed successfully but the acknowledgement messasge fails giving the following error when viewed in the message monitor.
    IS_DETAILS_GET_ERROR
    no_integration_server_found: Unable to find Integration Server is.XX.XXXXXXXX
    Error while reading access data (URL, user, password) of Integration Server is.XX.XXXXXXXX
    Actually the string "is.XX.XXXXXXXX" contains the name of the integration server.
    Now my problem is the actual  value contained in the above string is the name   of the integration server . But this name is not correct ,  I mean it is not what the actual name should be. We are not able to find out from where this incorrect name is being picked up. Can anyone tell from where the actaul name and url  of the integration server is read. Is it stored in different locations for inbound messages and acknowledgement msgs. Will refreshing any of the caches will help.
    Please suggest.
    regards
    Nilesh Taunk.

    Hi Nilesh,
    your problem is very strange because your BPM is sending data correctly to SQL DB .....your db is processed.....but the ack msg when coming in bpm gives IS_DETAILS_GET_ERROR.
    i think just see all the objects in IR and ID are activated.....after that by SXI_CACHE transaction do a cache refresh.........see the return code of BPM is zero or not......the retun code of BPM shuld be zero.......
    again run your this scenario.......now please tell what happens......
    Thanks,
    Rajeev Gupta

Maybe you are looking for

  • Dynamic images in PDF (Adobe interactive form)

    Hi All,         I have stored image in database using BLOB. I retrieve the image using      WDWebResourceType.getWebResourceTypeForFileExtension(extn);//get Type      IWDResource res = WDResourceFactory.createCachedResource(CSVFile, Filename, type1,t

  • PI 7.1 JMS adapter - Inputs required.

    Hello Folks, There is a requirement to put the below message on the JMS queue. EDI_DC40  2000000000001046284700 0312  PEXR2002                                                    PAYEXT                                     PAYEXTSAPSD0    LS  SD0_200  

  • When I updated from aperture 2 to aperture 3 it created second library

    in my photos folder know I have an aperture library file, and an aperture library-original, my question is because the files are big, the aperture library is 27 gigs, and the aperture library original is 17 gigs, it seems to me that the original is a

  • Use of Excel Formulas in EVDRE reports

    Dear Freinds, I am trying to use excel formulas in EVDER (report).                                                   2011.MAR Account(Base level member)  =SUM(RANGE) this at somepaces is working and in some places its  not working. Kindly share the k

  • Background Changing in JPanels

    Hi ! I really need fast help on this //Its my first post BTW. Anyway, i have a window and i want to enable the user to switch its background at will. The default background is "Black". The problem is, after choosing the new background, the window sta