Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

xMII 12: Message Services - How to get the Received Time?

Dear all,

we are working with xMII 12 SP1 and have sent some Control Recipes from SAP to xMII. The messages are successfully queued. Using the Query Messages and Read Message action I can retrieve the message contents.

However, the action parameters do not return the receive / process time of the message that is displayed in the Message Monitor. Using the Query Messages action I can only set the selection datetime, but don't get back the datetime that belongs to a specific message.

Is there a way to get this datetime within a transaction?

Best regards

Michael

Former Member
replied

Michael,

The Read Message action should return two timestamps that match up with the html table you see on the Message Monitor page. The following are taken from a 12.0.1 build 75 system (my 12.0.2 system is not running right now - nightly build process I guess)

Query Action Sample Results:

<?xml version="1.0" encoding="utf-8"?>

<JCOMessageList>

<JCOMessage>

<MessageId>2</MessageId>

<JcoServerName>XMIIMESSAGELISTENER</JcoServerName>

<MessageName>JEREMY</MessageName>

<Category />

<MessageType>3</MessageType>

<Status>4</Status>

<DocNumber />

</JCOMessage>

</JCOMessageList>

Read Action Sample Results:

<?xml version="1.0" encoding="utf-8"?>

<JCOMessage>

<MessageId>2</MessageId>

<JcoServerName />

<MessageName>JEREMY</MessageName>

<Category />

<MessageType>3</MessageType>

<Status>4</Status>

<DocNumber />

<DocCount>0</DocCount>

<Function />

<PacketID>0</PacketID>

<b><ProcessingTimeStamp>2007-10-12 06:12:37.573</ProcessingTimeStamp>

<ReceivedTime>2007-10-12 06:12:34.73</ReceivedTime></b>

</JCOMessage>

Are you not seeing these two time fields?

Regards,

Jeremy

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question