Skip to Content
author's profile photo Former Member
Former Member

Capture Message ID for (IDOC-XI-HTTP)

Hi! Thanks to some kind help last week, I can capture the message ID in my mapping via the following:

*******************code**********************

java.util.Map = container.getTransformationParameters();

String mid = (String) map.get ( StreamTransformationConstants.MESSAGE_ID);

return mid;

*********************end code******************

However, my scenario is IDOC->XI Multimap->File(s). In the case that the IDOCs are mapped into multiple files, each file has a unique reference associated with it. I can see these in the HopList as follows:

<Trace level="3" type="T">clone_MMF 453D478CFCF537B0E10000009B7D1E4D</Trace>

Does anyone know how I can capture this reference in the mapping?

Help is much appreciated and rewarded. Thx, Duncan

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Oct 25, 2006 at 02:43 AM

    Hi,

    Message ID can be captured while going in to

    IDX5 Trancation Code , where you give the Date and time when the IDOC is pushed...then you will get the squence of your data flow and in that you have a coloume header with the name MESSAGE ID...If you click that one you will have XML Message...

    Amaresh

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Bhavesh Kantilal

      Hi Bhavesh, We are using the Seeburger AS2 adapter and I am developing a solution whereby we update a custom table on the SAP application when the MDN is received from the trading partner. In the case of a 1:n IDOC to XML relationship, the reference in the MDN is clone message ID and not the parent message ID. So the only way to link back the MDN with the originating IDOC is via the clone ID. Thx, Duncan

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.