EOIO & BPE Message Sequencing

Hi,
I'm sure this is an absurdly simple thing I've overlooked but...
Scenario:
I have files being processed through file adapter in EOIO mode.
Messages get thrown into one of two IP's (create and update).
Each IP has 4 exit points, of which one (or all) of the exit points must have messages appear in the same order as the messages that appeared on the original queue (update processing).
Problem:
Files are loaded in alpha-numeric order.... OK!
Messages are in order in QRFC.... OK!
Messages get loaded into many parallel BPE instances.... OK!
BPE instances handle mappings then send messages as soon as a send step is reached, rather than completing the BPM then firing in batches in the same sequence order that they arrived in QRFC... NOT OK!
Any ideas?
I'm thinking correlations perhaps.
Cheers
James.

Hi Michal
No it's used to do error handling and alert raising also.  Changing it so that there's no IP required isnt an option at this time.
If I could change it so that there was only 1 BPE thread running for this business system or SWCV...
UPDATE: Just noticed How to avoid second BPM instance
So much for my searching yesterday.  Seems I'm not the only person   Still, it doesnt help.  Ah well!
Cheers,
James.

Similar Messages

  • How to implement Message Sequencing  other than mediator

    Hi All,
    I am looking for a solution to implement the message sequencing option for the below integration scenario between Order management module and projects module using SOA and AIA 11g.
    1. The source system triggering requests is the Order management module(sometimes projects module) of Ebiz R12.
    2. When an order is booked an event is raised and pushed to WF_Deferred_Q in Ebiz environment.
    3. This messages are pushed to WF_BPEL_Q in SOA environment by the QAgent configured at the Ebiz end.
    4. At SOA end , there is an AqAdapter configured in OSB(as a proxy service) will poll WF_BPEL_Q and pull the messages.
    5. Based on the type of request messages are routed to different requestor ABCS services( AIA framework).
    Scenarios possible are:
    1.     Orders created newly and same are synched to projects module.
    2.     Orders updated and same is updated in the projects module. (order header id is same for multiple update requests on the order )
    Scenario 1: Two update requests for same order
    1.     When an existing order which has got five line items and each line item has got 2 sub line items, is updated at the same time from different locations(let’s say from India and Japan) where in order from India is updating the quantity on one sub line item whose parent line item is (lets say A) and another request from japan is updating the unit sale price in another sub lie item line item whose parent is also line item A.
    2.     Both the update requests which are raised will have the same order header ID and also the request from India is errored out while updating the projects module due to some reason which needs some manual intervention to update the data and resubmit the message.
    3.     Now we want to stop the request from Japan until the request from India is not processed.
    4.     Simultaneously we want to allow the orders which are independent.
    Note: We are not looking to use “wait” option which will have an impact on the performance .
    Please suggest your valuable inputs and expert thoughts in implementing the message sequencing with less impact in this situation.
    Thanks in advance.
    Regards,
    Shailesh

    Can someone post expert views on the below issue?
    Regards,
    Shailehs

  • The message sequence of JMS adapter and BPM

    This is my scenario: AP1 -> MQ -> JMS Adapter -> XI BPM -> SAP
    But if AP1 sends 10 messages to MQ server, how to make sure the received message sequence of SAP is the same as AP1 ?
    Because JMS adapter doesn't have synchronous ability, or I can set best effort to make sure the sequence.

    HI,
    See the below links to solve the BPM performance problems
    BPM Performance tuning
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/70ada5ef-0201-0010-1f8b-c935e444b0ad
    BPM performance question
    SAP XI BPM Performance and statistics
    Performance problem on BPM
    BPM pros and cons
    Performance problems using BPM
    Regards
    Chilla..

  • Error message: Sequence 1-FIN000000b9?

    I keep getting this error message. What is it? And how can I get rid of it?
    Error message: Sequence 1-FIN000000b9?

    Its related to a render file. Its either lost or gone bad.
    Probably best to trash your renders for the sequence and render again. Would that set you back to far?

  • Idoc To JDBC Szenario EOIO overtaking messages

    Hi guys,
    I have an idoc to EOIO scenario, where some messages of different idoc types upsmas & chrmas have to be processed in the same order they are created in
    the SAP ERP Backend.
    To achieve this behaviour I use the the option "rule name" in the partner profile we20 according to this blog.
    How to serialize IDoc XML messages fed into XI
    Messages of both idoc types upsmas and chrmas have the correct queue name in the ReliableMessaging section.
    The messages are processed via JDBC adapter.
    In the message monitoring the qualtiy of service and conversion id (queue name) is correct.
    Some time some messages overtake each other so that the sequenz number in message monitoring is incorrect, older message has a higher number than the newer message.
    for upsmas messages there is one more step during processing. These messages are splitted during receiver determination, 2 receiver are defined.
    The sender SAP system and the the database.
    Why do these messages overtake each other?
    Is there some kind of sequenz number in ABAP stack?
    could be the multiple receiver the reason for the wrong order of the messages?
    Hopefully you could give me some advice, I appreciate your help.
    Kind regards
    Jochen

    Hi guys,
    unfortunately this issue is not resolved yet and the error situation occurs again.
    According to your comments I think the message split in receiver determination could be the reason for the incorrect order of the messages.
    To clarify the situation I will describe the needed business case once more.
    During this scenario customer master data have to be tranfered form SAP ERP 6.0 to an MS SQL database.
    The main part of this data is transfered using different idoc types e.g. CHRMAS, KNOMAS, UPSMAS
    During the processing the order of messages have to be maintained, so I use the quality of service EOIO, which works fine so far.
    The UPSMAS is a special idoc in this scenario.
    It determines the end of a data package an triggers an stored procedure in the database. There fore it is created last in SAP ERP.
    But there is the requirement to get an receipt to the UPSMAS idoc. This receipt is used to update the transfering status int the SAP ERP.
    Therefore I added two receivers in the receiver determination for the UPSMAS idoc, one for the database to call the stored procedure and another one back to the sender SAP ERP to update the status. This receipt message is sent via ABAP proxy, in the execute method a funtion module is called to update the transfer status.
    As I said above the idocs are received in the correct order in SAP XI. But sometimes the order changes form apab to java stack for UPSMAS messages (the ones with two receivers)
    In sap help I found following statement according to idoc serialization
    http://help.sap.com/saphelp_nw70/helpdata/en/14/80243b4a66ae0ce10000000a11402f/frameset.htm
    >
    SAP Help
    > The sequence at the Integration Server inbound or outbound channel can only be guaranteed if only IDocs are processed, and not if different protocols (for example, IDocs and proxies) are processed together.
    >
    how could I meet the business case, but remain the order of the messages?
    I appreciate your help
    Kind regards
    Jochen

  • FILEIO message sequence counter reset after domain restart

    Hi,
    I have configured FileIO to pick message from RIB-RMS topic and create xml message. It is working fine.
    These xml message are pick by external system based on their sequence number in file name itself. like File name 'Items_ItemCre_100069945.775' having message number 775.
    After Domain bounce, counter is reset to 0, causing the duplicate message error as message is identified by its sequence number.
    Please let me know how can we avoid resetting the message counter?
    Thanks & Reagrds,
    Vinay

    Hi,
    Are the results from a same computer? (Run manually and ran that as required)
    Please make sure the instance of 'Win32_EncryptableVolume' exists on that drive. 
    Best Regards,
    Joyce Li
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • AQ to MQ Message Sequence Issue

    Hi,
    I am using Advanced queues on "Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bi".
    The Advanced Queue is created - next many message(s) are enqueued one-at-a-time in order - part of the code is shown below....
    LOOP
    -- Convert to XML
    msg_xml := XMLType.createXML(msg, NULL);
    -- Add message to the queue
    enqueue_options.VISIBILITY := DBMS_AQ.ON_COMMIT;
    enqueue_options.SEQUENCE_DEVIATION := null;
    msg_properties.EXPIRATION := DBMS_AQ.NEVER;
    DBMS_AQ.ENQUEUE ( queue_name => 'Q_EXPR_MSG_TXN',
    enqueue_options => enqueue_options,
    message_properties => msg_properties,
    payload => msg_xml,
    msgid => msg_handle);
    END LOOP;
    The AQ sends the messages to an MQ - the MQ end is reporting messages are arriving as a batch (not one-at-a-time as placed on the AQ) and out of sequence...
    I can understand why the AQ sends the messages across as a batch however is this possible to change to send across one message at-a-time...?
    Why are the messages arriving out of sequence ..? (is this to do with batching)
    Regards Ian

    The queue...
    OWNER     ID_FEED_OWNER
    NAME     Q_EXPR_MSG_TXN
    QUEUE_TABLE     QT_EXPR_MSG_TXN
    QID     131912
    QUEUE_TYPE     NORMAL_QUEUE
    MAX_RETRIES     5
    RETRY_DELAY     0
    ENQUEUE_ENABLED     YES
    DEQUEUE_ENABLED     YES
    RETENTION     0
    USER_COMMENT     (null)
    NETWORK_NAME     (null)
    CREATED     06-JAN-12
    LAST_DDL_TIME     02-FEB-12
    The queue table...
    OWNER     ID_FEED_OWNER
    QUEUE_TABLE     QT_EXPR_MSG_TXN
    TYPE     OBJECT
    OBJECT_TYPE     SYS.XMLTYPE
    SORT_ORDER     ENQUEUE_TIME
    RECIPIENTS     MULTIPLE
    MESSAGE_GROUPING     NONE
    COMPATIBLE     10.0.0
    PRIMARY_INSTANCE     0
    SECONDARY_INSTANCE     0
    OWNER_INSTANCE     1
    USER_COMMENT     (null)
    SECURE     NO
    CREATED     06-JAN-12
    LAST_DDL_TIME     06-JAN-12
    Not sure about the MQ version as its on our clients side - i'll try and find this out....
    Regards

  • Message Sequence in BDC

    Hi,
    Can anyone please tell me in what sequence will the messages be filled in the Messages Internal Table(i_messtab), after the statement
      CALL TRANSACTION c_tcode_cl20 USING i_bdcdata
                        MODE c_mode_n
                        UPDATE c_update_s
                        MESSAGES INTO i_messtab.
    Eg. if the messages produced are in the following sequence in the transaction.
    1. Information ('I') type message 1.
    2. Information ('I') type message 2.
    3. Warning ('W') type message 3.

    Hi Abishek,
    The messages internal table will be populated as you get messages on the actual screen transaction. They will appear in the sequence in which is gets triggered in a normal transaction. They are not organized themselves based on the type you will have to sort the table to get the sequence if you need a specific sequence.
    Hope this helps.
    Cheers
    VJ

  • Order message sequence change

    Hi experts,
    I have small problem with message orders ...
    Is there any possibility to set type of message from which of form we will print the order.
    I mean how we can set f.e. sequence of messages when order is generated ?
    Thanks and regards.

    Hi
    Your query is not clear, but from what i understood i can say yes we have certain print operations to determine the message that needs to be generated.
    in Configuration
    SPRO->IMG-> MM-> Purchasing -> Messages-> Output Control-> Message Types-> Define Message Types for Purchase Order-> Fine-Tuned Control: Purchase Order, you can miantin the settings
    Thanks & Regards
    Kishore

  • Relationship between message, sequence and queue

    Hello Colleagues,
    I am new to PI.
    I want to know the relationship between PI Message,Queue (bgrfc) and sequecne.
    In sxmb_moni i could see all these enteirs in technical view, but what I am not sure how sequnce and queue works exactly.
    Kindly explain or refer the related links.
    -Siva

    Hi,
    thanks for advice, now It works correct. But I have another problem with connection between comboboxes and planning sequences (functions). Do you know any way how to take the values of variables back to comboboxes. Its opposite way.
    For better understanding I execute planning sequnce and for this sequence I want to use reversible binding. I want to use in planning function (in planning sequence) one variable for characteristic "VERSION" and I want to copy from VERSION 1 to VERSION 2. So I have in combo for char. Version value 1 and I want to after execution of planning sequence change the value in combo to 2.  Do you have any experience?? This is typical for copy between versions.
    Thanks a lot.
    Best regard.
    Petr

  • JMS Message Sequencing

              Has any seen or figured out a way to track and/or sequence (keep the order of)
              JMS Messages placed on a distributed destination's target queues on each managed
              node? Seems like you can only do this with on dedicated queue but you lose clustering.
              Thanks
              Ryan
              

    Hi Ryan,
              Ordering is still preserved between a single instance of
              a queue sender and a queue consumer if "load balancing
              enabled" is set to false on the connection factory.
              My guess is you still need a way to ensure that subsequent
              instances of the same producer end up going back to the
              same physical destination. This can be accomplished by
              (1) hard coding the destination destination name
              - or -
              (2) taking advantage of the fact that the
              producer will connect to its local destination
              if producer, connection factory, and destination
              are all running on the same JVM.
              - or -
              (3) Giving each physical
              destination the same JNDI name, turn off
              "JNDINameReplicationEnabled" on each destination,
              and ensuring that the producer uses a JNDI
              context that is from the desired JVM to
              look up the physical destination JNDI name.
              Tom, BEA
              Ryan Richards wrote:
              > Has any seen or figured out a way to track and/or sequence (keep the order of)
              > JMS Messages placed on a distributed destination's target queues on each managed
              > node? Seems like you can only do this with on dedicated queue but you lose clustering.
              >
              > Thanks
              > Ryan
              

  • Implement message sequencing in OSB Weblogic 11g version 11.1.1.5.0

    Hi All,
    We have implemented a distributed jms queue from where a jms proxy service picks messages and delivers to the target system . We want to deliver messages in order i.e. FIFO way
    Auto Generate Unit of Order is enabled for this distributed queue .
    But the messages are getting delivered out of order to destination . Like if there are 5 messages received at 5 different timings in my queue and the delivery of messages to destination is completely unordered first message delivered at 3rd number , last at 1st number etc. .
    I want it to be First in First out way (FIFO) .
    Please help .
    Regards,
    Neeraj

    Hi All ,
    Our environment is a clustered one where all OSB proxy services are deployed .
    Regards,
    Neeraj

  • Messages in EOIO

    Hello ,
    I have seen the How to deal with stuck EOIO messages in the XI 3.0 Adapter Framework
    by Stefan
    About erroneous message in EOIO to be cancelled in order to process the remaining messages which are in struck state in the given queue...But if we do like this its against to the Concept of EOIO ....is it correct ?  and in prodcution environment , we cannot cancel the messages to send the remaining in EOIO....So how to handle this kind of issue.

    Hi Sunil!
    It depends on your concrete scenario. If you use EOIO to ensure sequence and not ensuring sequence will cause more problems than solutions in your business systems, just cancelling the message in error indeed is not the best solution!
    In some (I think rare) business case it may even be required to cancel all messages in the queue and then spending effort to send all these messages in the right order again.
    In other cases it may be sufficient to just delete the errornous message from the queue and then later try to resend it.
    In other cases it may be required not to delete all but a few really dependent messages from the queue and then spending effort to resend these few messages again in the right order.
    As you can see there is now general "golden rule". It tightly depends on your business scenario needs and dependencies.
    Hope this helps.
    Regards,
    Volker

  • EOIO Setting of JMS Sending Adaptor does not Guarantee Right Sequence

    Hi, Gurus:
    I have encountered a problem for JMS sender adaptor:
    The scenario is:
    External Apps --> JMS ---> XI ---> SAP R/3
    We need to ensure the messages put into the JMS queue being picked up in exact same sequence, therefore we choosed the setting of "EOIO".
    One particular scenario need to handle is that message sequence need to be insured when we activate adapter while there are already many messages inside the queue. However, we observed some chance that sequence of message is broken in such scenario.
    If there anyone has idea about it ?
    Thanks in advance, points will definitely grant to the helpful ideas
    Larry

    Hi Liang,
    Please have a look at the SAP Note mentioned below as well. It will be worth having  alook at them if  you have
    Take a look at this note:
    821268 - XI 3.0 Adapter Framework: Overview of available FAQ notes
    inside you'll find all available FAQ SAP notes.
    856346     FAQ: J2EE JMS Adapter: Frequently Asked Questions
    Regards
    Piyush
    Reward Some points if found usefull.

  • JMS Sender Adapter EOIO with different messages in Queue to RFC

    Dear Colleague,
    In one of my scenarios i am using JMS Sender Adapter and Websphere MQ series.
    In my MQ Series Queue i get different Messages with Different Structures.
    for e.g in my MQ Series Queue Q1 i have M1, M2, M3 coming in Order.
    Now i need to doa  Mapping of M1 to a Standard BAPI  B1 call through RFC at the reciever side.
    Now i need to doa  Mapping of M2 to a Standard BAPI B2 call through RFC at the reciever side.
    Now i need to doa  Mapping of M3 to a Standard BAPI B3 call through RFC at the reciever side.
    We are aware that on Receiver side we can have multiple Recievr Determinations.so i can send it to 3 different BAPIs.
    Question:
    But how do i split the Messges which are coming out of MQ series Q from JMS to 3 different Mapping Structures as we knwo that we do not 'Multiple Sender Interface Determinations' from Determined based on the Message which is coming in.
    Hope i have been clear in making myself understand about the problem given above.
    I have alos given below the same in a bit Graphical Form.
    MQ Series --> M3, M2, M1(Messages) --> JMS Adapte(EOIO) --> M1(Message) -> RFC -> B1(Bapi)
                                                             --> JMS Adapte(EOIO) --> M2(Message) -> RFC -> B2(Bapi)
                                                             --> JMS Adapte(EOIO) --> M3(Message) -> RFC -> B3(Bapi)
    Is it possible to achieve the above result. Answers fo the solution are most welcome. These can be also from the new Netweaver Release Versions. If we have the solution to these in New version we will implment the New Netweaver Releases.
    Thanks & Warm Regards
    Venugopal

    Dear Kai,
    if i have 3 MQ series Queues then how are we going to maintain the flow of the Messages in the same order in which has come into MQ series queues.
    this mesans to say that all the Message come in Parallel out from JMS or MQ side and will be mapped onto Reciever side.
    But in my case i wil need to have M1 first M2 second and M3 third.
    This means to say that M1 recived and acknowledged then M2 should come and acknowledged and then M3 should be acknowledged.
    How this will be possible with your solution of making 3 MQ series Queues.
    Please do let me know.
    Thanks
    Venugopal

