Entering content frameProcedure documentation Guaranteeing the Sequence of Asynchronous Messages Locate the document in its SAP Library structure

Use

To ensure that asynchronous messages arrive at the receiver in the same sequence that they were sent, you can give the outbound proxy a String. All messages with the same string then arrive at the receiver in the sequence in which they were sent.

Note

At present there are no conventions for this string and so nothing can stop different components from using the same string.

Procedure

You also set the string using the controller object:

  1. Set the string using the controller object.
  2. * Serialization context to bundle asynchronous messages that shall be
    * received in the same order as sent

    data: queuid type prx_scnt.
    data: l_controller type ref to if_ai_posting_controller.

    * Create instance of controller
      l_controller = cl_ai_factory=>create_controller( ).

    queueid = 'PLM0000007_ORDER'.

    * set serialization context
        l_controller->set_serialization_context( queueid ).

  3. Transfer the controller object when you call your outbound proxy.

 

 

 

 

Leaving content frame