cancel
Showing results for 
Search instead for 
Did you mean: 

Queing and Messaging Help

Former Member
0 Kudos

Hi All,

I am looking for any documentation help for Message Services.

Where and How to work with Queing Action Blocks.

Any information and Help is appreciated.

Kind Regards

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi,

I mean you are speaking about Message Action block under xMII XML Output.

You go through the help link:

http://help.sap.com/saphelp_xmii115/helpdata/en/index.htm

Thanks,

Manisha

Former Member
0 Kudos

Hi Rupesh,

One e.g for this:

Put something in your Queue:

Name: MyQueue

ID: 1234

Example:

- Use a ForNextLoop and use the Link Editor to fill the Queue with 5 entries.

- Use a Local XML Variable as Message and a Assignment to set the

Message text. So your Message will be:

"a Message with the ID " & For_Next_Loop_0.CurrentItem

- Put the Message and the ID in your Queue using the Link Editor

ID: 4700 + For_Next_Loop_0.CurrentItem

2. Replace something in your Queue:

Just refere to Queue-Name and Queue-ID to replace a Message with the

Queue-Put-Action.

3. Get one entry of your Queue:

Just refere to Queue-Name and Queue-ID to get the Message out of the Queue

with the Queue-Get-Action.

4. Get a List of entries from your Queue:

- Use the Queue-List-Action which will return a xMII-XML Structure with

DATE and ID.

- Use a Repeater to loop over the Output of Queue-List-Action.

- Use a Queue-Get-Action and assign the ID of the Repeater-Output to get the

Message for the ID.

5. Delete one Message in your Queue:

Use the Queue-Delete-Action to delete a Message with a specific ID from

your Queue.

6. Delete the whole Queue (or all Messages)

Use Queue-List-Action + Repeater to loop + Queue-Delete-Action

Thanks,

Manisha

Former Member
0 Kudos

Hi,

There are following Action blocks for Queing:

Queue Get, Queue Put , Queue List and Queue Delete

Get - Get value from Queue, FIFO

Put - Write a value to a Queue

List - Get a list of valid Queues

Delete - Remove Queue from operation, deletes all values contained in the Queue.

These action blocks simple write to an XML file and behave exactly the way you would expect them to.

Thanks,

Manisha

Former Member
0 Kudos

Thanks Manisha,

Can you put some more light on Messaging Services, How and where to use?

I did some trial and error with Queueing Action Blocks and have got what these are meant for .

Any help on Messaging Services is appreciated.

Regards

Former Member
0 Kudos

Hi,

In Messaging Services there are following action blocks:

1) Query Messages: This action is used to find remote function calls (RFC), IDocs, and Web service messages in the data buffer.

2) Read Message: This action is used to read the details of a remote function call (RFC), IDoc, or Web service message.

3) Update Message: This action is used to update a remote function call (RFC), IDoc, or Web service message.

4) Delete message: This action is used to delete a remote function call (RFC), IDoc, or Web service message.

For example, we can configure a transaction to:

- Query data from different plant systems

- Merge data into an XML document

- Send data to an ERP interface

- Send alerts based on thresholds

For more details you can go through the xMII help.

Thanks,

Manisha