Stuck messages at BPM

Hi guys,
I’ve a BPM that is receiving 4 different files, each one is sent by a File Sender interface. These files are all correlated by a common key field and everything runs perfectly until one of them starts sending more than one message instance…  I mean, one of the sender file adapter are limited to 1000 records per message and of course this will generate two messages instances if XI receives a file with 1001 records. So, the problem is: only the first message, a chuck with 1000 records is sent by my BPM the other one stays stopped with a green flag, like scheduled for later process… How can I make it works for all instaces from the same message type?
Should it be a regular behavior, some kind of limitation?
Thanks in advance,
Ricardo.

Hi All,
Thanks for your quick answers.
Raj, the content correlation key field is the same for all these message instances and all arrive my BPM; all belong to the same BPM instance and no new instance is started. The problem is that only one (the first message) is sent from BPM the others stay stuck...
Henrique, I don't have any trailer on these files and without this I'm not sure how to apply your approach.
Any ideas?
Regards,
Ricardo.

Similar Messages

  • MDB and "stuck" messages

    Hi,
    We're developing a MDB listening to a AQ/JMS database persistant queue, on a Oracle JMS provider.That MDB as to be bullet proof (no lost messages), and that's why we're using database persistance.So far everything is working fine, but we have one issue that cause some headackes.
    For what I know, the onMessage() method doesn't acknowledge to the provider until the method completes, without trowing an exception. In that case, the provider rollback so he can try to redeliver the message again. Since we have some important processing done within the onMessage() method, we were worried about what would happen if the MDB crash (java code crash, server crash, sledgehammer hit). I tryed to read that message via a java class I wrote, but I couldn't. (i guess the message is still waiting for the acknowledge)
    So to make it short, I placed a "thread.Sleep" in the middle of the onMessage() method, I deployed it on my application server, put a message in the queue, and I pressed the reset button of my machine. The result was that the message was still in the queue (that's nice since we didn't lost it), but never redelivered, and after some time (like 12h), the message was gone of the database and not delivered. (the message expiration was set to 0)
    So the big question would be: what happen to a JMS message if the MDB crash for any reason and what's the behavior of the JMS provider, and if there's anything we can do to redeliver that "stuck" message?
    I guess the provider keep the status of each message somewhere in the database (something that says to him that the message is in develery, waiting for acknowledge).
    Thanks

    Most likely this is some server configuration issue and not an actual programming problem (because as you say yourself, on another system it works). I can advise only two things.
    - dig through the weblogic documentation
    - take your question to the weblogic forum
    https://forums.oracle.com/forums/category.jspa?categoryID=193

  • Collect messages in BPM

    Hi experts,
    Need to create one scenario to collect payload of XML files, I have done this work in Design and Configuration :
    data types : test_collect
    Message Types : test_collect
    Message Interfaces :  Test_collect_1 (abs asy),  Test_collect_2 (abs asy)
    I need to collect Test_collect_1 and pass it to Test_collect_2
    Message Mapping : Test_collect_1 - Test_collect_1
    Interface Mapping :  Test_colect_1 - Test_collect_2
    Integration Process is created as example in Standard Process in SAP BASIS
    --> http://sap.com/xi/XI/System/Patters --> BpmPatternCollectPayload
    Need to created more mappings or not.
    How I will created proper Configuration Steps,
    mean no. of Sender Agreements, receiver agreements, Receiver Determinations and Interface Determinations etc.
    Regards,
    Study SAP

    hi study sap,
    check the below blogs to have a cleat understanding
    Check these
    BPM:
    Walkthrough with BPM - Walk through BPM
    BPM in XI https://www.sdn.sap.com/irj/sdn/wiki?path=/display/xi/integrationProcess%28ccBPM%29inXI&
    BPM-1 Walkthrough with BPM
    BPM-2 Reconciliation of Messages in BPM
    BPM-3 RFC Scenario using BPM --Starter Kit
    BPM-4 The specified item was not found.
    Schedule BPM Schedule Your BPM
    Use of Synch - Asynch bridge in ccBPM Demonstrating Use of Synchronous-Asynchronous Bridge to Integrate Synchronous and Asynchronous systems using ccBPM in SAP Xi
    Use of Synch - Asynch bridge in ccBPM https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1403 [original link is broken] [original link is broken] [original link is broken]
    without BPM Sync/Async scenarios without BPM
    without BPM1 Sync/Async communication in JMS adapter without BPM (SP19)
    IDOC BPM IDOCs (Multiple Types) Collection in BPM
    multimapping without BPM /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---- Multi Map With out BPM
    Various multi-mappings and Optimizing their Implementation in Integration Processes (BPM) in XI. Various multi-mappings and
    Optimizing their Implementation in Integration Processes (BPM) in XI.
    Illustration of Multi-Mapping and Message Split using BPM in SAP Exchange Infrastructure --- Illustration of Multi-Mapping
    and Message Split using BPM in SAP Exchange Infrastructure
    IDOCs (Multiple Types) Collection in BPM (N:1 Mapping )
    regards
    kummari

  • Stateful messages in BPM(Urgent)

    hi,
    BPM is used for handelling stateful messages.But what is the maximum no. of messages it can handle,without reducing the performance.

    Hi,
    Business Process Management provides SAP Exchange Infrastructure with functions for stateful message processing: The status of an integration process is persisted on the Integration Server. This means that you can specify how long an integration process must wait for further messages to arrive, for example. Furthermore, this enables you to process messages within an integration process further still; for example, you can collect certain messages and then send them in a particular order.
    For Performance fine tunning avaoid having message mapping inside BPM,do it either before the BPM or after BPM
    BPM is used for Stateful communications,suppose u have to delay message processing,or wait for other messages to arrive and then semd them all together,in that case use BPM.
    go thru this: https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/3bf550d4-0201-0010-b2ae-8569d193124e
    Performance is not only depend on the usage of BPM, it also depends on the message volume inside the BPM. So it depends on the memory size, message size i.e payload size , design , mapping used etc
    This basically means SAP XI as a EAI tool without the BPM provides stateless message. this means that one message coming in SAP is not dependtent on another message.
    BPM in SAP XI is used to make messages stateful and this allows us to do functionalities like collecting message , splitting message, waiting for a message etc.

  • Emulate Fault message in BPM

    Hello
    I have read all related topics
    fault message in BPM process
    Alert monitoring and fault message types
    Using Fault Message Type in BPM
    but no answer..
    I have synch BPM that send synch request to RFC and a mapping step. Then I have to catch exception (of send step or mapping) and send fault message in exception handler.
    I haven't a proxy. I want to create fault message manually and send it. Is it possible? I cannot create an interface of fault message type.

    Hi Sergey,
    As far as I know, it's possible to catch the mapping/send exception.
    It's also easy to define an exception branch for this exception, and inside the exception branch, send a "normal" message in a send step.
    However, as far as I know there's no way of specifying a BPM send step that sends a fault message.
    At least in my experience, regular messages are just as useful when sending error information.
    Cheers,
    Ofer

  • Collection of messages in BPM

    Hi Experts,
    Collection of messages in BPM is not working,IP is executing for each Idoc.Actually i have done the sceanrio Idoc to File,Here I am getting multiple IDocs of same type from R3 when run a transaction and i would be generate a single file for all the IDocs.For this i have changed the occurence of Idoc from 1..1 to 1..unbounded and done the mapping betweeen these two. i have done bpm just like as standarad bpm pattern "BpmPatternCollectTime".I mentioned the time as 1 minute.in transformation step i had mentioned interface mapping for 1..1 Idoc to 1..unbounded Idoc and the real mapping conditions of this sceanrio is carried out after the bpm. The Idoc's are generating from R3 with the time diffrence of 3 secs.So it should generating a single file what ever the no.of idocs populating within a minute.
    In monitoring it showning for bpm, its trigerring for each incoming Idoc and procesing successfully.
    For Ex: Two idocs are coming from R3 then BPM triggers twice
    What could be the possible reasons for this or i have done any thing wrong.
    Any ideas.., Thanks in advance
    Cheers
    Tiger Woods.

    HI,
    Try to Use Idoc packaging. also see the below links
    /people/pooja.pandey/blog/2005/07/27/idocs-multiple-types-collection-in-bpm - Collection of IDoc to Single File
    /people/stefan.grube/blog/2006/09/18/collecting-idocs-without-using-bpm - collecting IDocs without BPM
    /people/prateek.shah/blog/2005/06/08/introduction-to-idoc-xi-file-scenario-and-complete-walk-through-for-starters - IDoc to File
    Regards
    Chilla

  • Multiple files, same structure into one message without BPM

    Hi,
    Is it possible to read multiple files (each with single row) as one message without BPM by some configuration in channel?
    For example:
    input files placed simultaneously in input folder:
    file1: a,b,c
    file2: f,g,h
    file3: k,l,m
    after adapter picks files, xml message:
    <Message_type>
        <RecordSet>
            <file>
                 <A>a</A>
                 <B>b</B>
                 <C>c</C>
            </file>
            <file>
                 <A>f</A>
                 <B>g</B>
                 <C>h</C>
            </file>
            <file>
                 <A>k</A>
                 <B>l</B>
                 <C>m</C>
            </file>
         </RecordSet>
    </Message_type>

    Bond,
    Yes Bond. You can read the pattern what you have given.
    First Read the whole line in the file as one record. Now take the substring or write udf in mapping. This entirely depends upon your requirement.
    Regards,
    ---Satish

  • How to split messages without using Message split (BPM)

    In file to file scenario how to split messages coming from file without using Message split (BPM)

    Thank you very much.

  • How to skip stuck message in queue folder.

    Hello,<o:p></o:p>
    I am using SMTP virtual server with office365. I frequently find out some of stuck or delayed messages after some messages have successfully delivered. I don't know why
    these messages are delayed or stuck. But I would just like to skip the stuck message, after these are tried to deliver for 10minutes.
    I have already changed some configurations in delivery tab that is located in properties of SMTP virtual server. I expected that the stuck message is expired, yet all of messages
    are expired in queue folder.
    Please, let me know how to configure that the stuck messages only skip.<o:p></o:p>
    Thank you,
    Park.

    Hi Park,
    Since this forum is for Server Manager issue on Windows Server, to solve the issue about office365, please go to this forum for more effective support:
    http://community.office365.com/en-us/f/default.aspx
    Thanks for your understanding.

  • Order of Message in BPM

    Hi guys, i got a question regarding BPM. Does BPM will retain the sequential order of a message?
    For example I am calling a storedprocedure oracle (via jdbc adapter) synchronously.
    My message will contain 4 rows in sequential order 1 2 3 4. The stored procedure will return a value to XI (BPM) for each row (that is A B C D).
    Does the return from the storedprocedure is also in the order of my message from BPM, that is:
    For row 1, i will get an A for the return.
    For row 2, i will get an B for the return.
    For row 3, i will get an C for the return.
    For row 4, i will get an D for the return.
    Does anyone know about how XI (BPM) handle this?
    I really appreciate any solution and input from you guys. Thank you very much in advance.

    Wishnu
    Are you sending all the rows in one instance ( Single XML file ) or in different 4 XMl files.
    If they are in different XML files than you have to use the Correlation, to assign messages that belong together to the same process instance.
    - Lalit -

  • How to monitor message in BPM?

    Hi all
    I try to find in forums but I did not find. Could you please to guide me how I can to see message content in each step in BPM.
    Thanks and Regards
    Park

    Hi park,
    To monitor messages for BPM... got transaction SXMB_MONI_BPE
    there u can check each step.....
    hey... check the slide....also useful......
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/1db5e190-0201-0010-1c90-d9de570c6b18
    Regards
    Biplab
    <i>Reward with point if useful</i>

  • Message in BPM

    Hello everyone,
    I have two diff  interfaces both are outbound Interfaces to which there is common i/P IDOC ,
    Both the interfaces are using BPM.
    When we trigger an IDOC from background SAP system , Interface 1 completes successfully .
    But The iNterface 2 gets stuck with an error:
    "Message interface is not used by this process" , This message is just before the message is passed to BPE.
    Any hints / ideas will be appreciated.
    Cheers,

    "Message interface is not used by this process" , This message is just before the message is passed to BPE.
    A common type of error in BPM scenarios
    What to do:
    1) Confirm (100%) that the Message Types used by the Sender Interface and the one entering the BPM are the same. If any mapping is involved in the Interface Determination of Sender ---> BPM then confirm that the target message type of the mapping and that of the Input message ofBPM are same.
    2) Make some dummy change in the corresponding Receiver Determination, Interface Determination and the receive Step of BPM; save and activate.
    3) Ensure the BPM is error/ warning free (F7) and cache is updated (return code is 0 in SXI_CACHE)
    REgards,
    Abhishek.

  • Sequential processing of messages with bpm process

    hi,
    i have a bpm process that i want to process my messages sequential. for this i initially have played around with crerating my own queue but that didn t work. then i mocved to use the collect pattern and then process the messages. this works only for around 150 messages and the others are staying stuck in the queue for the bpm process the queue is in status stop. if a drop in another file then the queue get cleared and the new messages are placed in it and it still stays in stop and i need to delete queu and start again. Is there a solutio for this that the queue will collect the messages and when the bpm proces is finished it will start again ?
    i have tried to avoid using the collect pattern and worked with my bpm process to let it use a specific queue  but that also didn t work. i can process 1 message and then the rest stays in the queue? any help would be welcome

    Hey
    is there any reason specific reason for using BPM?
    you can use EOIO to transfer your files sequentially.
    thanx
    ahmad

  • No object type found for the corresponding message in BPM

    Hi All,
    I have a BPM scenario where i pick a file and based on a condition in the Switch i send the meesage to Mail or Proxy.
    When i tested the scenario i got error as "no object type found for the message check the corresponding process activated" error  in the call adapter step.
    I checked in sxi_cache, IP is active with 0 as return code .
    When checked in sxmb_moni_bpe, under  process selection it says "No workitem exists"
    In SXMB_MONI, under inbound i clicked PE but got error as "Unable to perform action fro the selected Message" is displayed.
    Im new to BPM so please tell me as what Im missing exactly.
    Thanks

    Hi Sachi,
    Delete the Integration Process from ID and reimport it. Also check the status of your BPM in T Code SXI_CACHE....if return code is not '0' then re-activate your integration process..
    Try REPEAT ACTIVATION on SXI_CACHE...
    Have a look into this..
    Re: Stuck in BPM Transformation process Async to Sync Scenario
    Regds,
    Pinangshuk.

  • Reg: Message and BPM

    Hi
    I'm having a scenario where i use a JDBC adapter to extract data from a DB. As a result of the query say, 10 rows are returned as message to XI server. I have a transformation (BPM) set and the receiver(target system) is a file. When i open the file to see its contents i can see only the first record been transfered. The mapping part used for the transformation node is having IF condition. But all the fetched records satisfies the conditions in the mapping.
    Pls let me know the corrective step.
    reg: Prabhu

    Hi,
    1)Check the input XML i.e all 10 records are coming into XI . This you can check in SXMB_MONI
    2) Then you can test the mapping in the integration Reposiotry .. So now you can get if any mapping problem. For this , check is the occurence of target strcuture is 1..n or 0.n
    /people/michal.krawczyk2/blog/2005/09/16/xi-how-to-test-your-mapping-in-real-life-scenarios
    3) If mapping is correct , then check the RWB->Message Monitoring->Message Display Tool and check the payload.
    4) If this is correct, then check the File COntent Conversion of the Receiver File Adapter.
    Hope this helps,
    Regards,
    Moorthy

Maybe you are looking for