Maybe you are looking for

  • Why do I continuously have pop-ups in new tabs in Safari?

    Hi everyone! I recently had a lot of my settings changed for Safari, due to my little brother's actions and I don't know why I'm suddenly getting all kinds of pop-ups... For example, whenever I click a link or right before I click a link, a new tab p

  • Adding a char to an array

    Hi I've got the following code to add a char to an array but I keep getting a runtime error and can't see what i'm doing wrong int x = 0; String RowR[] = {"", "", ""}; for (int i=0; i<co_ordinates.length(); i++) RowR[x] = RowR[x] + co_ordinates.charA

  • Can a Java Mapping be used on non-xml data

    I would like to use a java mapping to transform non-xml formatted data to an IDOC or XML format. 1) Does the input or output of a Java Map have to be XML. 2) If possible can the test feature be used to load and test a non-xml data file. 3) Any commen

  • RE: CRM or any component upgrade

    Hello all, recently we upgraded our CRM7.o to a new SP. after the upgrade i ran SU25 and completed all the steps. i haven't seen any major changes in our custom roles. so i changed some roles based on step 2c then regerated all the custom roles and c

  • Profit Center / Cost Center Distribution

    Hello, I'm trying to send Profit Centers / Cost Centers via IDoc.  I can create the master records with PRCMAS01 / COSMAS01, but I'm not sure how to do the assignment to a company code via IDoc.  Can anyone shed some light? Thanks, Harrison