BPM collect messages error

Hi
we are experiencing problems in BPM Collect pattern, error is not clear.
Our payload before input to BPM
<record>
<row>
<key>1</key>
<val1>1</val1>
</row>
<row>
<key>1</key>
<val1>1</val1>
</row>
</record>
this is given to BPM, and BPM is following exact collect pattern in SAP Documentation like
1. Block with restricted by correlation (/record:key1), deadline with 1 minute, used by correlation
2. within Block, unlimited loop, with started recieve step, activated correlation, and append records with container operation
3. multi-mapping transform step, with multiple records to single record and followed by send step.
we are getting error in the blok step, no description of error.
BPM is activated without any errors
Please advise, appreciate all ur help.

Any body got the solution for this . I am having same problem .
My Payload as follows
  <?xml version="1.0" encoding="UTF-8" ?>
- <ns0:BpmPatternCollectMessageToBeCollected xmlns:ns0="http://sap.com/xi/XI/System/Patterns">
  <ID>1</ID>
  <OverallNumber>1</OverallNumber>
  </ns0:BpmPatternCollectMessageToBeCollected>
for BPMPattrenCollectTime BPM and I amhaving error on outbound side in BPE
when I dig into technical details The BPM details as follows
Error during result processing of work item for Reciving Message Step
Regards
Murali

