Skip to Content

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

How to access Parent Message ID


I am having File – IDOC scenario and also we are having dynamic interface determination where base on some particular value in file we are generating two different IDOCs. The overall scenario is working fine.

Now in SXMB_moni I am getting one parent node and under that there are two sub nodes. Also for there are 3 different message ID (one for parent and 2 for sub node.) .

If we scroll sxmb_moni screen (<b>in alv grid</b>) there we are finding Message ID and Parent Message ID for sub node. I am able to access message id for subnode but <b>not able to access Parent Message ID</b>.

To access message ID, I am using following UDF.

String headerField="";

java.util.Map map;

// get constant map

map = container.getTransformationParameters();

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

return headerField;

I have already tried all Runtime Constants in <a href=""></a>

If anyone guide me to access Parent message id then it would be really great….



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