Similar Messages

  • 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

  • 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 Collect Scenario errors at transform stage

    The BPM Collect scenario is using a Fork within a Block.
    Branch 1 - Loop Receive Append Container Endloop
    Branch 2 - Receive step of triggerIdoc
    End of Block
    Transform step - multiline container of XML documents to one XML document
    Send step
    BPM Errors at Transform step with JCo mapping not available.
    Whilst BPM in Error (Workflow in Error) more messages being received but never processed as the RECEIVE event is "lost" for these messages.
    We are looking at redesigning the BPM to reduce the likelihood of this transform error.
    In the meantime was looking at ways to Alert the administrator straight away to the error. As we have a workaround to get the process going and to pick up the stranded messages. So have started setting up the ALERT categories as described in How to Guide, for Adapter and Interface. Will this work?
    Also in the Transform step there is a box (system exception) but I can't enter anything in. Is there a way to do this if the Alert category doesn't report an error in the BPM. OR do I have to add the Transform step into a Block of its own?
    Advice gratefully received if we come up with a working solution will post it out here. Have spent a large amount of time reading posts and blogs on here but have not got a clear picture yet of what is best to do.
    thanks,

    > Whilst BPM in Error (Workflow in Error) more messages
    > being received but never processed as the RECEIVE
    > event is "lost" for these messages.
    This should give you an issue called Parked Messages. The best way to deal with this is to actually define a Local Correlation. In the Block Step properties, you will have an option, Use Correlation --> Give the name of the Correlation . This will make sure that when there is an error, the Correlation become inactiva and a new BPM instance is created.
    > In the meantime was looking at ways to Alert the
    > administrator straight away to the error. As we have
    > a workaround to get the process going and to pick up
    > the stranded messages. So have started setting up the
    > ALERT categories as described in How to Guide, for
    > Adapter and Interface. Will this work?
    Not sure if this will work. The issue is that the messages are passed to the IE already and will be in wait step waiting for an active BPM 's receive step How will another interface pick up this message?
    > Also in the Transform step there is a box (system
    > exception) but I can't enter anything in. Is there a
    > way to do this if the Alert category doesn't report
    > an error in the BPM. OR do I have to add the
    > Transform step into a Block of its own?
    This is what is called exception handler. Defined a Exception handler for the Block. Right Click block, insert Exception Branch, give name of the Hanler and then you can select this in the Transformation Step's System Error. This is like Try - Catch of Java.
    Regards
    Bhavesh

  • 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 collects messages, and should terminate at a given time

    Hi,
    i'm trying to create a scenario where a business process collects messages. At a certain time each day this process must transform this messages into one message and terminate.
    (I used the BpmPatternCollectTime process as a template)
    My problem is:
    how to tell the deadline branch it should rais an exception every day at a given time, lets say 10pm?
    I already tried to configure this branch with "Reference Date/Time=Expression" and set date and time to 2008-10-04 14:30:00. But the process won't stop at this time.
    Any ideas?
    Thanks in advance,
    ms

    Hi,
    I am not sure if you could use this pattern for stopping at a given time?
    Maybe you could configure a report that sends a message every day at the given time to the PI and your process stops with receiving this message.
    Regards
    Patrick

  • Bpm Workspace Message Error

    Hi,
    I'm editing the bpm workspace page and I clicked the add/remove columns change some things and then clicked saved and the next message appear
    se ha producido un error al acceder a la vista 'unified_inbox'
    in english:
    an error was produced trying to access to the view 'unified inbox'
    thanks for the help

    You will find the views here:
    Open the project you are working on.
    Click on the Custom Views. You will see Views, Presentations and Layout activities.
    You can configure the inbox views using these Custom views, but judging by your reply, i feel you might not have implemented the custom views in your project.
    Also check the following in that case:
    Right click on the project and select Engine Preferences
    Select Deployment from the options in the left panel.
    In the default Views generation preferences see if the check box is selected or not.
    If unselected then check it and from the drop down next to it select Unified Inbox.
    in the presentation select default_instances
    Hope this helps.

  • BPM Collect Msg error

    I have exactly duplicated the scenario of CollectMsgPattern. When I try to execute, it starts the prcess by start msg but when it comes to block it throws the exception. I went to XMB_MONI_BPE to see the error and it says "Object FlowItem method execute cannot be executed". And before this there is msg in yellow "Unable to deliver event received" of object "StopMsg". Not sure how did stop msg came in picture if it is not sent. Any one faced this kind of problem? Any hint would be great help!
    Thanks,
    Samir

    As a simple scenario, I tried to just Receive and Send, That worked fine.Which means communication is fine, I tried to enahnce this with following
    Start> Block1>loop1:                   >Trans>Send
                           Loop1:Receive -- Collect
    CorrlelationProperites:
    CorrleatioList:corrleation
    Name:name
    InvlovedMessage:MI_DATA_ABS
    properties:name(Intefrace./p1:MSG_DATA/VendorName)
    Block1 Properties:
    StepName:Block1
    LocalCorelation : None
    Exception :None
    Container:
    msgConsolidated:AbstractInterface:MI_DATA_CONSOLIDATED_ABS
    msgData:AbstractInterface:MI_DATA_ABS
    msgDataCollect:AbstractInterface:MI_DATA_ABS:Multiline-yes
    Loop:
    StepName:Loop1
    Condition:(msgData./p1:MSG_DATA/VendorName = end)
    Receiver:
    StepName:Receiver1
    Message:msgData
    StartProcess:Yes
    userCorrelation:correaltion
    ActicvateCorrelations:correlation
    name:'start'
    ContainerOperation Properties:
    StepName:Container Operation1
    Target:msgDataCollect
    Operation:Append
    Expression:msgData
    Transformation Properties:
    StepName:Transformation1
    InterfaceMapping:IM_DATA_MERGE
    Exception:None
    SourceMessage:msgDataCollect
    TargetMessage:msgConsolidated
    Send Properties:
    StepName:Send1
    Mode:Asynchronous
    Message:msgConsolidated
    Acknowledgment:None
    Receiver From : Send Context
    Send Context:None
    Exception:None
    Activate Correaltion:None
    But when I send the message,it's not even starting the workflow, it comes in queue and in XMB_MONI the OutboundStatus is Red, It says Outbound is PE. So I am assuming it is trying to go into Process but not able to. This is just an extension of scenario where everything was working with one receive and one send.
    As I was writing this, just clicked the condition which I am giving in the loop might be wrong. I think it should be != instead of =.
    Thanks,
    Samir

  • XI3.0 BPM collect message using substring within correlation

    Hi,
    I have a requirement to collect a list of IDOCS using the first three characters of a field as a correlation.  I tried adding the XPATH expression
    substring(/ArticlePriceData/ArticlePrice/Site, 1, 3)
    within the correlation editor but this does not work - all IDOCS get added to a single process.  Has anybody been able to get this to work?  My integration process is based on the SAP example BpmPatternCollectMessage
    Many thanks
    Ian

    Hi,
    I have tried your suggestion and I still do not get the correlation value that I expect - now each message gets a new process ID with a correlation value of blank.
    Thanks for your help
    Ian

  • Bpm Collect message problem

    For the BPM Pattern BPMCollectMessage...
    I'm doin a file to file scenario.. Its fine at the sender side CC shows sucess and also moni but not able find any messages of my target interface any idea wat the problem is .. the recevr cc is active but no logs. .and also from IP to recvievr its not processed i guess no messages seen on moni....

    >
    Robin wrote:
    > For the BPM Pattern BPMCollectMessage...
    > I'm doin a file to file scenario.. Its fine at the sender side CC shows sucess and also moni but not able find any messages of my target interface any idea wat the problem is .. the recevr cc is active but no logs. .and also from IP to recvievr its not processed i guess no messages seen on moni....
    try to check the status using RWB -> Message monitoring ...
    you would be able to see what is causing the issue in the detailed log

  • Xpath in the collect message of BPM

    Hi,
    I created a BPM collect message. My source message has a field which is in the format of XXXX-NN such that XXXX can be any 4 letters and NN is a number 01 - 99. In the loop of the BPM, I made use of an Xpath command in the condition editor for the loop condition. The command is /header/segment1/segment2[(substring(field1,6,2))] for the left hand operand and comparing it as not equal to a counter variable.
    When I look at my graphical workflow log, there is an error in the Transformation step. In SXMB_MONI, I have a red flag with an error of "Message has error status on outbd. side" in the process view of SXMB_MONI.
    If I change the Xpath command to /header/segment1/segment2/field1 and change the value of my field to just use NN without changing anything else, my BPM is working properly. Is there something wrong with the added Xpath command? I followed the blog in /people/shabarish.vijayakumar/blog/2006/06/07/customise-your-xpath-expressions-in-receiver-determination but I wonder if this only works for Receiver Determination. Please help.
    Regards,
    Elbert

    Hi Elbert,
    the expression
    means a condition and requires a
    =
    For example:
    [//person/name[../no='123'] code]
    means: select element person/name where person/no "123" is.
    Because of unclear results regarding the namespace i wouldnt put the full path. Use for example [code]substring(//segment2/field,6,2)
    The substring expression is ok, i m shure.
    <b>substring(X-Path on String value, No of letter in string, length of searched substring)</b>
    If the string is not long enough, it might give you strange errors, he, he. Cant cut 1m of 20 cm salami.
    Regards,
    Udo

  • Collect Messages using BPM

    Hi all,
            Am doing a collect message pattern using BPM. After collecting messages wen mapping is called its throwing exception. CAn you help me out in this. I ll explain.
    the input i give is :
    <Root>
           <Name> asd </name>
           <ID> A </ID>
    </Root>
    i sent thid message 5 times to BPM (using collect pattern).
    the stop message is of the format
    <Stop>
       <ID> A</ID>
    </Stop>
    wen i send this the collect block is exited and the flow comes  to a transformation step which does a n:1 mapping
    ie. in my mapping i add the source message type and changed its occurence to unbounded in messages Similarly in IM also i changed the occurence of source MI to unbounded. wen i test the message mapping with this
    <Root>
           <Name> asd </name>
           <ID> A </ID>
    </Root>
    as input it gives the exception. But if i gve like this ten its showing successful.
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:Messages xmlns:ns0="http://sap.com/xi/XI/SplitAndMerge">
       <ns0:Message1>
    <Root>
           <Name> asd </name>
           <ID> A </ID>
    </Root>
    </ns0:Message1>
    </ns0:Messages>
    But how can wedo that as transforamtion happens in BPM. PLease help me out in this

    Hi,
    Check these links
    /people/stefan.grube/blog/2006/09/18/collecting-idocs-without-using-bpm
    /people/pooja.pandey/blog/2005/07/27/idocs-multiple-types-collection-in-bpm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/76/5d373f5e550456e10000000a114084/frameset.htm
    Regards,
    Kumar

  • XI BPM Collect Meassages Scenario with one Message as an optional

    Hi guys,
    I need help to implement XI BPM Scenario with Collect Messages Pattern. Here is my Scenario. I am getting four different types of flat files from four interfaces. Using these four files I need to merge using correlation relation and finally have to create One IDoc type to send it to SAP R/3.
    But out of these four messages last Message type is an Optional Message. i.e the process has to continue even if forth message is not available by taking first three messages.
    Please let me know which pattern is suitable for this scenario.
    Thanks.
    Siva.

    Hi,
    I hope u are receiving four different interfaces.Have a local container variable of simple type integer.you put a fork with four branches after the start step.Each branch has a receive step corresponding to one interface. Then after each of the receive step in each branch put a container operation performing some action on the container variable may be incrementing.so in the end condition of the fork check the value of the container variable i.e you can check if that variable is 3(three of the interfaces have been got).so this ensures that ur fork doesnot wait for all the four.hope this works.
    Regards,
    Sudharshan

  • Collect Messages with BPM

    Hi everybody,
    I need to know if it is possible to develop a integration process to collect messages without using correlation, until now I only developed that scenarios using correlation, but I have a special case that is not necessary identify a key to make a relation among the messages
    Thanks in advance.
    Ivan
    Edited by: Jose Iván Reyes Arteaga on Dec 3, 2008 10:42 PM

    If you do not need any key field for correlation, then you can go for dummy correlation in BPM.
    In the expression editor (properties column of the Correlation editor), select the "Constant" radio button and give some dummy name.
    For more explanation, refer Siva Maranani's post in the thread:
    /message/426236#426236 [original link is broken]
    Thanks,
    Geetha

  • Collect message till particular point of Time in BPM

    Hi,
    I want to collect messages till particular point in time like till 6 oclock evening.
    In deadline branch i have to use Expression and should give date and time.
    What is the format of date and time if it is not coming in payload.
    What is the difference between: Creating the step and Creating the process property.
    Any help is apreciated.
    Thanks and regards,
    Satish

    The date and time format will be the standard XSD date and time format
    Date:
    YYYY-MM-DD  or YYYY-MM-DDZ
    Time:
    HH:MM:SS or HH:MM:SS.x
    But since your requirement is to collect the messages till 6pm everyday, I guess there is a problem with the mandatory date field.
    Maybe you can use a datatype which holds the current time in a field and use the field as the loop variable.
    - Kannan

Maybe you are looking for

  • How do I find my itunes songs on my computer?

    HI, I recently just deleted my entire itunes library. Most of my music was from cd's and I saved those files in one of my folders, but also I realized that I also had quite a bit of songs I bought from itunes. Does anyone know where on the computer m

  • Transfer Movies from iPod to PC

    Ok, so my PC recently crashed, all my movies and songs going down with it. I had about 2000 songs and about 50 movies. All of the songs and movies are on my iPod right now, but how can i get them back on my PC in case my iPod Classic crashes? Thanks

  • Rounding Rule upto 3 Decimal Places in Tax Condition(SABRIX)

    Hi, We are Using SABRIX for Tax determination and need to round up Condition Type XR1- XR6 to round upto 3 Decimal Places. Do we need to To Change ALT Calc Type- 301306or Alt Cond Base Value -- 16  or have to change Currency  decimal Places in transa

  • Auto select layer by click on it

    i'm sure I could auto-select a layer by clicking on it in previous versions of Photshop.  How do I do this in PS CC14?

  • Issues installing Informatica Client and Server.

    Hello all, I am installing Informatica in a Win Server 2003 with SQL 2005. I am following the instructions on the manual, when I install the Client, at the end I receive a NON FATAL error that says that it can not open the installation package for Vi